[go: up one dir, main page]

v1alpha2

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCRouteApplyConfiguration

type GRPCRouteApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *apisv1.GRPCRouteSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *apisv1.GRPCRouteStatusApplyConfiguration `json:"status,omitempty"`
}

GRPCRouteApplyConfiguration represents a declarative configuration of the GRPCRoute type for use with apply.

func ExtractGRPCRoute

func ExtractGRPCRoute(gRPCRoute *apisv1alpha2.GRPCRoute, fieldManager string) (*GRPCRouteApplyConfiguration, error)

ExtractGRPCRoute extracts the applied configuration owned by fieldManager from gRPCRoute. If no managedFields are found in gRPCRoute for fieldManager, a GRPCRouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. gRPCRoute must be a unmodified GRPCRoute API object that was retrieved from the Kubernetes API. ExtractGRPCRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractGRPCRouteStatus

func ExtractGRPCRouteStatus(gRPCRoute *apisv1alpha2.GRPCRoute, fieldManager string) (*GRPCRouteApplyConfiguration, error)

ExtractGRPCRouteStatus is the same as ExtractGRPCRoute except that it extracts the status subresource applied configuration. Experimental!

func GRPCRoute

func GRPCRoute(name, namespace string) *GRPCRouteApplyConfiguration

GRPCRoute constructs a declarative configuration of the GRPCRoute type for use with apply.

func (*GRPCRouteApplyConfiguration) GetName

func (b *GRPCRouteApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*GRPCRouteApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithAnnotations

func (b *GRPCRouteApplyConfiguration) WithAnnotations(entries map[string]string) *GRPCRouteApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*GRPCRouteApplyConfiguration) WithCreationTimestamp

func (b *GRPCRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GRPCRouteApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *GRPCRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GRPCRouteApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithDeletionTimestamp

func (b *GRPCRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GRPCRouteApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithFinalizers

func (b *GRPCRouteApplyConfiguration) WithFinalizers(values ...string) *GRPCRouteApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*GRPCRouteApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*GRPCRouteApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*GRPCRouteApplyConfiguration) WithResourceVersion

func (b *GRPCRouteApplyConfiguration) WithResourceVersion(value string) *GRPCRouteApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*GRPCRouteApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type LocalPolicyTargetReferenceApplyConfiguration

type LocalPolicyTargetReferenceApplyConfiguration struct {
	Group *v1.Group      `json:"group,omitempty"`
	Kind  *v1.Kind       `json:"kind,omitempty"`
	Name  *v1.ObjectName `json:"name,omitempty"`
}

LocalPolicyTargetReferenceApplyConfiguration represents a declarative configuration of the LocalPolicyTargetReference type for use with apply.

func LocalPolicyTargetReference

func LocalPolicyTargetReference() *LocalPolicyTargetReferenceApplyConfiguration

LocalPolicyTargetReferenceApplyConfiguration constructs a declarative configuration of the LocalPolicyTargetReference type for use with apply.

func (*LocalPolicyTargetReferenceApplyConfiguration) WithGroup

WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.

func (*LocalPolicyTargetReferenceApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*LocalPolicyTargetReferenceApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type LocalPolicyTargetReferenceWithSectionNameApplyConfiguration

type LocalPolicyTargetReferenceWithSectionNameApplyConfiguration struct {
	LocalPolicyTargetReferenceApplyConfiguration `json:",inline"`
	SectionName                                  *v1.SectionName `json:"sectionName,omitempty"`
}

LocalPolicyTargetReferenceWithSectionNameApplyConfiguration represents a declarative configuration of the LocalPolicyTargetReferenceWithSectionName type for use with apply.

func LocalPolicyTargetReferenceWithSectionName

func LocalPolicyTargetReferenceWithSectionName() *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration

LocalPolicyTargetReferenceWithSectionNameApplyConfiguration constructs a declarative configuration of the LocalPolicyTargetReferenceWithSectionName type for use with apply.

func (*LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithGroup

WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.

func (*LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithSectionName

WithSectionName sets the SectionName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SectionName field is set to the value of the last call.

type PolicyAncestorStatusApplyConfiguration

type PolicyAncestorStatusApplyConfiguration struct {
	AncestorRef    *v1.ParentReferenceApplyConfiguration `json:"ancestorRef,omitempty"`
	ControllerName *apisv1.GatewayController             `json:"controllerName,omitempty"`
	Conditions     []metav1.ConditionApplyConfiguration  `json:"conditions,omitempty"`
}

PolicyAncestorStatusApplyConfiguration represents a declarative configuration of the PolicyAncestorStatus type for use with apply.

func PolicyAncestorStatus

func PolicyAncestorStatus() *PolicyAncestorStatusApplyConfiguration

PolicyAncestorStatusApplyConfiguration constructs a declarative configuration of the PolicyAncestorStatus type for use with apply.

func (*PolicyAncestorStatusApplyConfiguration) WithAncestorRef

WithAncestorRef sets the AncestorRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AncestorRef field is set to the value of the last call.

func (*PolicyAncestorStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*PolicyAncestorStatusApplyConfiguration) WithControllerName

WithControllerName sets the ControllerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControllerName field is set to the value of the last call.

type PolicyStatusApplyConfiguration

type PolicyStatusApplyConfiguration struct {
	Ancestors []PolicyAncestorStatusApplyConfiguration `json:"ancestors,omitempty"`
}

PolicyStatusApplyConfiguration represents a declarative configuration of the PolicyStatus type for use with apply.

func PolicyStatus

func PolicyStatus() *PolicyStatusApplyConfiguration

PolicyStatusApplyConfiguration constructs a declarative configuration of the PolicyStatus type for use with apply.

func (*PolicyStatusApplyConfiguration) WithAncestors

WithAncestors adds the given value to the Ancestors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ancestors field.

type ReferenceGrantApplyConfiguration

type ReferenceGrantApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1beta1.ReferenceGrantSpecApplyConfiguration `json:"spec,omitempty"`
}

ReferenceGrantApplyConfiguration represents a declarative configuration of the ReferenceGrant type for use with apply.

func ExtractReferenceGrant

func ExtractReferenceGrant(referenceGrant *apisv1alpha2.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)

ExtractReferenceGrant extracts the applied configuration owned by fieldManager from referenceGrant. If no managedFields are found in referenceGrant for fieldManager, a ReferenceGrantApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. referenceGrant must be a unmodified ReferenceGrant API object that was retrieved from the Kubernetes API. ExtractReferenceGrant provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractReferenceGrantStatus

func ExtractReferenceGrantStatus(referenceGrant *apisv1alpha2.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)

ExtractReferenceGrantStatus is the same as ExtractReferenceGrant except that it extracts the status subresource applied configuration. Experimental!

func ReferenceGrant

func ReferenceGrant(name, namespace string) *ReferenceGrantApplyConfiguration

ReferenceGrant constructs a declarative configuration of the ReferenceGrant type for use with apply.

func (*ReferenceGrantApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ReferenceGrantApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ReferenceGrantApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReferenceGrantApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ReferenceGrantApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ReferenceGrantApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ReferenceGrantApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ReferenceGrantApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type TCPRouteApplyConfiguration

type TCPRouteApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TCPRouteSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *TCPRouteStatusApplyConfiguration `json:"status,omitempty"`
}

TCPRouteApplyConfiguration represents a declarative configuration of the TCPRoute type for use with apply.

func ExtractTCPRoute

func ExtractTCPRoute(tCPRoute *apisv1alpha2.TCPRoute, fieldManager string) (*TCPRouteApplyConfiguration, error)

ExtractTCPRoute extracts the applied configuration owned by fieldManager from tCPRoute. If no managedFields are found in tCPRoute for fieldManager, a TCPRouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. tCPRoute must be a unmodified TCPRoute API object that was retrieved from the Kubernetes API. ExtractTCPRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractTCPRouteStatus

func ExtractTCPRouteStatus(tCPRoute *apisv1alpha2.TCPRoute, fieldManager string) (*TCPRouteApplyConfiguration, error)

ExtractTCPRouteStatus is the same as ExtractTCPRoute except that it extracts the status subresource applied configuration. Experimental!

func TCPRoute

func TCPRoute(name, namespace string) *TCPRouteApplyConfiguration

TCPRoute constructs a declarative configuration of the TCPRoute type for use with apply.

func (*TCPRouteApplyConfiguration) GetName

func (b *TCPRouteApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*TCPRouteApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithAnnotations

func (b *TCPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *TCPRouteApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*TCPRouteApplyConfiguration) WithCreationTimestamp

func (b *TCPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TCPRouteApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *TCPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TCPRouteApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithDeletionTimestamp

func (b *TCPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TCPRouteApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithFinalizers

func (b *TCPRouteApplyConfiguration) WithFinalizers(values ...string) *TCPRouteApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*TCPRouteApplyConfiguration) WithGenerateName

func (b *TCPRouteApplyConfiguration) WithGenerateName(value string) *TCPRouteApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*TCPRouteApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*TCPRouteApplyConfiguration) WithResourceVersion

func (b *TCPRouteApplyConfiguration) WithResourceVersion(value string) *TCPRouteApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*TCPRouteApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type TCPRouteRuleApplyConfiguration

type TCPRouteRuleApplyConfiguration struct {
	Name        *v1.SectionName                       `json:"name,omitempty"`
	BackendRefs []apisv1.BackendRefApplyConfiguration `json:"backendRefs,omitempty"`
}

TCPRouteRuleApplyConfiguration represents a declarative configuration of the TCPRouteRule type for use with apply.

func TCPRouteRule

func TCPRouteRule() *TCPRouteRuleApplyConfiguration

TCPRouteRuleApplyConfiguration constructs a declarative configuration of the TCPRouteRule type for use with apply.

func (*TCPRouteRuleApplyConfiguration) WithBackendRefs

WithBackendRefs adds the given value to the BackendRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BackendRefs field.

func (*TCPRouteRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type TCPRouteSpecApplyConfiguration

type TCPRouteSpecApplyConfiguration struct {
	v1.CommonRouteSpecApplyConfiguration `json:",inline"`
	Rules                                []TCPRouteRuleApplyConfiguration `json:"rules,omitempty"`
}

TCPRouteSpecApplyConfiguration represents a declarative configuration of the TCPRouteSpec type for use with apply.

func TCPRouteSpec

func TCPRouteSpec() *TCPRouteSpecApplyConfiguration

TCPRouteSpecApplyConfiguration constructs a declarative configuration of the TCPRouteSpec type for use with apply.

func (*TCPRouteSpecApplyConfiguration) WithParentRefs

WithParentRefs adds the given value to the ParentRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ParentRefs field.

func (*TCPRouteSpecApplyConfiguration) WithRules

WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.

type TCPRouteStatusApplyConfiguration

type TCPRouteStatusApplyConfiguration struct {
	v1.RouteStatusApplyConfiguration `json:",inline"`
}

TCPRouteStatusApplyConfiguration represents a declarative configuration of the TCPRouteStatus type for use with apply.

func TCPRouteStatus

func TCPRouteStatus() *TCPRouteStatusApplyConfiguration

TCPRouteStatusApplyConfiguration constructs a declarative configuration of the TCPRouteStatus type for use with apply.

func (*TCPRouteStatusApplyConfiguration) WithParents

WithParents adds the given value to the Parents field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Parents field.

type TLSRouteApplyConfiguration

type TLSRouteApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TLSRouteSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *TLSRouteStatusApplyConfiguration `json:"status,omitempty"`
}

TLSRouteApplyConfiguration represents a declarative configuration of the TLSRoute type for use with apply.

func ExtractTLSRoute

func ExtractTLSRoute(tLSRoute *apisv1alpha2.TLSRoute, fieldManager string) (*TLSRouteApplyConfiguration, error)

ExtractTLSRoute extracts the applied configuration owned by fieldManager from tLSRoute. If no managedFields are found in tLSRoute for fieldManager, a TLSRouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. tLSRoute must be a unmodified TLSRoute API object that was retrieved from the Kubernetes API. ExtractTLSRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractTLSRouteStatus

func ExtractTLSRouteStatus(tLSRoute *apisv1alpha2.TLSRoute, fieldManager string) (*TLSRouteApplyConfiguration, error)

ExtractTLSRouteStatus is the same as ExtractTLSRoute except that it extracts the status subresource applied configuration. Experimental!

func TLSRoute

func TLSRoute(name, namespace string) *TLSRouteApplyConfiguration

TLSRoute constructs a declarative configuration of the TLSRoute type for use with apply.

func (*TLSRouteApplyConfiguration) GetName

func (b *TLSRouteApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*TLSRouteApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithAnnotations

func (b *TLSRouteApplyConfiguration) WithAnnotations(entries map[string]string) *TLSRouteApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*TLSRouteApplyConfiguration) WithCreationTimestamp

func (b *TLSRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TLSRouteApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *TLSRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TLSRouteApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithDeletionTimestamp

func (b *TLSRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TLSRouteApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithFinalizers

func (b *TLSRouteApplyConfiguration) WithFinalizers(values ...string) *TLSRouteApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*TLSRouteApplyConfiguration) WithGenerateName

func (b *TLSRouteApplyConfiguration) WithGenerateName(value string) *TLSRouteApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*TLSRouteApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*TLSRouteApplyConfiguration) WithResourceVersion

func (b *TLSRouteApplyConfiguration) WithResourceVersion(value string) *TLSRouteApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*TLSRouteApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type TLSRouteRuleApplyConfiguration

type TLSRouteRuleApplyConfiguration struct {
	Name        *v1.SectionName                       `json:"name,omitempty"`
	BackendRefs []apisv1.BackendRefApplyConfiguration `json:"backendRefs,omitempty"`
}

TLSRouteRuleApplyConfiguration represents a declarative configuration of the TLSRouteRule type for use with apply.

func TLSRouteRule

func TLSRouteRule() *TLSRouteRuleApplyConfiguration

TLSRouteRuleApplyConfiguration constructs a declarative configuration of the TLSRouteRule type for use with apply.

func (*TLSRouteRuleApplyConfiguration) WithBackendRefs

WithBackendRefs adds the given value to the BackendRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BackendRefs field.

func (*TLSRouteRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type TLSRouteSpecApplyConfiguration

type TLSRouteSpecApplyConfiguration struct {
	v1.CommonRouteSpecApplyConfiguration `json:",inline"`
	Hostnames                            []apisv1.Hostname                `json:"hostnames,omitempty"`
	Rules                                []TLSRouteRuleApplyConfiguration `json:"rules,omitempty"`
}

TLSRouteSpecApplyConfiguration represents a declarative configuration of the TLSRouteSpec type for use with apply.

func TLSRouteSpec

func TLSRouteSpec() *TLSRouteSpecApplyConfiguration

TLSRouteSpecApplyConfiguration constructs a declarative configuration of the TLSRouteSpec type for use with apply.

func (*TLSRouteSpecApplyConfiguration) WithHostnames

WithHostnames adds the given value to the Hostnames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Hostnames field.

func (*TLSRouteSpecApplyConfiguration) WithParentRefs

WithParentRefs adds the given value to the ParentRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ParentRefs field.

func (*TLSRouteSpecApplyConfiguration) WithRules

WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.

type TLSRouteStatusApplyConfiguration

type TLSRouteStatusApplyConfiguration struct {
	v1.RouteStatusApplyConfiguration `json:",inline"`
}

TLSRouteStatusApplyConfiguration represents a declarative configuration of the TLSRouteStatus type for use with apply.

func TLSRouteStatus

func TLSRouteStatus() *TLSRouteStatusApplyConfiguration

TLSRouteStatusApplyConfiguration constructs a declarative configuration of the TLSRouteStatus type for use with apply.

func (*TLSRouteStatusApplyConfiguration) WithParents

WithParents adds the given value to the Parents field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Parents field.

type UDPRouteApplyConfiguration

type UDPRouteApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *UDPRouteSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *UDPRouteStatusApplyConfiguration `json:"status,omitempty"`
}

UDPRouteApplyConfiguration represents a declarative configuration of the UDPRoute type for use with apply.

func ExtractUDPRoute

func ExtractUDPRoute(uDPRoute *apisv1alpha2.UDPRoute, fieldManager string) (*UDPRouteApplyConfiguration, error)

ExtractUDPRoute extracts the applied configuration owned by fieldManager from uDPRoute. If no managedFields are found in uDPRoute for fieldManager, a UDPRouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. uDPRoute must be a unmodified UDPRoute API object that was retrieved from the Kubernetes API. ExtractUDPRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractUDPRouteStatus

func ExtractUDPRouteStatus(uDPRoute *apisv1alpha2.UDPRoute, fieldManager string) (*UDPRouteApplyConfiguration, error)

ExtractUDPRouteStatus is the same as ExtractUDPRoute except that it extracts the status subresource applied configuration. Experimental!

func UDPRoute

func UDPRoute(name, namespace string) *UDPRouteApplyConfiguration

UDPRoute constructs a declarative configuration of the UDPRoute type for use with apply.

func (*UDPRouteApplyConfiguration) GetName

func (b *UDPRouteApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*UDPRouteApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithAnnotations

func (b *UDPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *UDPRouteApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*UDPRouteApplyConfiguration) WithCreationTimestamp

func (b *UDPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *UDPRouteApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *UDPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UDPRouteApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithDeletionTimestamp

func (b *UDPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *UDPRouteApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithFinalizers

func (b *UDPRouteApplyConfiguration) WithFinalizers(values ...string) *UDPRouteApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*UDPRouteApplyConfiguration) WithGenerateName

func (b *UDPRouteApplyConfiguration) WithGenerateName(value string) *UDPRouteApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*UDPRouteApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*UDPRouteApplyConfiguration) WithResourceVersion

func (b *UDPRouteApplyConfiguration) WithResourceVersion(value string) *UDPRouteApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*UDPRouteApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type UDPRouteRuleApplyConfiguration

type UDPRouteRuleApplyConfiguration struct {
	Name        *v1.SectionName                       `json:"name,omitempty"`
	BackendRefs []apisv1.BackendRefApplyConfiguration `json:"backendRefs,omitempty"`
}

UDPRouteRuleApplyConfiguration represents a declarative configuration of the UDPRouteRule type for use with apply.

func UDPRouteRule

func UDPRouteRule() *UDPRouteRuleApplyConfiguration

UDPRouteRuleApplyConfiguration constructs a declarative configuration of the UDPRouteRule type for use with apply.

func (*UDPRouteRuleApplyConfiguration) WithBackendRefs

WithBackendRefs adds the given value to the BackendRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BackendRefs field.

func (*UDPRouteRuleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type UDPRouteSpecApplyConfiguration

type UDPRouteSpecApplyConfiguration struct {
	v1.CommonRouteSpecApplyConfiguration `json:",inline"`
	Rules                                []UDPRouteRuleApplyConfiguration `json:"rules,omitempty"`
}

UDPRouteSpecApplyConfiguration represents a declarative configuration of the UDPRouteSpec type for use with apply.

func UDPRouteSpec

func UDPRouteSpec() *UDPRouteSpecApplyConfiguration

UDPRouteSpecApplyConfiguration constructs a declarative configuration of the UDPRouteSpec type for use with apply.

func (*UDPRouteSpecApplyConfiguration) WithParentRefs

WithParentRefs adds the given value to the ParentRefs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ParentRefs field.

func (*UDPRouteSpecApplyConfiguration) WithRules

WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.

type UDPRouteStatusApplyConfiguration

type UDPRouteStatusApplyConfiguration struct {
	v1.RouteStatusApplyConfiguration `json:",inline"`
}

UDPRouteStatusApplyConfiguration represents a declarative configuration of the UDPRouteStatus type for use with apply.

func UDPRouteStatus

func UDPRouteStatus() *UDPRouteStatusApplyConfiguration

UDPRouteStatusApplyConfiguration constructs a declarative configuration of the UDPRouteStatus type for use with apply.

func (*UDPRouteStatusApplyConfiguration) WithParents

WithParents adds the given value to the Parents field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Parents field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL