Documentation
¶
Index ¶
- type GRPCRouteApplyConfiguration
- func ExtractGRPCRoute(gRPCRoute *apisv1alpha2.GRPCRoute, fieldManager string) (*GRPCRouteApplyConfiguration, error)
- func ExtractGRPCRouteStatus(gRPCRoute *apisv1alpha2.GRPCRoute, fieldManager string) (*GRPCRouteApplyConfiguration, error)
- func GRPCRoute(name, namespace string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) GetName() *string
- func (b *GRPCRouteApplyConfiguration) WithAPIVersion(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithAnnotations(entries map[string]string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithFinalizers(values ...string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithGenerateName(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithGeneration(value int64) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithKind(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithLabels(entries map[string]string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithName(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithNamespace(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithResourceVersion(value string) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithSpec(value *apisv1.GRPCRouteSpecApplyConfiguration) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithStatus(value *apisv1.GRPCRouteStatusApplyConfiguration) *GRPCRouteApplyConfiguration
- func (b *GRPCRouteApplyConfiguration) WithUID(value types.UID) *GRPCRouteApplyConfiguration
- type LocalPolicyTargetReferenceApplyConfiguration
- func (b *LocalPolicyTargetReferenceApplyConfiguration) WithGroup(value v1.Group) *LocalPolicyTargetReferenceApplyConfiguration
- func (b *LocalPolicyTargetReferenceApplyConfiguration) WithKind(value v1.Kind) *LocalPolicyTargetReferenceApplyConfiguration
- func (b *LocalPolicyTargetReferenceApplyConfiguration) WithName(value v1.ObjectName) *LocalPolicyTargetReferenceApplyConfiguration
- type LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
- func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithGroup(value v1.Group) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
- func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithKind(value v1.Kind) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
- func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithName(value v1.ObjectName) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
- func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithSectionName(value v1.SectionName) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
- type PolicyAncestorStatusApplyConfiguration
- func (b *PolicyAncestorStatusApplyConfiguration) WithAncestorRef(value *v1.ParentReferenceApplyConfiguration) *PolicyAncestorStatusApplyConfiguration
- func (b *PolicyAncestorStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *PolicyAncestorStatusApplyConfiguration
- func (b *PolicyAncestorStatusApplyConfiguration) WithControllerName(value apisv1.GatewayController) *PolicyAncestorStatusApplyConfiguration
- type PolicyStatusApplyConfiguration
- type ReferenceGrantApplyConfiguration
- func ExtractReferenceGrant(referenceGrant *apisv1alpha2.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
- func ExtractReferenceGrantStatus(referenceGrant *apisv1alpha2.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
- func ReferenceGrant(name, namespace string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) GetName() *string
- func (b *ReferenceGrantApplyConfiguration) WithAPIVersion(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithAnnotations(entries map[string]string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithFinalizers(values ...string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithGenerateName(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithGeneration(value int64) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithKind(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithLabels(entries map[string]string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithName(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithNamespace(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithResourceVersion(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithSpec(value *v1beta1.ReferenceGrantSpecApplyConfiguration) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithUID(value types.UID) *ReferenceGrantApplyConfiguration
- type TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) GetName() *string
- func (b *TCPRouteApplyConfiguration) WithAPIVersion(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithFinalizers(values ...string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithGenerateName(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithGeneration(value int64) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithKind(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithLabels(entries map[string]string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithName(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithNamespace(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithResourceVersion(value string) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithSpec(value *TCPRouteSpecApplyConfiguration) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithStatus(value *TCPRouteStatusApplyConfiguration) *TCPRouteApplyConfiguration
- func (b *TCPRouteApplyConfiguration) WithUID(value types.UID) *TCPRouteApplyConfiguration
- type TCPRouteRuleApplyConfiguration
- type TCPRouteSpecApplyConfiguration
- type TCPRouteStatusApplyConfiguration
- type TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) GetName() *string
- func (b *TLSRouteApplyConfiguration) WithAPIVersion(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithAnnotations(entries map[string]string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithFinalizers(values ...string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithGenerateName(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithGeneration(value int64) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithKind(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithLabels(entries map[string]string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithName(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithNamespace(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithResourceVersion(value string) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithSpec(value *TLSRouteSpecApplyConfiguration) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithStatus(value *TLSRouteStatusApplyConfiguration) *TLSRouteApplyConfiguration
- func (b *TLSRouteApplyConfiguration) WithUID(value types.UID) *TLSRouteApplyConfiguration
- type TLSRouteRuleApplyConfiguration
- type TLSRouteSpecApplyConfiguration
- func (b *TLSRouteSpecApplyConfiguration) WithHostnames(values ...apisv1.Hostname) *TLSRouteSpecApplyConfiguration
- func (b *TLSRouteSpecApplyConfiguration) WithParentRefs(values ...*v1.ParentReferenceApplyConfiguration) *TLSRouteSpecApplyConfiguration
- func (b *TLSRouteSpecApplyConfiguration) WithRules(values ...*TLSRouteRuleApplyConfiguration) *TLSRouteSpecApplyConfiguration
- type TLSRouteStatusApplyConfiguration
- type UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) GetName() *string
- func (b *UDPRouteApplyConfiguration) WithAPIVersion(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithFinalizers(values ...string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithGenerateName(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithGeneration(value int64) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithKind(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithLabels(entries map[string]string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithName(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithNamespace(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithResourceVersion(value string) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithSpec(value *UDPRouteSpecApplyConfiguration) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithStatus(value *UDPRouteStatusApplyConfiguration) *UDPRouteApplyConfiguration
- func (b *UDPRouteApplyConfiguration) WithUID(value types.UID) *UDPRouteApplyConfiguration
- type UDPRouteRuleApplyConfiguration
- type UDPRouteSpecApplyConfiguration
- type UDPRouteStatusApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithAPIVersion(value string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithGenerateName(value string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithGeneration(value int64) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithKind(value string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithLabels(entries map[string]string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithName(value string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithNamespace(value string) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithSpec(value *apisv1.GRPCRouteSpecApplyConfiguration) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithStatus(value *apisv1.GRPCRouteStatusApplyConfiguration) *GRPCRouteApplyConfiguration
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 ¶
func (b *GRPCRouteApplyConfiguration) WithUID(value types.UID) *GRPCRouteApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceApplyConfiguration) WithGroup(value v1.Group) *LocalPolicyTargetReferenceApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceApplyConfiguration) WithKind(value v1.Kind) *LocalPolicyTargetReferenceApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceApplyConfiguration) WithName(value v1.ObjectName) *LocalPolicyTargetReferenceApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithGroup(value v1.Group) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithKind(value v1.Kind) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithName(value v1.ObjectName) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
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 ¶
func (b *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration) WithSectionName(value v1.SectionName) *LocalPolicyTargetReferenceWithSectionNameApplyConfiguration
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 ¶
func (b *PolicyAncestorStatusApplyConfiguration) WithAncestorRef(value *v1.ParentReferenceApplyConfiguration) *PolicyAncestorStatusApplyConfiguration
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 ¶
func (b *PolicyAncestorStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *PolicyAncestorStatusApplyConfiguration
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 ¶
func (b *PolicyAncestorStatusApplyConfiguration) WithControllerName(value apisv1.GatewayController) *PolicyAncestorStatusApplyConfiguration
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 ¶
func (b *PolicyStatusApplyConfiguration) WithAncestors(values ...*PolicyAncestorStatusApplyConfiguration) *PolicyStatusApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ReferenceGrantApplyConfiguration) WithAPIVersion ¶
func (b *ReferenceGrantApplyConfiguration) WithAPIVersion(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithAnnotations(entries map[string]string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithFinalizers(values ...string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithGenerateName(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithGeneration(value int64) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithKind(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithLabels(entries map[string]string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithName(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithNamespace(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithResourceVersion(value string) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithSpec(value *v1beta1.ReferenceGrantSpecApplyConfiguration) *ReferenceGrantApplyConfiguration
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 ¶
func (b *ReferenceGrantApplyConfiguration) WithUID(value types.UID) *ReferenceGrantApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithAPIVersion(value string) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithGeneration(value int64) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithKind(value string) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithLabels(entries map[string]string) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithName(value string) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithNamespace(value string) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithSpec(value *TCPRouteSpecApplyConfiguration) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithStatus(value *TCPRouteStatusApplyConfiguration) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteApplyConfiguration) WithUID(value types.UID) *TCPRouteApplyConfiguration
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 ¶
func (b *TCPRouteRuleApplyConfiguration) WithBackendRefs(values ...*apisv1.BackendRefApplyConfiguration) *TCPRouteRuleApplyConfiguration
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 ¶
func (b *TCPRouteRuleApplyConfiguration) WithName(value v1.SectionName) *TCPRouteRuleApplyConfiguration
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 ¶
func (b *TCPRouteSpecApplyConfiguration) WithParentRefs(values ...*v1.ParentReferenceApplyConfiguration) *TCPRouteSpecApplyConfiguration
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 ¶
func (b *TCPRouteSpecApplyConfiguration) WithRules(values ...*TCPRouteRuleApplyConfiguration) *TCPRouteSpecApplyConfiguration
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 ¶
func (b *TCPRouteStatusApplyConfiguration) WithParents(values ...*v1.RouteParentStatusApplyConfiguration) *TCPRouteStatusApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithAPIVersion(value string) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithGeneration(value int64) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithKind(value string) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithLabels(entries map[string]string) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithName(value string) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithNamespace(value string) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithSpec(value *TLSRouteSpecApplyConfiguration) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithStatus(value *TLSRouteStatusApplyConfiguration) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteApplyConfiguration) WithUID(value types.UID) *TLSRouteApplyConfiguration
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 ¶
func (b *TLSRouteRuleApplyConfiguration) WithBackendRefs(values ...*apisv1.BackendRefApplyConfiguration) *TLSRouteRuleApplyConfiguration
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 ¶
func (b *TLSRouteRuleApplyConfiguration) WithName(value v1.SectionName) *TLSRouteRuleApplyConfiguration
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 ¶
func (b *TLSRouteSpecApplyConfiguration) WithHostnames(values ...apisv1.Hostname) *TLSRouteSpecApplyConfiguration
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 ¶
func (b *TLSRouteSpecApplyConfiguration) WithParentRefs(values ...*v1.ParentReferenceApplyConfiguration) *TLSRouteSpecApplyConfiguration
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 ¶
func (b *TLSRouteSpecApplyConfiguration) WithRules(values ...*TLSRouteRuleApplyConfiguration) *TLSRouteSpecApplyConfiguration
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 ¶
func (b *TLSRouteStatusApplyConfiguration) WithParents(values ...*v1.RouteParentStatusApplyConfiguration) *TLSRouteStatusApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithAPIVersion(value string) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithGeneration(value int64) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithKind(value string) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithLabels(entries map[string]string) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithName(value string) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithNamespace(value string) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithSpec(value *UDPRouteSpecApplyConfiguration) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithStatus(value *UDPRouteStatusApplyConfiguration) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteApplyConfiguration) WithUID(value types.UID) *UDPRouteApplyConfiguration
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 ¶
func (b *UDPRouteRuleApplyConfiguration) WithBackendRefs(values ...*apisv1.BackendRefApplyConfiguration) *UDPRouteRuleApplyConfiguration
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 ¶
func (b *UDPRouteRuleApplyConfiguration) WithName(value v1.SectionName) *UDPRouteRuleApplyConfiguration
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 ¶
func (b *UDPRouteSpecApplyConfiguration) WithParentRefs(values ...*v1.ParentReferenceApplyConfiguration) *UDPRouteSpecApplyConfiguration
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 ¶
func (b *UDPRouteSpecApplyConfiguration) WithRules(values ...*UDPRouteRuleApplyConfiguration) *UDPRouteSpecApplyConfiguration
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 ¶
func (b *UDPRouteStatusApplyConfiguration) WithParents(values ...*v1.RouteParentStatusApplyConfiguration) *UDPRouteStatusApplyConfiguration
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.
Source Files
¶
- grpcroute.go
- localpolicytargetreference.go
- localpolicytargetreferencewithsectionname.go
- policyancestorstatus.go
- policystatus.go
- referencegrant.go
- tcproute.go
- tcprouterule.go
- tcproutespec.go
- tcproutestatus.go
- tlsroute.go
- tlsrouterule.go
- tlsroutespec.go
- tlsroutestatus.go
- udproute.go
- udprouterule.go
- udproutespec.go
- udproutestatus.go