Documentation
¶
Index ¶
- type BackendTrafficPolicySpecApplyConfiguration
- func (b *BackendTrafficPolicySpecApplyConfiguration) WithRetryConstraint(value *RetryConstraintApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
- func (b *BackendTrafficPolicySpecApplyConfiguration) WithSessionPersistence(value *v1.SessionPersistenceApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
- func (b *BackendTrafficPolicySpecApplyConfiguration) WithTargetRefs(values ...*v1alpha2.LocalPolicyTargetReferenceApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
- type BudgetDetailsApplyConfiguration
- type ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithAllowedRoutes(value *apisv1.AllowedRoutesApplyConfiguration) *ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithHostname(value v1.Hostname) *ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithName(value v1.SectionName) *ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithPort(value v1.PortNumber) *ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithProtocol(value v1.ProtocolType) *ListenerEntryApplyConfiguration
- func (b *ListenerEntryApplyConfiguration) WithTLS(value *apisv1.GatewayTLSConfigApplyConfiguration) *ListenerEntryApplyConfiguration
- type ListenerEntryStatusApplyConfiguration
- func (b *ListenerEntryStatusApplyConfiguration) WithAttachedRoutes(value int32) *ListenerEntryStatusApplyConfiguration
- func (b *ListenerEntryStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ListenerEntryStatusApplyConfiguration
- func (b *ListenerEntryStatusApplyConfiguration) WithName(value v1.SectionName) *ListenerEntryStatusApplyConfiguration
- func (b *ListenerEntryStatusApplyConfiguration) WithPort(value v1.PortNumber) *ListenerEntryStatusApplyConfiguration
- func (b *ListenerEntryStatusApplyConfiguration) WithSupportedKinds(values ...*apisv1.RouteGroupKindApplyConfiguration) *ListenerEntryStatusApplyConfiguration
- type ListenerSetSpecApplyConfiguration
- type ListenerSetStatusApplyConfiguration
- type ParentGatewayReferenceApplyConfiguration
- func (b *ParentGatewayReferenceApplyConfiguration) WithGroup(value v1.Group) *ParentGatewayReferenceApplyConfiguration
- func (b *ParentGatewayReferenceApplyConfiguration) WithKind(value v1.Kind) *ParentGatewayReferenceApplyConfiguration
- func (b *ParentGatewayReferenceApplyConfiguration) WithName(value v1.ObjectName) *ParentGatewayReferenceApplyConfiguration
- func (b *ParentGatewayReferenceApplyConfiguration) WithNamespace(value v1.Namespace) *ParentGatewayReferenceApplyConfiguration
- type RequestRateApplyConfiguration
- type RetryConstraintApplyConfiguration
- type XBackendTrafficPolicyApplyConfiguration
- func ExtractXBackendTrafficPolicy(xBackendTrafficPolicy *apisxv1alpha1.XBackendTrafficPolicy, ...) (*XBackendTrafficPolicyApplyConfiguration, error)
- func ExtractXBackendTrafficPolicyStatus(xBackendTrafficPolicy *apisxv1alpha1.XBackendTrafficPolicy, ...) (*XBackendTrafficPolicyApplyConfiguration, error)
- func XBackendTrafficPolicy(name, namespace string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) GetName() *string
- func (b *XBackendTrafficPolicyApplyConfiguration) WithAPIVersion(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithFinalizers(values ...string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithGenerateName(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithGeneration(value int64) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithKind(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithLabels(entries map[string]string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithName(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithNamespace(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithResourceVersion(value string) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithSpec(value *BackendTrafficPolicySpecApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithStatus(value *v1alpha2.PolicyStatusApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
- func (b *XBackendTrafficPolicyApplyConfiguration) WithUID(value types.UID) *XBackendTrafficPolicyApplyConfiguration
- type XListenerSetApplyConfiguration
- func ExtractXListenerSet(xListenerSet *apisxv1alpha1.XListenerSet, fieldManager string) (*XListenerSetApplyConfiguration, error)
- func ExtractXListenerSetStatus(xListenerSet *apisxv1alpha1.XListenerSet, fieldManager string) (*XListenerSetApplyConfiguration, error)
- func XListenerSet(name, namespace string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) GetName() *string
- func (b *XListenerSetApplyConfiguration) WithAPIVersion(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithAnnotations(entries map[string]string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithFinalizers(values ...string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithGenerateName(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithGeneration(value int64) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithKind(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithLabels(entries map[string]string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithName(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithNamespace(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithResourceVersion(value string) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithSpec(value *ListenerSetSpecApplyConfiguration) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithStatus(value *ListenerSetStatusApplyConfiguration) *XListenerSetApplyConfiguration
- func (b *XListenerSetApplyConfiguration) WithUID(value types.UID) *XListenerSetApplyConfiguration
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 ¶
func (b *BackendTrafficPolicySpecApplyConfiguration) WithRetryConstraint(value *RetryConstraintApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
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 ¶
func (b *BackendTrafficPolicySpecApplyConfiguration) WithSessionPersistence(value *v1.SessionPersistenceApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
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 ¶
func (b *BackendTrafficPolicySpecApplyConfiguration) WithTargetRefs(values ...*v1alpha2.LocalPolicyTargetReferenceApplyConfiguration) *BackendTrafficPolicySpecApplyConfiguration
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 ¶
func (b *BudgetDetailsApplyConfiguration) WithInterval(value v1.Duration) *BudgetDetailsApplyConfiguration
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 ¶
func (b *BudgetDetailsApplyConfiguration) WithPercent(value int) *BudgetDetailsApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithAllowedRoutes(value *apisv1.AllowedRoutesApplyConfiguration) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithHostname(value v1.Hostname) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithName(value v1.SectionName) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithPort(value v1.PortNumber) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithProtocol(value v1.ProtocolType) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryApplyConfiguration) WithTLS(value *apisv1.GatewayTLSConfigApplyConfiguration) *ListenerEntryApplyConfiguration
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 ¶
func (b *ListenerEntryStatusApplyConfiguration) WithAttachedRoutes(value int32) *ListenerEntryStatusApplyConfiguration
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 ¶
func (b *ListenerEntryStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *ListenerEntryStatusApplyConfiguration
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 ¶
func (b *ListenerEntryStatusApplyConfiguration) WithName(value v1.SectionName) *ListenerEntryStatusApplyConfiguration
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 ¶
func (b *ListenerEntryStatusApplyConfiguration) WithPort(value v1.PortNumber) *ListenerEntryStatusApplyConfiguration
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 ¶
func (b *ListenerEntryStatusApplyConfiguration) WithSupportedKinds(values ...*apisv1.RouteGroupKindApplyConfiguration) *ListenerEntryStatusApplyConfiguration
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 ¶
func (b *ListenerSetSpecApplyConfiguration) WithListeners(values ...*ListenerEntryApplyConfiguration) *ListenerSetSpecApplyConfiguration
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 ¶
func (b *ListenerSetSpecApplyConfiguration) WithParentRef(value *ParentGatewayReferenceApplyConfiguration) *ListenerSetSpecApplyConfiguration
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 ¶
func (b *ListenerSetStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ListenerSetStatusApplyConfiguration
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 ¶
func (b *ListenerSetStatusApplyConfiguration) WithListeners(values ...*ListenerEntryStatusApplyConfiguration) *ListenerSetStatusApplyConfiguration
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 ¶
func (b *ParentGatewayReferenceApplyConfiguration) WithGroup(value v1.Group) *ParentGatewayReferenceApplyConfiguration
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 ¶
func (b *ParentGatewayReferenceApplyConfiguration) WithKind(value v1.Kind) *ParentGatewayReferenceApplyConfiguration
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 ¶
func (b *ParentGatewayReferenceApplyConfiguration) WithName(value v1.ObjectName) *ParentGatewayReferenceApplyConfiguration
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 ¶
func (b *ParentGatewayReferenceApplyConfiguration) WithNamespace(value v1.Namespace) *ParentGatewayReferenceApplyConfiguration
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 ¶
func (b *RequestRateApplyConfiguration) WithCount(value int) *RequestRateApplyConfiguration
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 ¶
func (b *RequestRateApplyConfiguration) WithInterval(value v1.Duration) *RequestRateApplyConfiguration
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 ¶
func (b *RetryConstraintApplyConfiguration) WithBudget(value *BudgetDetailsApplyConfiguration) *RetryConstraintApplyConfiguration
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 ¶
func (b *RetryConstraintApplyConfiguration) WithMinRetryRate(value *RequestRateApplyConfiguration) *RetryConstraintApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*XBackendTrafficPolicyApplyConfiguration) WithAPIVersion ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithAPIVersion(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithFinalizers(values ...string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithGenerateName(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithGeneration(value int64) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithKind(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithLabels(entries map[string]string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithName(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithNamespace(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithResourceVersion(value string) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithSpec(value *BackendTrafficPolicySpecApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithStatus(value *v1alpha2.PolicyStatusApplyConfiguration) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XBackendTrafficPolicyApplyConfiguration) WithUID(value types.UID) *XBackendTrafficPolicyApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithAPIVersion(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithAnnotations(entries map[string]string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithFinalizers(values ...string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithGenerateName(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithGeneration(value int64) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithKind(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithLabels(entries map[string]string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithName(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithNamespace(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithResourceVersion(value string) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithSpec(value *ListenerSetSpecApplyConfiguration) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithStatus(value *ListenerSetStatusApplyConfiguration) *XListenerSetApplyConfiguration
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 ¶
func (b *XListenerSetApplyConfiguration) WithUID(value types.UID) *XListenerSetApplyConfiguration
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.