[go: up one dir, main page]

v1alpha1

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendTrafficPolicySpecApplyConfiguration

type BackendTrafficPolicySpecApplyConfiguration struct {
	TargetRefs         []v1alpha2.LocalPolicyTargetReferenceApplyConfiguration `json:"targetRefs,omitempty"`
	RetryConstraint    *RetryConstraintApplyConfiguration                      `json:"retryConstraint,omitempty"`
	SessionPersistence *v1.SessionPersistenceApplyConfiguration                `json:"sessionPersistence,omitempty"`
}

BackendTrafficPolicySpecApplyConfiguration represents a declarative configuration of the BackendTrafficPolicySpec type for use with apply.

func BackendTrafficPolicySpec

func BackendTrafficPolicySpec() *BackendTrafficPolicySpecApplyConfiguration

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

func (*BackendTrafficPolicySpecApplyConfiguration) WithRetryConstraint

WithRetryConstraint sets the RetryConstraint 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 RetryConstraint field is set to the value of the last call.

func (*BackendTrafficPolicySpecApplyConfiguration) WithSessionPersistence

WithSessionPersistence sets the SessionPersistence 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 SessionPersistence field is set to the value of the last call.

func (*BackendTrafficPolicySpecApplyConfiguration) WithTargetRefs

WithTargetRefs adds the given value to the TargetRefs 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 TargetRefs field.

type BudgetDetailsApplyConfiguration

type BudgetDetailsApplyConfiguration struct {
	Percent  *int         `json:"percent,omitempty"`
	Interval *v1.Duration `json:"interval,omitempty"`
}

BudgetDetailsApplyConfiguration represents a declarative configuration of the BudgetDetails type for use with apply.

func BudgetDetails

func BudgetDetails() *BudgetDetailsApplyConfiguration

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

func (*BudgetDetailsApplyConfiguration) WithInterval

WithInterval sets the Interval 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 Interval field is set to the value of the last call.

func (*BudgetDetailsApplyConfiguration) WithPercent

WithPercent sets the Percent 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 Percent field is set to the value of the last call.

type ListenerEntryApplyConfiguration

type ListenerEntryApplyConfiguration struct {
	Name          *v1.SectionName                            `json:"name,omitempty"`
	Hostname      *v1.Hostname                               `json:"hostname,omitempty"`
	Port          *v1.PortNumber                             `json:"port,omitempty"`
	Protocol      *v1.ProtocolType                           `json:"protocol,omitempty"`
	TLS           *apisv1.GatewayTLSConfigApplyConfiguration `json:"tls,omitempty"`
	AllowedRoutes *apisv1.AllowedRoutesApplyConfiguration    `json:"allowedRoutes,omitempty"`
}

ListenerEntryApplyConfiguration represents a declarative configuration of the ListenerEntry type for use with apply.

func ListenerEntry

func ListenerEntry() *ListenerEntryApplyConfiguration

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

func (*ListenerEntryApplyConfiguration) WithAllowedRoutes

WithAllowedRoutes sets the AllowedRoutes 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 AllowedRoutes field is set to the value of the last call.

func (*ListenerEntryApplyConfiguration) WithHostname

WithHostname sets the Hostname 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 Hostname field is set to the value of the last call.

func (*ListenerEntryApplyConfiguration) 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 (*ListenerEntryApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

func (*ListenerEntryApplyConfiguration) WithProtocol

WithProtocol sets the Protocol 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 Protocol field is set to the value of the last call.

func (*ListenerEntryApplyConfiguration) WithTLS

WithTLS sets the TLS 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 TLS field is set to the value of the last call.

type ListenerEntryStatusApplyConfiguration

type ListenerEntryStatusApplyConfiguration struct {
	Name           *v1.SectionName                           `json:"name,omitempty"`
	Port           *v1.PortNumber                            `json:"port,omitempty"`
	SupportedKinds []apisv1.RouteGroupKindApplyConfiguration `json:"supportedKinds,omitempty"`
	AttachedRoutes *int32                                    `json:"attachedRoutes,omitempty"`
	Conditions     []metav1.ConditionApplyConfiguration      `json:"conditions,omitempty"`
}

ListenerEntryStatusApplyConfiguration represents a declarative configuration of the ListenerEntryStatus type for use with apply.

func ListenerEntryStatus

func ListenerEntryStatus() *ListenerEntryStatusApplyConfiguration

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

func (*ListenerEntryStatusApplyConfiguration) WithAttachedRoutes

WithAttachedRoutes sets the AttachedRoutes 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 AttachedRoutes field is set to the value of the last call.

func (*ListenerEntryStatusApplyConfiguration) 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 (*ListenerEntryStatusApplyConfiguration) 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 (*ListenerEntryStatusApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

func (*ListenerEntryStatusApplyConfiguration) WithSupportedKinds

WithSupportedKinds adds the given value to the SupportedKinds 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 SupportedKinds field.

type ListenerSetSpecApplyConfiguration

type ListenerSetSpecApplyConfiguration struct {
	ParentRef *ParentGatewayReferenceApplyConfiguration `json:"parentRef,omitempty"`
	Listeners []ListenerEntryApplyConfiguration         `json:"listeners,omitempty"`
}

ListenerSetSpecApplyConfiguration represents a declarative configuration of the ListenerSetSpec type for use with apply.

func ListenerSetSpec

func ListenerSetSpec() *ListenerSetSpecApplyConfiguration

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

func (*ListenerSetSpecApplyConfiguration) WithListeners

WithListeners adds the given value to the Listeners 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 Listeners field.

func (*ListenerSetSpecApplyConfiguration) WithParentRef

WithParentRef sets the ParentRef 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 ParentRef field is set to the value of the last call.

type ListenerSetStatusApplyConfiguration

type ListenerSetStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	Listeners  []ListenerEntryStatusApplyConfiguration `json:"listeners,omitempty"`
}

ListenerSetStatusApplyConfiguration represents a declarative configuration of the ListenerSetStatus type for use with apply.

func ListenerSetStatus

func ListenerSetStatus() *ListenerSetStatusApplyConfiguration

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

func (*ListenerSetStatusApplyConfiguration) 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 (*ListenerSetStatusApplyConfiguration) WithListeners

WithListeners adds the given value to the Listeners 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 Listeners field.

type ParentGatewayReferenceApplyConfiguration

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

ParentGatewayReferenceApplyConfiguration represents a declarative configuration of the ParentGatewayReference type for use with apply.

func ParentGatewayReference

func ParentGatewayReference() *ParentGatewayReferenceApplyConfiguration

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

func (*ParentGatewayReferenceApplyConfiguration) 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 (*ParentGatewayReferenceApplyConfiguration) 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 (*ParentGatewayReferenceApplyConfiguration) 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 (*ParentGatewayReferenceApplyConfiguration) 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.

type RequestRateApplyConfiguration

type RequestRateApplyConfiguration struct {
	Count    *int         `json:"count,omitempty"`
	Interval *v1.Duration `json:"interval,omitempty"`
}

RequestRateApplyConfiguration represents a declarative configuration of the RequestRate type for use with apply.

func RequestRate

func RequestRate() *RequestRateApplyConfiguration

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

func (*RequestRateApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

func (*RequestRateApplyConfiguration) WithInterval

WithInterval sets the Interval 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 Interval field is set to the value of the last call.

type RetryConstraintApplyConfiguration

type RetryConstraintApplyConfiguration struct {
	Budget       *BudgetDetailsApplyConfiguration `json:"budget,omitempty"`
	MinRetryRate *RequestRateApplyConfiguration   `json:"minRetryRate,omitempty"`
}

RetryConstraintApplyConfiguration represents a declarative configuration of the RetryConstraint type for use with apply.

func RetryConstraint

func RetryConstraint() *RetryConstraintApplyConfiguration

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

func (*RetryConstraintApplyConfiguration) WithBudget

WithBudget sets the Budget 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 Budget field is set to the value of the last call.

func (*RetryConstraintApplyConfiguration) WithMinRetryRate

WithMinRetryRate sets the MinRetryRate 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 MinRetryRate field is set to the value of the last call.

type XBackendTrafficPolicyApplyConfiguration

type XBackendTrafficPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *BackendTrafficPolicySpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *v1alpha2.PolicyStatusApplyConfiguration    `json:"status,omitempty"`
}

XBackendTrafficPolicyApplyConfiguration represents a declarative configuration of the XBackendTrafficPolicy type for use with apply.

func ExtractXBackendTrafficPolicy

func ExtractXBackendTrafficPolicy(xBackendTrafficPolicy *apisxv1alpha1.XBackendTrafficPolicy, fieldManager string) (*XBackendTrafficPolicyApplyConfiguration, error)

ExtractXBackendTrafficPolicy extracts the applied configuration owned by fieldManager from xBackendTrafficPolicy. If no managedFields are found in xBackendTrafficPolicy for fieldManager, a XBackendTrafficPolicyApplyConfiguration 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. xBackendTrafficPolicy must be a unmodified XBackendTrafficPolicy API object that was retrieved from the Kubernetes API. ExtractXBackendTrafficPolicy 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 ExtractXBackendTrafficPolicyStatus

func ExtractXBackendTrafficPolicyStatus(xBackendTrafficPolicy *apisxv1alpha1.XBackendTrafficPolicy, fieldManager string) (*XBackendTrafficPolicyApplyConfiguration, error)

ExtractXBackendTrafficPolicyStatus is the same as ExtractXBackendTrafficPolicy except that it extracts the status subresource applied configuration. Experimental!

func XBackendTrafficPolicy

func XBackendTrafficPolicy(name, namespace string) *XBackendTrafficPolicyApplyConfiguration

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

func (*XBackendTrafficPolicyApplyConfiguration) GetName

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

func (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 (*XBackendTrafficPolicyApplyConfiguration) 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 XListenerSetApplyConfiguration

type XListenerSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ListenerSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ListenerSetStatusApplyConfiguration `json:"status,omitempty"`
}

XListenerSetApplyConfiguration represents a declarative configuration of the XListenerSet type for use with apply.

func ExtractXListenerSet

func ExtractXListenerSet(xListenerSet *apisxv1alpha1.XListenerSet, fieldManager string) (*XListenerSetApplyConfiguration, error)

ExtractXListenerSet extracts the applied configuration owned by fieldManager from xListenerSet. If no managedFields are found in xListenerSet for fieldManager, a XListenerSetApplyConfiguration 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. xListenerSet must be a unmodified XListenerSet API object that was retrieved from the Kubernetes API. ExtractXListenerSet 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 ExtractXListenerSetStatus

func ExtractXListenerSetStatus(xListenerSet *apisxv1alpha1.XListenerSet, fieldManager string) (*XListenerSetApplyConfiguration, error)

ExtractXListenerSetStatus is the same as ExtractXListenerSet except that it extracts the status subresource applied configuration. Experimental!

func XListenerSet

func XListenerSet(name, namespace string) *XListenerSetApplyConfiguration

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

func (*XListenerSetApplyConfiguration) GetName

func (b *XListenerSetApplyConfiguration) GetName() *string

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

func (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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 (*XListenerSetApplyConfiguration) 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.

Jump to

Keyboard shortcuts

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