v1

package
v1.14.10 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLApplyConfiguration

type ACLApplyConfiguration struct {
	Direction *string `json:"direction,omitempty"`
	Priority  *int    `json:"priority,omitempty"`
	Match     *string `json:"match,omitempty"`
	Action    *string `json:"action,omitempty"`
}

ACLApplyConfiguration represents a declarative configuration of the ACL type for use with apply.

func ACL

func ACL() *ACLApplyConfiguration

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

func (*ACLApplyConfiguration) WithAction

func (b *ACLApplyConfiguration) WithAction(value string) *ACLApplyConfiguration

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

func (*ACLApplyConfiguration) WithDirection

func (b *ACLApplyConfiguration) WithDirection(value string) *ACLApplyConfiguration

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

func (*ACLApplyConfiguration) WithMatch

func (b *ACLApplyConfiguration) WithMatch(value string) *ACLApplyConfiguration

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

func (*ACLApplyConfiguration) WithPriority

func (b *ACLApplyConfiguration) WithPriority(value int) *ACLApplyConfiguration

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

type BFDPortApplyConfiguration added in v1.14.10

type BFDPortApplyConfiguration struct {
	Enabled *bool `json:"enabled,omitempty"`
	// ip address(es) of the BFD port
	IP *string `json:"ip,omitempty"`
	// optional node selector used to select the nodes where the BFD LRP will be hosted
	// if not specified, at most 3 nodes will be selected
	NodeSelector *metav1.LabelSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
}

BFDPortApplyConfiguration represents a declarative configuration of the BFDPort type for use with apply.

func BFDPort added in v1.14.10

func BFDPort() *BFDPortApplyConfiguration

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

func (*BFDPortApplyConfiguration) WithEnabled added in v1.14.10

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

func (*BFDPortApplyConfiguration) WithIP added in v1.14.10

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

func (*BFDPortApplyConfiguration) WithNodeSelector added in v1.14.10

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

type BFDPortStatusApplyConfiguration added in v1.14.10

type BFDPortStatusApplyConfiguration struct {
	Name  *string  `json:"name,omitempty"`
	IP    *string  `json:"ip,omitempty"`
	Nodes []string `json:"nodes,omitempty"`
}

BFDPortStatusApplyConfiguration represents a declarative configuration of the BFDPortStatus type for use with apply.

func BFDPortStatus added in v1.14.10

func BFDPortStatus() *BFDPortStatusApplyConfiguration

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

func (*BFDPortStatusApplyConfiguration) WithIP added in v1.14.10

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

func (*BFDPortStatusApplyConfiguration) WithName added in v1.14.10

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 (*BFDPortStatusApplyConfiguration) WithNodes added in v1.14.10

WithNodes adds the given value to the Nodes 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 Nodes field.

type ConditionApplyConfiguration

type ConditionApplyConfiguration struct {
	// Type of condition.
	Type *kubeovnv1.ConditionType `json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *corev1.ConditionStatus `json:"status,omitempty"`
	// The reason for the condition's last transition.
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	Message *string `json:"message,omitempty"`
	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9,
	// the condition is out of date with respect to the current state of the instance.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// Last time the condition was probed
	LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
}

ConditionApplyConfiguration represents a declarative configuration of the Condition type for use with apply.

Condition describes the state of an object at a certain point.

func Condition

func Condition() *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithLastTransitionTime

func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithLastUpdateTime

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

func (*ConditionApplyConfiguration) WithMessage

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

func (*ConditionApplyConfiguration) WithObservedGeneration added in v1.14.10

func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithReason

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

func (*ConditionApplyConfiguration) 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 (*ConditionApplyConfiguration) WithType

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

type CustomInterfaceApplyConfiguration

type CustomInterfaceApplyConfiguration struct {
	Interface *string  `json:"interface,omitempty"`
	Nodes     []string `json:"nodes,omitempty"`
}

CustomInterfaceApplyConfiguration represents a declarative configuration of the CustomInterface type for use with apply.

func CustomInterface

func CustomInterface() *CustomInterfaceApplyConfiguration

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

func (*CustomInterfaceApplyConfiguration) WithInterface

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

func (*CustomInterfaceApplyConfiguration) WithNodes

WithNodes adds the given value to the Nodes 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 Nodes field.

type IPApplyConfiguration

type IPApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IPSpecApplyConfiguration `json:"spec,omitempty"`
}

IPApplyConfiguration represents a declarative configuration of the IP type for use with apply.

func IP

func IP(name string) *IPApplyConfiguration

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

func (*IPApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IPApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IPApplyConfiguration) GetKind added in v1.14.10

func (b *IPApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IPApplyConfiguration) GetName

func (b *IPApplyConfiguration) GetName() *string

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

func (*IPApplyConfiguration) GetNamespace added in v1.14.10

func (b *IPApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IPApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IPApplyConfiguration) IsApplyConfiguration()

func (*IPApplyConfiguration) WithAPIVersion

func (b *IPApplyConfiguration) WithAPIVersion(value string) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithAnnotations

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

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 (*IPApplyConfiguration) WithCreationTimestamp

func (b *IPApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *IPApplyConfiguration

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

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

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 (*IPApplyConfiguration) WithDeletionTimestamp

func (b *IPApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithFinalizers

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

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 (*IPApplyConfiguration) WithGenerateName

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

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 (*IPApplyConfiguration) WithGeneration

func (b *IPApplyConfiguration) WithGeneration(value int64) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithKind

func (b *IPApplyConfiguration) WithKind(value string) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithLabels

func (b *IPApplyConfiguration) WithLabels(entries map[string]string) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithName

func (b *IPApplyConfiguration) WithName(value string) *IPApplyConfiguration

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 (*IPApplyConfiguration) WithNamespace

func (b *IPApplyConfiguration) WithNamespace(value string) *IPApplyConfiguration

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 (*IPApplyConfiguration) 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 (*IPApplyConfiguration) WithResourceVersion

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

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 (*IPApplyConfiguration) 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 (*IPApplyConfiguration) 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 IPPoolApplyConfiguration

type IPPoolApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IPPoolSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *IPPoolStatusApplyConfiguration `json:"status,omitempty"`
}

IPPoolApplyConfiguration represents a declarative configuration of the IPPool type for use with apply.

func IPPool

func IPPool(name string) *IPPoolApplyConfiguration

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

func (*IPPoolApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IPPoolApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IPPoolApplyConfiguration) GetKind added in v1.14.10

func (b *IPPoolApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IPPoolApplyConfiguration) GetName

func (b *IPPoolApplyConfiguration) GetName() *string

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

func (*IPPoolApplyConfiguration) GetNamespace added in v1.14.10

func (b *IPPoolApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IPPoolApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IPPoolApplyConfiguration) IsApplyConfiguration()

func (*IPPoolApplyConfiguration) WithAPIVersion

func (b *IPPoolApplyConfiguration) WithAPIVersion(value string) *IPPoolApplyConfiguration

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 (*IPPoolApplyConfiguration) WithAnnotations

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

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 (*IPPoolApplyConfiguration) WithCreationTimestamp

func (b *IPPoolApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *IPPoolApplyConfiguration

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

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

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 (*IPPoolApplyConfiguration) WithDeletionTimestamp

func (b *IPPoolApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *IPPoolApplyConfiguration

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 (*IPPoolApplyConfiguration) WithFinalizers

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

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 (*IPPoolApplyConfiguration) WithGenerateName

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

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 (*IPPoolApplyConfiguration) WithGeneration

func (b *IPPoolApplyConfiguration) WithGeneration(value int64) *IPPoolApplyConfiguration

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 (*IPPoolApplyConfiguration) 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 (*IPPoolApplyConfiguration) WithLabels

func (b *IPPoolApplyConfiguration) WithLabels(entries map[string]string) *IPPoolApplyConfiguration

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 (*IPPoolApplyConfiguration) 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 (*IPPoolApplyConfiguration) WithNamespace

func (b *IPPoolApplyConfiguration) WithNamespace(value string) *IPPoolApplyConfiguration

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 (*IPPoolApplyConfiguration) 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 (*IPPoolApplyConfiguration) WithResourceVersion

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

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 (*IPPoolApplyConfiguration) 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 (*IPPoolApplyConfiguration) 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 (*IPPoolApplyConfiguration) 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 IPPoolSpecApplyConfiguration

type IPPoolSpecApplyConfiguration struct {
	Subnet     *string  `json:"subnet,omitempty"`
	Namespaces []string `json:"namespaces,omitempty"`
	IPs        []string `json:"ips,omitempty"`
}

IPPoolSpecApplyConfiguration represents a declarative configuration of the IPPoolSpec type for use with apply.

func IPPoolSpec

func IPPoolSpec() *IPPoolSpecApplyConfiguration

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

func (*IPPoolSpecApplyConfiguration) WithIPs

WithIPs adds the given value to the IPs 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 IPs field.

func (*IPPoolSpecApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*IPPoolSpecApplyConfiguration) WithSubnet

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

type IPPoolStatusApplyConfiguration

type IPPoolStatusApplyConfiguration struct {
	V4AvailableIPs     *internal.BigInt `json:"v4AvailableIPs,omitempty"`
	V4AvailableIPRange *string          `json:"v4AvailableIPRange,omitempty"`
	V4UsingIPs         *internal.BigInt `json:"v4UsingIPs,omitempty"`
	V4UsingIPRange     *string          `json:"v4UsingIPRange,omitempty"`
	V6AvailableIPs     *internal.BigInt `json:"v6AvailableIPs,omitempty"`
	V6AvailableIPRange *string          `json:"v6AvailableIPRange,omitempty"`
	V6UsingIPs         *internal.BigInt `json:"v6UsingIPs,omitempty"`
	V6UsingIPRange     *string          `json:"v6UsingIPRange,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

IPPoolStatusApplyConfiguration represents a declarative configuration of the IPPoolStatus type for use with apply.

func IPPoolStatus

func IPPoolStatus() *IPPoolStatusApplyConfiguration

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

func (*IPPoolStatusApplyConfiguration) 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 (*IPPoolStatusApplyConfiguration) WithV4AvailableIPRange

func (b *IPPoolStatusApplyConfiguration) WithV4AvailableIPRange(value string) *IPPoolStatusApplyConfiguration

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

func (*IPPoolStatusApplyConfiguration) WithV4AvailableIPs

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

func (*IPPoolStatusApplyConfiguration) WithV4UsingIPRange

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

func (*IPPoolStatusApplyConfiguration) WithV4UsingIPs

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

func (*IPPoolStatusApplyConfiguration) WithV6AvailableIPRange

func (b *IPPoolStatusApplyConfiguration) WithV6AvailableIPRange(value string) *IPPoolStatusApplyConfiguration

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

func (*IPPoolStatusApplyConfiguration) WithV6AvailableIPs

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

func (*IPPoolStatusApplyConfiguration) WithV6UsingIPRange

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

func (*IPPoolStatusApplyConfiguration) WithV6UsingIPs

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

type IPSpecApplyConfiguration

type IPSpecApplyConfiguration struct {
	PodName       *string  `json:"podName,omitempty"`
	Namespace     *string  `json:"namespace,omitempty"`
	Subnet        *string  `json:"subnet,omitempty"`
	AttachSubnets []string `json:"attachSubnets,omitempty"`
	NodeName      *string  `json:"nodeName,omitempty"`
	IPAddress     *string  `json:"ipAddress,omitempty"`
	V4IPAddress   *string  `json:"v4IpAddress,omitempty"`
	V6IPAddress   *string  `json:"v6IpAddress,omitempty"`
	AttachIPs     []string `json:"attachIps,omitempty"`
	MacAddress    *string  `json:"macAddress,omitempty"`
	AttachMacs    []string `json:"attachMacs,omitempty"`
	ContainerID   *string  `json:"containerID,omitempty"`
	PodType       *string  `json:"podType,omitempty"`
}

IPSpecApplyConfiguration represents a declarative configuration of the IPSpec type for use with apply.

func IPSpec

func IPSpec() *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithAttachIPs

func (b *IPSpecApplyConfiguration) WithAttachIPs(values ...string) *IPSpecApplyConfiguration

WithAttachIPs adds the given value to the AttachIPs 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 AttachIPs field.

func (*IPSpecApplyConfiguration) WithAttachMacs

func (b *IPSpecApplyConfiguration) WithAttachMacs(values ...string) *IPSpecApplyConfiguration

WithAttachMacs adds the given value to the AttachMacs 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 AttachMacs field.

func (*IPSpecApplyConfiguration) WithAttachSubnets

func (b *IPSpecApplyConfiguration) WithAttachSubnets(values ...string) *IPSpecApplyConfiguration

WithAttachSubnets adds the given value to the AttachSubnets 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 AttachSubnets field.

func (*IPSpecApplyConfiguration) WithContainerID

func (b *IPSpecApplyConfiguration) WithContainerID(value string) *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithIPAddress

func (b *IPSpecApplyConfiguration) WithIPAddress(value string) *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithMacAddress

func (b *IPSpecApplyConfiguration) WithMacAddress(value string) *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithNamespace

func (b *IPSpecApplyConfiguration) WithNamespace(value string) *IPSpecApplyConfiguration

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 (*IPSpecApplyConfiguration) WithNodeName

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

func (*IPSpecApplyConfiguration) WithPodName

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

func (*IPSpecApplyConfiguration) WithPodType

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

func (*IPSpecApplyConfiguration) WithSubnet

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

func (*IPSpecApplyConfiguration) WithV4IPAddress

func (b *IPSpecApplyConfiguration) WithV4IPAddress(value string) *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithV6IPAddress

func (b *IPSpecApplyConfiguration) WithV6IPAddress(value string) *IPSpecApplyConfiguration

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

type IptablesDnatRuleApplyConfiguration

type IptablesDnatRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IptablesDnatRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *IptablesDnatRuleStatusApplyConfiguration `json:"status,omitempty"`
}

IptablesDnatRuleApplyConfiguration represents a declarative configuration of the IptablesDnatRule type for use with apply.

func IptablesDnatRule

func IptablesDnatRule(name string) *IptablesDnatRuleApplyConfiguration

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

func (*IptablesDnatRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IptablesDnatRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IptablesDnatRuleApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IptablesDnatRuleApplyConfiguration) GetName

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

func (*IptablesDnatRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *IptablesDnatRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IptablesDnatRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IptablesDnatRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 (*IptablesDnatRuleApplyConfiguration) 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 IptablesDnatRuleSpecApplyConfiguration

type IptablesDnatRuleSpecApplyConfiguration struct {
	EIP          *string `json:"eip,omitempty"`
	ExternalPort *string `json:"externalPort,omitempty"`
	Protocol     *string `json:"protocol,omitempty"`
	InternalIP   *string `json:"internalIp,omitempty"`
	InternalPort *string `json:"internalPort,omitempty"`
}

IptablesDnatRuleSpecApplyConfiguration represents a declarative configuration of the IptablesDnatRuleSpec type for use with apply.

func IptablesDnatRuleSpec

func IptablesDnatRuleSpec() *IptablesDnatRuleSpecApplyConfiguration

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

func (*IptablesDnatRuleSpecApplyConfiguration) WithEIP

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

func (*IptablesDnatRuleSpecApplyConfiguration) WithExternalPort

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

func (*IptablesDnatRuleSpecApplyConfiguration) WithInternalIP

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

func (*IptablesDnatRuleSpecApplyConfiguration) WithInternalPort

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

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

type IptablesDnatRuleStatusApplyConfiguration

type IptablesDnatRuleStatusApplyConfiguration struct {
	Ready        *bool   `json:"ready,omitempty"`
	V4ip         *string `json:"v4ip,omitempty"`
	V6ip         *string `json:"v6ip,omitempty"`
	NatGwDp      *string `json:"natGwDp,omitempty"`
	Redo         *string `json:"redo,omitempty"`
	Protocol     *string `json:"protocol,omitempty"`
	InternalIP   *string `json:"internalIp,omitempty"`
	InternalPort *string `json:"internalPort,omitempty"`
	ExternalPort *string `json:"externalPort,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

IptablesDnatRuleStatusApplyConfiguration represents a declarative configuration of the IptablesDnatRuleStatus type for use with apply.

func IptablesDnatRuleStatus

func IptablesDnatRuleStatus() *IptablesDnatRuleStatusApplyConfiguration

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

func (*IptablesDnatRuleStatusApplyConfiguration) 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 (*IptablesDnatRuleStatusApplyConfiguration) WithExternalPort

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithInternalIP

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithInternalPort

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithNatGwDp

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

func (*IptablesDnatRuleStatusApplyConfiguration) 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 (*IptablesDnatRuleStatusApplyConfiguration) WithReady

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithRedo

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithV4ip

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

func (*IptablesDnatRuleStatusApplyConfiguration) WithV6ip

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

type IptablesEIPApplyConfiguration

type IptablesEIPApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IptablesEIPSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *IptablesEIPStatusApplyConfiguration `json:"status,omitempty"`
}

IptablesEIPApplyConfiguration represents a declarative configuration of the IptablesEIP type for use with apply.

func IptablesEIP

func IptablesEIP(name string) *IptablesEIPApplyConfiguration

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

func (*IptablesEIPApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IptablesEIPApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IptablesEIPApplyConfiguration) GetKind added in v1.14.10

func (b *IptablesEIPApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IptablesEIPApplyConfiguration) GetName

func (b *IptablesEIPApplyConfiguration) GetName() *string

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

func (*IptablesEIPApplyConfiguration) GetNamespace added in v1.14.10

func (b *IptablesEIPApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IptablesEIPApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IptablesEIPApplyConfiguration) IsApplyConfiguration()

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

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

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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 (*IptablesEIPApplyConfiguration) 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 IptablesEIPSpecApplyConfiguration added in v1.14.10

type IptablesEIPSpecApplyConfiguration struct {
	V4ip           *string `json:"v4ip,omitempty"`
	V6ip           *string `json:"v6ip,omitempty"`
	MacAddress     *string `json:"macAddress,omitempty"`
	NatGwDp        *string `json:"natGwDp,omitempty"`
	QoSPolicy      *string `json:"qosPolicy,omitempty"`
	ExternalSubnet *string `json:"externalSubnet,omitempty"`
}

IptablesEIPSpecApplyConfiguration represents a declarative configuration of the IptablesEIPSpec type for use with apply.

func IptablesEIPSpec added in v1.14.10

func IptablesEIPSpec() *IptablesEIPSpecApplyConfiguration

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

func (*IptablesEIPSpecApplyConfiguration) WithExternalSubnet added in v1.14.10

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

func (*IptablesEIPSpecApplyConfiguration) WithMacAddress added in v1.14.10

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

func (*IptablesEIPSpecApplyConfiguration) WithNatGwDp added in v1.14.10

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

func (*IptablesEIPSpecApplyConfiguration) WithQoSPolicy added in v1.14.10

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

func (*IptablesEIPSpecApplyConfiguration) WithV4ip added in v1.14.10

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

func (*IptablesEIPSpecApplyConfiguration) WithV6ip added in v1.14.10

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

type IptablesEIPStatusApplyConfiguration added in v1.14.10

type IptablesEIPStatusApplyConfiguration struct {
	Ready     *bool   `json:"ready,omitempty"`
	IP        *string `json:"ip,omitempty"`
	Redo      *string `json:"redo,omitempty"`
	Nat       *string `json:"nat,omitempty"`
	QoSPolicy *string `json:"qosPolicy,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

IptablesEIPStatusApplyConfiguration represents a declarative configuration of the IptablesEIPStatus type for use with apply.

func IptablesEIPStatus added in v1.14.10

func IptablesEIPStatus() *IptablesEIPStatusApplyConfiguration

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

func (*IptablesEIPStatusApplyConfiguration) WithConditions added in v1.14.10

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 (*IptablesEIPStatusApplyConfiguration) WithIP added in v1.14.10

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

func (*IptablesEIPStatusApplyConfiguration) WithNat added in v1.14.10

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

func (*IptablesEIPStatusApplyConfiguration) WithQoSPolicy added in v1.14.10

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

func (*IptablesEIPStatusApplyConfiguration) WithReady added in v1.14.10

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

func (*IptablesEIPStatusApplyConfiguration) WithRedo added in v1.14.10

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

type IptablesFIPRuleApplyConfiguration

type IptablesFIPRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IptablesFIPRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *IptablesFIPRuleStatusApplyConfiguration `json:"status,omitempty"`
}

IptablesFIPRuleApplyConfiguration represents a declarative configuration of the IptablesFIPRule type for use with apply.

func IptablesFIPRule

func IptablesFIPRule(name string) *IptablesFIPRuleApplyConfiguration

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

func (*IptablesFIPRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IptablesFIPRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IptablesFIPRuleApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IptablesFIPRuleApplyConfiguration) GetName

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

func (*IptablesFIPRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *IptablesFIPRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IptablesFIPRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IptablesFIPRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 (*IptablesFIPRuleApplyConfiguration) 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 IptablesFIPRuleSpecApplyConfiguration

type IptablesFIPRuleSpecApplyConfiguration struct {
	EIP        *string `json:"eip,omitempty"`
	InternalIP *string `json:"internalIp,omitempty"`
}

IptablesFIPRuleSpecApplyConfiguration represents a declarative configuration of the IptablesFIPRuleSpec type for use with apply.

func IptablesFIPRuleSpec

func IptablesFIPRuleSpec() *IptablesFIPRuleSpecApplyConfiguration

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

func (*IptablesFIPRuleSpecApplyConfiguration) WithEIP

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

func (*IptablesFIPRuleSpecApplyConfiguration) WithInternalIP

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

type IptablesFIPRuleStatusApplyConfiguration

type IptablesFIPRuleStatusApplyConfiguration struct {
	Ready      *bool   `json:"ready,omitempty"`
	V4ip       *string `json:"v4ip,omitempty"`
	V6ip       *string `json:"v6ip,omitempty"`
	NatGwDp    *string `json:"natGwDp,omitempty"`
	Redo       *string `json:"redo,omitempty"`
	InternalIP *string `json:"internalIp,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

IptablesFIPRuleStatusApplyConfiguration represents a declarative configuration of the IptablesFIPRuleStatus type for use with apply.

func IptablesFIPRuleStatus

func IptablesFIPRuleStatus() *IptablesFIPRuleStatusApplyConfiguration

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

func (*IptablesFIPRuleStatusApplyConfiguration) 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 (*IptablesFIPRuleStatusApplyConfiguration) WithInternalIP

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

func (*IptablesFIPRuleStatusApplyConfiguration) WithNatGwDp

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

func (*IptablesFIPRuleStatusApplyConfiguration) WithReady

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

func (*IptablesFIPRuleStatusApplyConfiguration) WithRedo

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

func (*IptablesFIPRuleStatusApplyConfiguration) WithV4ip

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

func (*IptablesFIPRuleStatusApplyConfiguration) WithV6ip

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

type IptablesSnatRuleApplyConfiguration

type IptablesSnatRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *IptablesSnatRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *IptablesSnatRuleStatusApplyConfiguration `json:"status,omitempty"`
}

IptablesSnatRuleApplyConfiguration represents a declarative configuration of the IptablesSnatRule type for use with apply.

func IptablesSnatRule

func IptablesSnatRule(name string) *IptablesSnatRuleApplyConfiguration

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

func (*IptablesSnatRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *IptablesSnatRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*IptablesSnatRuleApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IptablesSnatRuleApplyConfiguration) GetName

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

func (*IptablesSnatRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *IptablesSnatRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (IptablesSnatRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b IptablesSnatRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 (*IptablesSnatRuleApplyConfiguration) 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 IptablesSnatRuleSpecApplyConfiguration

type IptablesSnatRuleSpecApplyConfiguration struct {
	EIP          *string `json:"eip,omitempty"`
	InternalCIDR *string `json:"internalCIDR,omitempty"`
}

IptablesSnatRuleSpecApplyConfiguration represents a declarative configuration of the IptablesSnatRuleSpec type for use with apply.

func IptablesSnatRuleSpec

func IptablesSnatRuleSpec() *IptablesSnatRuleSpecApplyConfiguration

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

func (*IptablesSnatRuleSpecApplyConfiguration) WithEIP

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

func (*IptablesSnatRuleSpecApplyConfiguration) WithInternalCIDR

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

type IptablesSnatRuleStatusApplyConfiguration

type IptablesSnatRuleStatusApplyConfiguration struct {
	Ready        *bool   `json:"ready,omitempty"`
	V4ip         *string `json:"v4ip,omitempty"`
	V6ip         *string `json:"v6ip,omitempty"`
	NatGwDp      *string `json:"natGwDp,omitempty"`
	Redo         *string `json:"redo,omitempty"`
	InternalCIDR *string `json:"internalCIDR,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

IptablesSnatRuleStatusApplyConfiguration represents a declarative configuration of the IptablesSnatRuleStatus type for use with apply.

func IptablesSnatRuleStatus

func IptablesSnatRuleStatus() *IptablesSnatRuleStatusApplyConfiguration

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

func (*IptablesSnatRuleStatusApplyConfiguration) 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 (*IptablesSnatRuleStatusApplyConfiguration) WithInternalCIDR

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

func (*IptablesSnatRuleStatusApplyConfiguration) WithNatGwDp

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

func (*IptablesSnatRuleStatusApplyConfiguration) WithReady

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

func (*IptablesSnatRuleStatusApplyConfiguration) WithRedo

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

func (*IptablesSnatRuleStatusApplyConfiguration) WithV4ip

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

func (*IptablesSnatRuleStatusApplyConfiguration) WithV6ip

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

type NatOutGoingPolicyMatchApplyConfiguration

type NatOutGoingPolicyMatchApplyConfiguration struct {
	SrcIPs *string `json:"srcIPs,omitempty"`
	DstIPs *string `json:"dstIPs,omitempty"`
}

NatOutGoingPolicyMatchApplyConfiguration represents a declarative configuration of the NatOutGoingPolicyMatch type for use with apply.

func NatOutGoingPolicyMatch

func NatOutGoingPolicyMatch() *NatOutGoingPolicyMatchApplyConfiguration

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

func (*NatOutGoingPolicyMatchApplyConfiguration) WithDstIPs

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

func (*NatOutGoingPolicyMatchApplyConfiguration) WithSrcIPs

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

type NatOutgoingPolicyRuleApplyConfiguration

type NatOutgoingPolicyRuleApplyConfiguration struct {
	Match  *NatOutGoingPolicyMatchApplyConfiguration `json:"match,omitempty"`
	Action *string                                   `json:"action,omitempty"`
}

NatOutgoingPolicyRuleApplyConfiguration represents a declarative configuration of the NatOutgoingPolicyRule type for use with apply.

func NatOutgoingPolicyRule

func NatOutgoingPolicyRule() *NatOutgoingPolicyRuleApplyConfiguration

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

func (*NatOutgoingPolicyRuleApplyConfiguration) WithAction

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

func (*NatOutgoingPolicyRuleApplyConfiguration) WithMatch

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

type NatOutgoingPolicyRuleStatusApplyConfiguration

type NatOutgoingPolicyRuleStatusApplyConfiguration struct {
	RuleID *string `json:"ruleID,omitempty"`
}

NatOutgoingPolicyRuleStatusApplyConfiguration represents a declarative configuration of the NatOutgoingPolicyRuleStatus type for use with apply.

func NatOutgoingPolicyRuleStatus

func NatOutgoingPolicyRuleStatus() *NatOutgoingPolicyRuleStatusApplyConfiguration

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

func (*NatOutgoingPolicyRuleStatusApplyConfiguration) WithRuleID

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

type OvnDnatRuleApplyConfiguration

type OvnDnatRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *OvnDnatRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *OvnDnatRuleStatusApplyConfiguration `json:"status,omitempty"`
}

OvnDnatRuleApplyConfiguration represents a declarative configuration of the OvnDnatRule type for use with apply.

func OvnDnatRule

func OvnDnatRule(name string) *OvnDnatRuleApplyConfiguration

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

func (*OvnDnatRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *OvnDnatRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OvnDnatRuleApplyConfiguration) GetKind added in v1.14.10

func (b *OvnDnatRuleApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OvnDnatRuleApplyConfiguration) GetName

func (b *OvnDnatRuleApplyConfiguration) GetName() *string

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

func (*OvnDnatRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *OvnDnatRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OvnDnatRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b OvnDnatRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 (*OvnDnatRuleApplyConfiguration) 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 OvnDnatRuleSpecApplyConfiguration

type OvnDnatRuleSpecApplyConfiguration struct {
	OvnEip *string `json:"ovnEip,omitempty"`
	IPType *string `json:"ipType,omitempty"`
	// vip, ip
	IPName *string `json:"ipName,omitempty"`
	// vip, ip crd name
	InternalPort *string `json:"internalPort,omitempty"`
	ExternalPort *string `json:"externalPort,omitempty"`
	Protocol     *string `json:"protocol,omitempty"`
	Vpc          *string `json:"vpc,omitempty"`
	V4Ip         *string `json:"v4Ip,omitempty"`
	V6Ip         *string `json:"v6Ip,omitempty"`
}

OvnDnatRuleSpecApplyConfiguration represents a declarative configuration of the OvnDnatRuleSpec type for use with apply.

func OvnDnatRuleSpec

func OvnDnatRuleSpec() *OvnDnatRuleSpecApplyConfiguration

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

func (*OvnDnatRuleSpecApplyConfiguration) WithExternalPort

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

func (*OvnDnatRuleSpecApplyConfiguration) WithIPName

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

func (*OvnDnatRuleSpecApplyConfiguration) WithIPType

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

func (*OvnDnatRuleSpecApplyConfiguration) WithInternalPort

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

func (*OvnDnatRuleSpecApplyConfiguration) WithOvnEip

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

func (*OvnDnatRuleSpecApplyConfiguration) 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 (*OvnDnatRuleSpecApplyConfiguration) WithV4Ip

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

func (*OvnDnatRuleSpecApplyConfiguration) WithV6Ip

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

func (*OvnDnatRuleSpecApplyConfiguration) WithVpc

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

type OvnDnatRuleStatusApplyConfiguration

type OvnDnatRuleStatusApplyConfiguration struct {
	Vpc          *string `json:"vpc,omitempty"`
	V4Eip        *string `json:"v4Eip,omitempty"`
	V6Eip        *string `json:"v6Eip,omitempty"`
	ExternalPort *string `json:"externalPort,omitempty"`
	V4Ip         *string `json:"v4Ip,omitempty"`
	V6Ip         *string `json:"v6Ip,omitempty"`
	InternalPort *string `json:"internalPort,omitempty"`
	Protocol     *string `json:"protocol,omitempty"`
	IPName       *string `json:"ipName,omitempty"`
	Ready        *bool   `json:"ready,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

OvnDnatRuleStatusApplyConfiguration represents a declarative configuration of the OvnDnatRuleStatus type for use with apply.

func OvnDnatRuleStatus

func OvnDnatRuleStatus() *OvnDnatRuleStatusApplyConfiguration

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

func (*OvnDnatRuleStatusApplyConfiguration) 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 (*OvnDnatRuleStatusApplyConfiguration) WithExternalPort

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

func (*OvnDnatRuleStatusApplyConfiguration) WithIPName

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

func (*OvnDnatRuleStatusApplyConfiguration) WithInternalPort

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

func (*OvnDnatRuleStatusApplyConfiguration) 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 (*OvnDnatRuleStatusApplyConfiguration) WithReady

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

func (*OvnDnatRuleStatusApplyConfiguration) WithV4Eip

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

func (*OvnDnatRuleStatusApplyConfiguration) WithV4Ip

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

func (*OvnDnatRuleStatusApplyConfiguration) WithV6Eip

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

func (*OvnDnatRuleStatusApplyConfiguration) WithV6Ip

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

func (*OvnDnatRuleStatusApplyConfiguration) WithVpc

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

type OvnEipApplyConfiguration

type OvnEipApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *OvnEipSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *OvnEipStatusApplyConfiguration `json:"status,omitempty"`
}

OvnEipApplyConfiguration represents a declarative configuration of the OvnEip type for use with apply.

func OvnEip

func OvnEip(name string) *OvnEipApplyConfiguration

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

func (*OvnEipApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *OvnEipApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OvnEipApplyConfiguration) GetKind added in v1.14.10

func (b *OvnEipApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OvnEipApplyConfiguration) GetName

func (b *OvnEipApplyConfiguration) GetName() *string

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

func (*OvnEipApplyConfiguration) GetNamespace added in v1.14.10

func (b *OvnEipApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OvnEipApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b OvnEipApplyConfiguration) IsApplyConfiguration()

func (*OvnEipApplyConfiguration) WithAPIVersion

func (b *OvnEipApplyConfiguration) WithAPIVersion(value string) *OvnEipApplyConfiguration

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 (*OvnEipApplyConfiguration) WithAnnotations

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

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 (*OvnEipApplyConfiguration) WithCreationTimestamp

func (b *OvnEipApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OvnEipApplyConfiguration

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

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

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 (*OvnEipApplyConfiguration) WithDeletionTimestamp

func (b *OvnEipApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OvnEipApplyConfiguration

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 (*OvnEipApplyConfiguration) WithFinalizers

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

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 (*OvnEipApplyConfiguration) WithGenerateName

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

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 (*OvnEipApplyConfiguration) WithGeneration

func (b *OvnEipApplyConfiguration) WithGeneration(value int64) *OvnEipApplyConfiguration

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 (*OvnEipApplyConfiguration) 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 (*OvnEipApplyConfiguration) WithLabels

func (b *OvnEipApplyConfiguration) WithLabels(entries map[string]string) *OvnEipApplyConfiguration

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 (*OvnEipApplyConfiguration) 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 (*OvnEipApplyConfiguration) WithNamespace

func (b *OvnEipApplyConfiguration) WithNamespace(value string) *OvnEipApplyConfiguration

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 (*OvnEipApplyConfiguration) 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 (*OvnEipApplyConfiguration) WithResourceVersion

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

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 (*OvnEipApplyConfiguration) 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 (*OvnEipApplyConfiguration) 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 (*OvnEipApplyConfiguration) 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 OvnEipSpecApplyConfiguration

type OvnEipSpecApplyConfiguration struct {
	ExternalSubnet *string `json:"externalSubnet,omitempty"`
	V4Ip           *string `json:"v4Ip,omitempty"`
	V6Ip           *string `json:"v6Ip,omitempty"`
	MacAddress     *string `json:"macAddress,omitempty"`
	Type           *string `json:"type,omitempty"`
}

OvnEipSpecApplyConfiguration represents a declarative configuration of the OvnEipSpec type for use with apply.

func OvnEipSpec

func OvnEipSpec() *OvnEipSpecApplyConfiguration

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

func (*OvnEipSpecApplyConfiguration) WithExternalSubnet

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

func (*OvnEipSpecApplyConfiguration) WithMacAddress

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

func (*OvnEipSpecApplyConfiguration) WithType

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

func (*OvnEipSpecApplyConfiguration) WithV4Ip

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

func (*OvnEipSpecApplyConfiguration) WithV6Ip

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

type OvnEipStatusApplyConfiguration

type OvnEipStatusApplyConfiguration struct {
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
	Type       *string                       `json:"type,omitempty"`
	Nat        *string                       `json:"nat,omitempty"`
	Ready      *bool                         `json:"ready,omitempty"`
	V4Ip       *string                       `json:"v4Ip,omitempty"`
	V6Ip       *string                       `json:"v6Ip,omitempty"`
	MacAddress *string                       `json:"macAddress,omitempty"`
}

OvnEipStatusApplyConfiguration represents a declarative configuration of the OvnEipStatus type for use with apply.

func OvnEipStatus

func OvnEipStatus() *OvnEipStatusApplyConfiguration

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

func (*OvnEipStatusApplyConfiguration) 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 (*OvnEipStatusApplyConfiguration) WithMacAddress

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

func (*OvnEipStatusApplyConfiguration) WithNat

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

func (*OvnEipStatusApplyConfiguration) WithReady

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

func (*OvnEipStatusApplyConfiguration) WithType

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

func (*OvnEipStatusApplyConfiguration) WithV4Ip

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

func (*OvnEipStatusApplyConfiguration) WithV6Ip

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

type OvnFipApplyConfiguration

type OvnFipApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *OvnFipSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *OvnFipStatusApplyConfiguration `json:"status,omitempty"`
}

OvnFipApplyConfiguration represents a declarative configuration of the OvnFip type for use with apply.

func OvnFip

func OvnFip(name string) *OvnFipApplyConfiguration

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

func (*OvnFipApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *OvnFipApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OvnFipApplyConfiguration) GetKind added in v1.14.10

func (b *OvnFipApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OvnFipApplyConfiguration) GetName

func (b *OvnFipApplyConfiguration) GetName() *string

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

func (*OvnFipApplyConfiguration) GetNamespace added in v1.14.10

func (b *OvnFipApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OvnFipApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b OvnFipApplyConfiguration) IsApplyConfiguration()

func (*OvnFipApplyConfiguration) WithAPIVersion

func (b *OvnFipApplyConfiguration) WithAPIVersion(value string) *OvnFipApplyConfiguration

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 (*OvnFipApplyConfiguration) WithAnnotations

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

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 (*OvnFipApplyConfiguration) WithCreationTimestamp

func (b *OvnFipApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OvnFipApplyConfiguration

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

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

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 (*OvnFipApplyConfiguration) WithDeletionTimestamp

func (b *OvnFipApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OvnFipApplyConfiguration

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 (*OvnFipApplyConfiguration) WithFinalizers

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

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 (*OvnFipApplyConfiguration) WithGenerateName

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

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 (*OvnFipApplyConfiguration) WithGeneration

func (b *OvnFipApplyConfiguration) WithGeneration(value int64) *OvnFipApplyConfiguration

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 (*OvnFipApplyConfiguration) 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 (*OvnFipApplyConfiguration) WithLabels

func (b *OvnFipApplyConfiguration) WithLabels(entries map[string]string) *OvnFipApplyConfiguration

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 (*OvnFipApplyConfiguration) 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 (*OvnFipApplyConfiguration) WithNamespace

func (b *OvnFipApplyConfiguration) WithNamespace(value string) *OvnFipApplyConfiguration

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 (*OvnFipApplyConfiguration) 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 (*OvnFipApplyConfiguration) WithResourceVersion

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

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 (*OvnFipApplyConfiguration) 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 (*OvnFipApplyConfiguration) 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 (*OvnFipApplyConfiguration) 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 OvnFipSpecApplyConfiguration

type OvnFipSpecApplyConfiguration struct {
	OvnEip *string `json:"ovnEip,omitempty"`
	IPType *string `json:"ipType,omitempty"`
	// vip, ip
	IPName *string `json:"ipName,omitempty"`
	// vip, ip crd name
	Vpc  *string `json:"vpc,omitempty"`
	V4Ip *string `json:"v4Ip,omitempty"`
	V6Ip *string `json:"v6Ip,omitempty"`
	Type *string `json:"type,omitempty"`
}

OvnFipSpecApplyConfiguration represents a declarative configuration of the OvnFipSpec type for use with apply.

func OvnFipSpec

func OvnFipSpec() *OvnFipSpecApplyConfiguration

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

func (*OvnFipSpecApplyConfiguration) WithIPName

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

func (*OvnFipSpecApplyConfiguration) WithIPType

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

func (*OvnFipSpecApplyConfiguration) WithOvnEip

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

func (*OvnFipSpecApplyConfiguration) WithType added in v1.14.10

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

func (*OvnFipSpecApplyConfiguration) WithV4Ip

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

func (*OvnFipSpecApplyConfiguration) WithV6Ip

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

func (*OvnFipSpecApplyConfiguration) WithVpc

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

type OvnFipStatusApplyConfiguration

type OvnFipStatusApplyConfiguration struct {
	Vpc   *string `json:"vpc,omitempty"`
	V4Eip *string `json:"v4Eip,omitempty"`
	V6Eip *string `json:"v6Eip,omitempty"`
	V4Ip  *string `json:"v4Ip,omitempty"`
	V6Ip  *string `json:"v6Ip,omitempty"`
	Ready *bool   `json:"ready,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

OvnFipStatusApplyConfiguration represents a declarative configuration of the OvnFipStatus type for use with apply.

func OvnFipStatus

func OvnFipStatus() *OvnFipStatusApplyConfiguration

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

func (*OvnFipStatusApplyConfiguration) 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 (*OvnFipStatusApplyConfiguration) WithReady

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

func (*OvnFipStatusApplyConfiguration) WithV4Eip

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

func (*OvnFipStatusApplyConfiguration) WithV4Ip

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

func (*OvnFipStatusApplyConfiguration) WithV6Eip

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

func (*OvnFipStatusApplyConfiguration) WithV6Ip

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

func (*OvnFipStatusApplyConfiguration) WithVpc

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

type OvnSnatRuleApplyConfiguration

type OvnSnatRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *OvnSnatRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *OvnSnatRuleStatusApplyConfiguration `json:"status,omitempty"`
}

OvnSnatRuleApplyConfiguration represents a declarative configuration of the OvnSnatRule type for use with apply.

func OvnSnatRule

func OvnSnatRule(name string) *OvnSnatRuleApplyConfiguration

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

func (*OvnSnatRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *OvnSnatRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OvnSnatRuleApplyConfiguration) GetKind added in v1.14.10

func (b *OvnSnatRuleApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OvnSnatRuleApplyConfiguration) GetName

func (b *OvnSnatRuleApplyConfiguration) GetName() *string

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

func (*OvnSnatRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *OvnSnatRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OvnSnatRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b OvnSnatRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 (*OvnSnatRuleApplyConfiguration) 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 OvnSnatRuleSpecApplyConfiguration

type OvnSnatRuleSpecApplyConfiguration struct {
	OvnEip    *string `json:"ovnEip,omitempty"`
	VpcSubnet *string `json:"vpcSubnet,omitempty"`
	IPName    *string `json:"ipName,omitempty"`
	Vpc       *string `json:"vpc,omitempty"`
	V4IpCidr  *string `json:"v4IpCidr,omitempty"`
	// subnet cidr or pod ip address
	V6IpCidr *string `json:"v6IpCidr,omitempty"`
}

OvnSnatRuleSpecApplyConfiguration represents a declarative configuration of the OvnSnatRuleSpec type for use with apply.

func OvnSnatRuleSpec

func OvnSnatRuleSpec() *OvnSnatRuleSpecApplyConfiguration

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

func (*OvnSnatRuleSpecApplyConfiguration) WithIPName

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

func (*OvnSnatRuleSpecApplyConfiguration) WithOvnEip

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

func (*OvnSnatRuleSpecApplyConfiguration) WithV4IpCidr

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

func (*OvnSnatRuleSpecApplyConfiguration) WithV6IpCidr

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

func (*OvnSnatRuleSpecApplyConfiguration) WithVpc

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

func (*OvnSnatRuleSpecApplyConfiguration) WithVpcSubnet

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

type OvnSnatRuleStatusApplyConfiguration

type OvnSnatRuleStatusApplyConfiguration struct {
	Vpc      *string `json:"vpc,omitempty"`
	V4Eip    *string `json:"v4Eip,omitempty"`
	V6Eip    *string `json:"v6Eip,omitempty"`
	V4IpCidr *string `json:"v4IpCidr,omitempty"`
	V6IpCidr *string `json:"v6IpCidr,omitempty"`
	Ready    *bool   `json:"ready,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

OvnSnatRuleStatusApplyConfiguration represents a declarative configuration of the OvnSnatRuleStatus type for use with apply.

func OvnSnatRuleStatus

func OvnSnatRuleStatus() *OvnSnatRuleStatusApplyConfiguration

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

func (*OvnSnatRuleStatusApplyConfiguration) 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 (*OvnSnatRuleStatusApplyConfiguration) WithReady

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

func (*OvnSnatRuleStatusApplyConfiguration) WithV4Eip

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

func (*OvnSnatRuleStatusApplyConfiguration) WithV4IpCidr

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

func (*OvnSnatRuleStatusApplyConfiguration) WithV6Eip

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

func (*OvnSnatRuleStatusApplyConfiguration) WithV6IpCidr

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

func (*OvnSnatRuleStatusApplyConfiguration) WithVpc

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

type PolicyRouteApplyConfiguration

type PolicyRouteApplyConfiguration struct {
	Priority *int                         `json:"priority,omitempty"`
	Match    *string                      `json:"match,omitempty"`
	Action   *kubeovnv1.PolicyRouteAction `json:"action,omitempty"`
	// NextHopIP is an optional parameter. It needs to be provided only when 'action' is 'reroute'.
	NextHopIP *string `json:"nextHopIP,omitempty"`
}

PolicyRouteApplyConfiguration represents a declarative configuration of the PolicyRoute type for use with apply.

func PolicyRoute

func PolicyRoute() *PolicyRouteApplyConfiguration

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

func (*PolicyRouteApplyConfiguration) WithAction

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

func (*PolicyRouteApplyConfiguration) WithMatch

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

func (*PolicyRouteApplyConfiguration) WithNextHopIP

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

func (*PolicyRouteApplyConfiguration) WithPriority

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

type ProviderNetworkApplyConfiguration

type ProviderNetworkApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *ProviderNetworkSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *ProviderNetworkStatusApplyConfiguration `json:"status,omitempty"`
}

ProviderNetworkApplyConfiguration represents a declarative configuration of the ProviderNetwork type for use with apply.

func ProviderNetwork

func ProviderNetwork(name string) *ProviderNetworkApplyConfiguration

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

func (*ProviderNetworkApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *ProviderNetworkApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ProviderNetworkApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ProviderNetworkApplyConfiguration) GetName

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

func (*ProviderNetworkApplyConfiguration) GetNamespace added in v1.14.10

func (b *ProviderNetworkApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ProviderNetworkApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b ProviderNetworkApplyConfiguration) IsApplyConfiguration()

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

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

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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 (*ProviderNetworkApplyConfiguration) 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 ProviderNetworkConditionApplyConfiguration

type ProviderNetworkConditionApplyConfiguration struct {
	// Node name
	Node *string `json:"node,omitempty"`
}

ProviderNetworkConditionApplyConfiguration represents a declarative configuration of the ProviderNetworkCondition type for use with apply.

func ProviderNetworkCondition

func ProviderNetworkCondition() *ProviderNetworkConditionApplyConfiguration

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

func (*ProviderNetworkConditionApplyConfiguration) WithNode

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

type ProviderNetworkSpecApplyConfiguration

type ProviderNetworkSpecApplyConfiguration struct {
	DefaultInterface *string                             `json:"defaultInterface,omitempty"`
	CustomInterfaces []CustomInterfaceApplyConfiguration `json:"customInterfaces,omitempty"`
	ExcludeNodes     []string                            `json:"excludeNodes,omitempty"`
	ExchangeLinkName *bool                               `json:"exchangeLinkName,omitempty"`
}

ProviderNetworkSpecApplyConfiguration represents a declarative configuration of the ProviderNetworkSpec type for use with apply.

func ProviderNetworkSpec

func ProviderNetworkSpec() *ProviderNetworkSpecApplyConfiguration

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

func (*ProviderNetworkSpecApplyConfiguration) WithCustomInterfaces

WithCustomInterfaces adds the given value to the CustomInterfaces 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 CustomInterfaces field.

func (*ProviderNetworkSpecApplyConfiguration) WithDefaultInterface

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

func (*ProviderNetworkSpecApplyConfiguration) WithExchangeLinkName

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

func (*ProviderNetworkSpecApplyConfiguration) WithExcludeNodes

WithExcludeNodes adds the given value to the ExcludeNodes 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 ExcludeNodes field.

type ProviderNetworkStatusApplyConfiguration

type ProviderNetworkStatusApplyConfiguration struct {
	Ready         *bool    `json:"ready,omitempty"`
	ReadyNodes    []string `json:"readyNodes,omitempty"`
	NotReadyNodes []string `json:"notReadyNodes,omitempty"`
	Vlans         []string `json:"vlans,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ProviderNetworkConditionApplyConfiguration `json:"conditions,omitempty"`
}

ProviderNetworkStatusApplyConfiguration represents a declarative configuration of the ProviderNetworkStatus type for use with apply.

func ProviderNetworkStatus

func ProviderNetworkStatus() *ProviderNetworkStatusApplyConfiguration

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

func (*ProviderNetworkStatusApplyConfiguration) 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 (*ProviderNetworkStatusApplyConfiguration) WithNotReadyNodes

WithNotReadyNodes adds the given value to the NotReadyNodes 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 NotReadyNodes field.

func (*ProviderNetworkStatusApplyConfiguration) WithReady

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

func (*ProviderNetworkStatusApplyConfiguration) WithReadyNodes

WithReadyNodes adds the given value to the ReadyNodes 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 ReadyNodes field.

func (*ProviderNetworkStatusApplyConfiguration) WithVlans

WithVlans adds the given value to the Vlans 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 Vlans field.

type QoSPolicyApplyConfiguration

type QoSPolicyApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *QoSPolicySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *QoSPolicyStatusApplyConfiguration `json:"status,omitempty"`
}

QoSPolicyApplyConfiguration represents a declarative configuration of the QoSPolicy type for use with apply.

func QoSPolicy

func QoSPolicy(name string) *QoSPolicyApplyConfiguration

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

func (*QoSPolicyApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *QoSPolicyApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*QoSPolicyApplyConfiguration) GetKind added in v1.14.10

func (b *QoSPolicyApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*QoSPolicyApplyConfiguration) GetName

func (b *QoSPolicyApplyConfiguration) GetName() *string

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

func (*QoSPolicyApplyConfiguration) GetNamespace added in v1.14.10

func (b *QoSPolicyApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (QoSPolicyApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b QoSPolicyApplyConfiguration) IsApplyConfiguration()

func (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) WithAnnotations

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

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

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

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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) WithFinalizers

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

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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) WithResourceVersion

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

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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 (*QoSPolicyApplyConfiguration) 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 QoSPolicyBandwidthLimitRuleApplyConfiguration

type QoSPolicyBandwidthLimitRuleApplyConfiguration struct {
	Name       *string                           `json:"name,omitempty"`
	Interface  *string                           `json:"interface,omitempty"`
	RateMax    *string                           `json:"rateMax,omitempty"`
	BurstMax   *string                           `json:"burstMax,omitempty"`
	Priority   *int                              `json:"priority,omitempty"`
	Direction  *kubeovnv1.QoSPolicyRuleDirection `json:"direction,omitempty"`
	MatchType  *kubeovnv1.QoSPolicyRuleMatchType `json:"matchType,omitempty"`
	MatchValue *string                           `json:"matchValue,omitempty"`
}

QoSPolicyBandwidthLimitRuleApplyConfiguration represents a declarative configuration of the QoSPolicyBandwidthLimitRule type for use with apply.

BandwidthLimitRule describes the rule of an bandwidth limit.

func QoSPolicyBandwidthLimitRule

func QoSPolicyBandwidthLimitRule() *QoSPolicyBandwidthLimitRuleApplyConfiguration

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithBurstMax

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithDirection

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithInterface

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithMatchType

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithMatchValue

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) 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 (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithPriority

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

func (*QoSPolicyBandwidthLimitRuleApplyConfiguration) WithRateMax

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

type QoSPolicySpecApplyConfiguration

type QoSPolicySpecApplyConfiguration struct {
	BandwidthLimitRules *kubeovnv1.QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules,omitempty"`
	Shared              *bool                                   `json:"shared,omitempty"`
	BindingType         *kubeovnv1.QoSPolicyBindingType         `json:"bindingType,omitempty"`
}

QoSPolicySpecApplyConfiguration represents a declarative configuration of the QoSPolicySpec type for use with apply.

func QoSPolicySpec

func QoSPolicySpec() *QoSPolicySpecApplyConfiguration

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

func (*QoSPolicySpecApplyConfiguration) WithBandwidthLimitRules

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

func (*QoSPolicySpecApplyConfiguration) WithBindingType

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

func (*QoSPolicySpecApplyConfiguration) WithShared

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

type QoSPolicyStatusApplyConfiguration

type QoSPolicyStatusApplyConfiguration struct {
	BandwidthLimitRules *kubeovnv1.QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules,omitempty"`
	Shared              *bool                                   `json:"shared,omitempty"`
	BindingType         *kubeovnv1.QoSPolicyBindingType         `json:"bindingType,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

QoSPolicyStatusApplyConfiguration represents a declarative configuration of the QoSPolicyStatus type for use with apply.

func QoSPolicyStatus

func QoSPolicyStatus() *QoSPolicyStatusApplyConfiguration

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

func (*QoSPolicyStatusApplyConfiguration) WithBandwidthLimitRules

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

func (*QoSPolicyStatusApplyConfiguration) WithBindingType

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

func (*QoSPolicyStatusApplyConfiguration) 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 (*QoSPolicyStatusApplyConfiguration) WithShared

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

type SecurityGroupApplyConfiguration

type SecurityGroupApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *SecurityGroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *SecurityGroupStatusApplyConfiguration `json:"status,omitempty"`
}

SecurityGroupApplyConfiguration represents a declarative configuration of the SecurityGroup type for use with apply.

func SecurityGroup

func SecurityGroup(name string) *SecurityGroupApplyConfiguration

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

func (*SecurityGroupApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *SecurityGroupApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SecurityGroupApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SecurityGroupApplyConfiguration) GetName

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

func (*SecurityGroupApplyConfiguration) GetNamespace added in v1.14.10

func (b *SecurityGroupApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SecurityGroupApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b SecurityGroupApplyConfiguration) IsApplyConfiguration()

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

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

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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 (*SecurityGroupApplyConfiguration) 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 SecurityGroupRuleApplyConfiguration added in v1.14.10

type SecurityGroupRuleApplyConfiguration struct {
	IPVersion           *string                 `json:"ipVersion,omitempty"`
	Protocol            *kubeovnv1.SgProtocol   `json:"protocol,omitempty"`
	Priority            *int                    `json:"priority,omitempty"`
	RemoteType          *kubeovnv1.SgRemoteType `json:"remoteType,omitempty"`
	RemoteAddress       *string                 `json:"remoteAddress,omitempty"`
	RemoteSecurityGroup *string                 `json:"remoteSecurityGroup,omitempty"`
	PortRangeMin        *int                    `json:"portRangeMin,omitempty"`
	PortRangeMax        *int                    `json:"portRangeMax,omitempty"`
	Policy              *kubeovnv1.SgPolicy     `json:"policy,omitempty"`
}

SecurityGroupRuleApplyConfiguration represents a declarative configuration of the SecurityGroupRule type for use with apply.

func SecurityGroupRule added in v1.14.10

func SecurityGroupRule() *SecurityGroupRuleApplyConfiguration

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

func (*SecurityGroupRuleApplyConfiguration) WithIPVersion added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithPolicy added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithPortRangeMax added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithPortRangeMin added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithPriority added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithProtocol added in v1.14.10

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 (*SecurityGroupRuleApplyConfiguration) WithRemoteAddress added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithRemoteSecurityGroup added in v1.14.10

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

func (*SecurityGroupRuleApplyConfiguration) WithRemoteType added in v1.14.10

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

type SecurityGroupSpecApplyConfiguration

type SecurityGroupSpecApplyConfiguration struct {
	IngressRules          []SecurityGroupRuleApplyConfiguration `json:"ingressRules,omitempty"`
	EgressRules           []SecurityGroupRuleApplyConfiguration `json:"egressRules,omitempty"`
	AllowSameGroupTraffic *bool                                 `json:"allowSameGroupTraffic,omitempty"`
}

SecurityGroupSpecApplyConfiguration represents a declarative configuration of the SecurityGroupSpec type for use with apply.

func SecurityGroupSpec

func SecurityGroupSpec() *SecurityGroupSpecApplyConfiguration

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

func (*SecurityGroupSpecApplyConfiguration) WithAllowSameGroupTraffic

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

func (*SecurityGroupSpecApplyConfiguration) WithEgressRules

WithEgressRules adds the given value to the EgressRules 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 EgressRules field.

func (*SecurityGroupSpecApplyConfiguration) WithIngressRules

WithIngressRules adds the given value to the IngressRules 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 IngressRules field.

type SecurityGroupStatusApplyConfiguration

type SecurityGroupStatusApplyConfiguration struct {
	PortGroup              *string `json:"portGroup,omitempty"`
	AllowSameGroupTraffic  *bool   `json:"allowSameGroupTraffic,omitempty"`
	IngressMd5             *string `json:"ingressMd5,omitempty"`
	EgressMd5              *string `json:"egressMd5,omitempty"`
	IngressLastSyncSuccess *bool   `json:"ingressLastSyncSuccess,omitempty"`
	EgressLastSyncSuccess  *bool   `json:"egressLastSyncSuccess,omitempty"`
}

SecurityGroupStatusApplyConfiguration represents a declarative configuration of the SecurityGroupStatus type for use with apply.

func SecurityGroupStatus

func SecurityGroupStatus() *SecurityGroupStatusApplyConfiguration

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

func (*SecurityGroupStatusApplyConfiguration) WithAllowSameGroupTraffic

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

func (*SecurityGroupStatusApplyConfiguration) WithEgressLastSyncSuccess

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

func (*SecurityGroupStatusApplyConfiguration) WithEgressMd5

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

func (*SecurityGroupStatusApplyConfiguration) WithIngressLastSyncSuccess

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

func (*SecurityGroupStatusApplyConfiguration) WithIngressMd5

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

func (*SecurityGroupStatusApplyConfiguration) WithPortGroup

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

type StaticRouteApplyConfiguration

type StaticRouteApplyConfiguration struct {
	Policy     *kubeovnv1.RoutePolicy `json:"policy,omitempty"`
	CIDR       *string                `json:"cidr,omitempty"`
	NextHopIP  *string                `json:"nextHopIP,omitempty"`
	ECMPMode   *string                `json:"ecmpMode,omitempty"`
	BfdID      *string                `json:"bfdId,omitempty"`
	RouteTable *string                `json:"routeTable,omitempty"`
}

StaticRouteApplyConfiguration represents a declarative configuration of the StaticRoute type for use with apply.

func StaticRoute

func StaticRoute() *StaticRouteApplyConfiguration

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

func (*StaticRouteApplyConfiguration) WithBfdID

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

func (*StaticRouteApplyConfiguration) WithCIDR

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

func (*StaticRouteApplyConfiguration) WithECMPMode

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

func (*StaticRouteApplyConfiguration) WithNextHopIP

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

func (*StaticRouteApplyConfiguration) WithPolicy

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

func (*StaticRouteApplyConfiguration) WithRouteTable

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

type SubnetApplyConfiguration

type SubnetApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *SubnetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *SubnetStatusApplyConfiguration `json:"status,omitempty"`
}

SubnetApplyConfiguration represents a declarative configuration of the Subnet type for use with apply.

func Subnet

func Subnet(name string) *SubnetApplyConfiguration

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

func (*SubnetApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *SubnetApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SubnetApplyConfiguration) GetKind added in v1.14.10

func (b *SubnetApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SubnetApplyConfiguration) GetName

func (b *SubnetApplyConfiguration) GetName() *string

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

func (*SubnetApplyConfiguration) GetNamespace added in v1.14.10

func (b *SubnetApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SubnetApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b SubnetApplyConfiguration) IsApplyConfiguration()

func (*SubnetApplyConfiguration) WithAPIVersion

func (b *SubnetApplyConfiguration) WithAPIVersion(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithAnnotations

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

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 (*SubnetApplyConfiguration) WithCreationTimestamp

func (b *SubnetApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *SubnetApplyConfiguration

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

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

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 (*SubnetApplyConfiguration) WithDeletionTimestamp

func (b *SubnetApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithFinalizers

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

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 (*SubnetApplyConfiguration) WithGenerateName

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

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 (*SubnetApplyConfiguration) WithGeneration

func (b *SubnetApplyConfiguration) WithGeneration(value int64) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) WithLabels

func (b *SubnetApplyConfiguration) WithLabels(entries map[string]string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) WithNamespace

func (b *SubnetApplyConfiguration) WithNamespace(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) WithResourceVersion

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

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 (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) 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 SubnetSpecApplyConfiguration

type SubnetSpecApplyConfiguration struct {
	Default                 *bool                                     `json:"default,omitempty"`
	Vpc                     *string                                   `json:"vpc,omitempty"`
	Protocol                *string                                   `json:"protocol,omitempty"`
	Namespaces              []string                                  `json:"namespaces,omitempty"`
	CIDRBlock               *string                                   `json:"cidrBlock,omitempty"`
	Gateway                 *string                                   `json:"gateway,omitempty"`
	ExcludeIps              []string                                  `json:"excludeIps,omitempty"`
	Provider                *string                                   `json:"provider,omitempty"`
	GatewayType             *string                                   `json:"gatewayType,omitempty"`
	GatewayNode             *string                                   `json:"gatewayNode,omitempty"`
	NatOutgoing             *bool                                     `json:"natOutgoing,omitempty"`
	ExternalEgressGateway   *string                                   `json:"externalEgressGateway,omitempty"`
	PolicyRoutingPriority   *uint32                                   `json:"policyRoutingPriority,omitempty"`
	PolicyRoutingTableID    *uint32                                   `json:"policyRoutingTableID,omitempty"`
	Mtu                     *uint32                                   `json:"mtu,omitempty"`
	Private                 *bool                                     `json:"private,omitempty"`
	AllowSubnets            []string                                  `json:"allowSubnets,omitempty"`
	Vlan                    *string                                   `json:"vlan,omitempty"`
	Vips                    []string                                  `json:"vips,omitempty"`
	LogicalGateway          *bool                                     `json:"logicalGateway,omitempty"`
	DisableGatewayCheck     *bool                                     `json:"disableGatewayCheck,omitempty"`
	DisableInterConnection  *bool                                     `json:"disableInterConnection,omitempty"`
	EnableDHCP              *bool                                     `json:"enableDHCP,omitempty"`
	DHCPv4Options           *string                                   `json:"dhcpV4Options,omitempty"`
	DHCPv6Options           *string                                   `json:"dhcpV6Options,omitempty"`
	EnableIPv6RA            *bool                                     `json:"enableIPv6RA,omitempty"`
	IPv6RAConfigs           *string                                   `json:"ipv6RAConfigs,omitempty"`
	Acls                    []ACLApplyConfiguration                   `json:"acls,omitempty"`
	AllowEWTraffic          *bool                                     `json:"allowEWTraffic,omitempty"`
	NatOutgoingPolicyRules  []NatOutgoingPolicyRuleApplyConfiguration `json:"natOutgoingPolicyRules,omitempty"`
	U2OInterconnectionIP    *string                                   `json:"u2oInterconnectionIP,omitempty"`
	U2OInterconnection      *bool                                     `json:"u2oInterconnection,omitempty"`
	EnableLb                *bool                                     `json:"enableLb,omitempty"`
	EnableEcmp              *bool                                     `json:"enableEcmp,omitempty"`
	EnableMulticastSnoop    *bool                                     `json:"enableMulticastSnoop,omitempty"`
	EnableExternalLBAddress *bool                                     `json:"enableExternalLBAddress,omitempty"`
	RouteTable              *string                                   `json:"routeTable,omitempty"`
	NamespaceSelectors      []metav1.LabelSelectorApplyConfiguration  `json:"namespaceSelectors,omitempty"`
}

SubnetSpecApplyConfiguration represents a declarative configuration of the SubnetSpec type for use with apply.

func SubnetSpec

func SubnetSpec() *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithAcls

WithAcls adds the given value to the Acls 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 Acls field.

func (*SubnetSpecApplyConfiguration) WithAllowEWTraffic

func (b *SubnetSpecApplyConfiguration) WithAllowEWTraffic(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithAllowSubnets

func (b *SubnetSpecApplyConfiguration) WithAllowSubnets(values ...string) *SubnetSpecApplyConfiguration

WithAllowSubnets adds the given value to the AllowSubnets 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 AllowSubnets field.

func (*SubnetSpecApplyConfiguration) WithCIDRBlock

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

func (*SubnetSpecApplyConfiguration) WithDHCPv4Options

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

func (*SubnetSpecApplyConfiguration) WithDHCPv6Options

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

func (*SubnetSpecApplyConfiguration) WithDefault

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

func (*SubnetSpecApplyConfiguration) WithDisableGatewayCheck

func (b *SubnetSpecApplyConfiguration) WithDisableGatewayCheck(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithDisableInterConnection

func (b *SubnetSpecApplyConfiguration) WithDisableInterConnection(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithEnableDHCP

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

func (*SubnetSpecApplyConfiguration) WithEnableEcmp

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

func (*SubnetSpecApplyConfiguration) WithEnableExternalLBAddress added in v1.14.10

func (b *SubnetSpecApplyConfiguration) WithEnableExternalLBAddress(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithEnableIPv6RA

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

func (*SubnetSpecApplyConfiguration) WithEnableLb

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

func (*SubnetSpecApplyConfiguration) WithEnableMulticastSnoop

func (b *SubnetSpecApplyConfiguration) WithEnableMulticastSnoop(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithExcludeIps

WithExcludeIps adds the given value to the ExcludeIps 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 ExcludeIps field.

func (*SubnetSpecApplyConfiguration) WithExternalEgressGateway

func (b *SubnetSpecApplyConfiguration) WithExternalEgressGateway(value string) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithGateway

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

func (*SubnetSpecApplyConfiguration) WithGatewayNode

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

func (*SubnetSpecApplyConfiguration) WithGatewayType

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

func (*SubnetSpecApplyConfiguration) WithIPv6RAConfigs

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

func (*SubnetSpecApplyConfiguration) WithLogicalGateway

func (b *SubnetSpecApplyConfiguration) WithLogicalGateway(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithMtu

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

func (*SubnetSpecApplyConfiguration) WithNamespaceSelectors added in v1.14.10

WithNamespaceSelectors adds the given value to the NamespaceSelectors 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 NamespaceSelectors field.

func (*SubnetSpecApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*SubnetSpecApplyConfiguration) WithNatOutgoing

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

func (*SubnetSpecApplyConfiguration) WithNatOutgoingPolicyRules

WithNatOutgoingPolicyRules adds the given value to the NatOutgoingPolicyRules 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 NatOutgoingPolicyRules field.

func (*SubnetSpecApplyConfiguration) WithPolicyRoutingPriority

func (b *SubnetSpecApplyConfiguration) WithPolicyRoutingPriority(value uint32) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithPolicyRoutingTableID

func (b *SubnetSpecApplyConfiguration) WithPolicyRoutingTableID(value uint32) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithPrivate

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

func (*SubnetSpecApplyConfiguration) 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 (*SubnetSpecApplyConfiguration) WithProvider

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

func (*SubnetSpecApplyConfiguration) WithRouteTable

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

func (*SubnetSpecApplyConfiguration) WithU2OInterconnection

func (b *SubnetSpecApplyConfiguration) WithU2OInterconnection(value bool) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithU2OInterconnectionIP

func (b *SubnetSpecApplyConfiguration) WithU2OInterconnectionIP(value string) *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithVips

WithVips adds the given value to the Vips 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 Vips field.

func (*SubnetSpecApplyConfiguration) WithVlan

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

func (*SubnetSpecApplyConfiguration) WithVpc

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

type SubnetStatusApplyConfiguration

type SubnetStatusApplyConfiguration struct {
	// Conditions represents the latest state of the object
	Conditions             []ConditionApplyConfiguration                   `json:"conditions,omitempty"`
	V4AvailableIPs         *float64                                        `json:"v4availableIPs,omitempty"`
	V4AvailableIPRange     *string                                         `json:"v4availableIPrange,omitempty"`
	V4UsingIPs             *float64                                        `json:"v4usingIPs,omitempty"`
	V4UsingIPRange         *string                                         `json:"v4usingIPrange,omitempty"`
	V6AvailableIPs         *float64                                        `json:"v6availableIPs,omitempty"`
	V6AvailableIPRange     *string                                         `json:"v6availableIPrange,omitempty"`
	V6UsingIPs             *float64                                        `json:"v6usingIPs,omitempty"`
	V6UsingIPRange         *string                                         `json:"v6usingIPrange,omitempty"`
	ActivateGateway        *string                                         `json:"activateGateway,omitempty"`
	DHCPv4OptionsUUID      *string                                         `json:"dhcpV4OptionsUUID,omitempty"`
	DHCPv6OptionsUUID      *string                                         `json:"dhcpV6OptionsUUID,omitempty"`
	U2OInterconnectionIP   *string                                         `json:"u2oInterconnectionIP,omitempty"`
	U2OInterconnectionMAC  *string                                         `json:"u2oInterconnectionMAC,omitempty"`
	U2OInterconnectionVPC  *string                                         `json:"u2oInterconnectionVPC,omitempty"`
	NatOutgoingPolicyRules []NatOutgoingPolicyRuleStatusApplyConfiguration `json:"natOutgoingPolicyRules,omitempty"`
	McastQuerierIP         *string                                         `json:"mcastQuerierIP,omitempty"`
	McastQuerierMAC        *string                                         `json:"mcastQuerierMAC,omitempty"`
}

SubnetStatusApplyConfiguration represents a declarative configuration of the SubnetStatus type for use with apply.

func SubnetStatus

func SubnetStatus() *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithActivateGateway

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

func (*SubnetStatusApplyConfiguration) 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 (*SubnetStatusApplyConfiguration) WithDHCPv4OptionsUUID

func (b *SubnetStatusApplyConfiguration) WithDHCPv4OptionsUUID(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithDHCPv6OptionsUUID

func (b *SubnetStatusApplyConfiguration) WithDHCPv6OptionsUUID(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithMcastQuerierIP

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

func (*SubnetStatusApplyConfiguration) WithMcastQuerierMAC

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

func (*SubnetStatusApplyConfiguration) WithNatOutgoingPolicyRules

WithNatOutgoingPolicyRules adds the given value to the NatOutgoingPolicyRules 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 NatOutgoingPolicyRules field.

func (*SubnetStatusApplyConfiguration) WithU2OInterconnectionIP

func (b *SubnetStatusApplyConfiguration) WithU2OInterconnectionIP(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithU2OInterconnectionMAC

func (b *SubnetStatusApplyConfiguration) WithU2OInterconnectionMAC(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithU2OInterconnectionVPC

func (b *SubnetStatusApplyConfiguration) WithU2OInterconnectionVPC(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithV4AvailableIPRange

func (b *SubnetStatusApplyConfiguration) WithV4AvailableIPRange(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithV4AvailableIPs

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

func (*SubnetStatusApplyConfiguration) WithV4UsingIPRange

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

func (*SubnetStatusApplyConfiguration) WithV4UsingIPs

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

func (*SubnetStatusApplyConfiguration) WithV6AvailableIPRange

func (b *SubnetStatusApplyConfiguration) WithV6AvailableIPRange(value string) *SubnetStatusApplyConfiguration

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

func (*SubnetStatusApplyConfiguration) WithV6AvailableIPs

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

func (*SubnetStatusApplyConfiguration) WithV6UsingIPRange

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

func (*SubnetStatusApplyConfiguration) WithV6UsingIPs

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

type SwitchLBRuleApplyConfiguration

type SwitchLBRuleApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *SwitchLBRuleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *SwitchLBRuleStatusApplyConfiguration `json:"status,omitempty"`
}

SwitchLBRuleApplyConfiguration represents a declarative configuration of the SwitchLBRule type for use with apply.

func SwitchLBRule

func SwitchLBRule(name string) *SwitchLBRuleApplyConfiguration

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

func (*SwitchLBRuleApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *SwitchLBRuleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SwitchLBRuleApplyConfiguration) GetKind added in v1.14.10

func (b *SwitchLBRuleApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SwitchLBRuleApplyConfiguration) GetName

func (b *SwitchLBRuleApplyConfiguration) GetName() *string

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

func (*SwitchLBRuleApplyConfiguration) GetNamespace added in v1.14.10

func (b *SwitchLBRuleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SwitchLBRuleApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b SwitchLBRuleApplyConfiguration) IsApplyConfiguration()

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

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

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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 (*SwitchLBRuleApplyConfiguration) 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 SwitchLBRulePortApplyConfiguration added in v1.14.10

type SwitchLBRulePortApplyConfiguration struct {
	Name       *string `json:"name,omitempty"`
	Port       *int32  `json:"port,omitempty"`
	TargetPort *int32  `json:"targetPort,omitempty"`
	Protocol   *string `json:"protocol,omitempty"`
}

SwitchLBRulePortApplyConfiguration represents a declarative configuration of the SwitchLBRulePort type for use with apply.

func SwitchLBRulePort added in v1.14.10

func SwitchLBRulePort() *SwitchLBRulePortApplyConfiguration

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

func (*SwitchLBRulePortApplyConfiguration) WithName added in v1.14.10

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 (*SwitchLBRulePortApplyConfiguration) WithPort added in v1.14.10

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 (*SwitchLBRulePortApplyConfiguration) WithProtocol added in v1.14.10

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 (*SwitchLBRulePortApplyConfiguration) WithTargetPort added in v1.14.10

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

type SwitchLBRuleSpecApplyConfiguration

type SwitchLBRuleSpecApplyConfiguration struct {
	Vip             *string                              `json:"vip,omitempty"`
	Namespace       *string                              `json:"namespace,omitempty"`
	Selector        []string                             `json:"selector,omitempty"`
	Endpoints       []string                             `json:"endpoints,omitempty"`
	SessionAffinity *string                              `json:"sessionAffinity,omitempty"`
	Ports           []SwitchLBRulePortApplyConfiguration `json:"ports,omitempty"`
}

SwitchLBRuleSpecApplyConfiguration represents a declarative configuration of the SwitchLBRuleSpec type for use with apply.

func SwitchLBRuleSpec

func SwitchLBRuleSpec() *SwitchLBRuleSpecApplyConfiguration

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

func (*SwitchLBRuleSpecApplyConfiguration) WithEndpoints

WithEndpoints adds the given value to the Endpoints 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 Endpoints field.

func (*SwitchLBRuleSpecApplyConfiguration) 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 (*SwitchLBRuleSpecApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports 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 Ports field.

func (*SwitchLBRuleSpecApplyConfiguration) WithSelector

WithSelector adds the given value to the Selector 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 Selector field.

func (*SwitchLBRuleSpecApplyConfiguration) WithSessionAffinity

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

func (*SwitchLBRuleSpecApplyConfiguration) WithVip

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

type SwitchLBRuleStatusApplyConfiguration

type SwitchLBRuleStatusApplyConfiguration struct {
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
	Ports      *string                       `json:"ports,omitempty"`
	Service    *string                       `json:"service,omitempty"`
}

SwitchLBRuleStatusApplyConfiguration represents a declarative configuration of the SwitchLBRuleStatus type for use with apply.

func SwitchLBRuleStatus

func SwitchLBRuleStatus() *SwitchLBRuleStatusApplyConfiguration

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

func (*SwitchLBRuleStatusApplyConfiguration) 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 (*SwitchLBRuleStatusApplyConfiguration) WithPorts

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

func (*SwitchLBRuleStatusApplyConfiguration) WithService

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

type VipApplyConfiguration

type VipApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VipSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VipStatusApplyConfiguration `json:"status,omitempty"`
}

VipApplyConfiguration represents a declarative configuration of the Vip type for use with apply.

func Vip

func Vip(name string) *VipApplyConfiguration

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

func (*VipApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VipApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VipApplyConfiguration) GetKind added in v1.14.10

func (b *VipApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VipApplyConfiguration) GetName

func (b *VipApplyConfiguration) GetName() *string

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

func (*VipApplyConfiguration) GetNamespace added in v1.14.10

func (b *VipApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VipApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VipApplyConfiguration) IsApplyConfiguration()

func (*VipApplyConfiguration) WithAPIVersion

func (b *VipApplyConfiguration) WithAPIVersion(value string) *VipApplyConfiguration

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 (*VipApplyConfiguration) WithAnnotations

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

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 (*VipApplyConfiguration) WithCreationTimestamp

func (b *VipApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *VipApplyConfiguration

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

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

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 (*VipApplyConfiguration) WithDeletionTimestamp

func (b *VipApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *VipApplyConfiguration

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 (*VipApplyConfiguration) WithFinalizers

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

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 (*VipApplyConfiguration) WithGenerateName

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

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 (*VipApplyConfiguration) WithGeneration

func (b *VipApplyConfiguration) WithGeneration(value int64) *VipApplyConfiguration

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 (*VipApplyConfiguration) 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 (*VipApplyConfiguration) WithLabels

func (b *VipApplyConfiguration) WithLabels(entries map[string]string) *VipApplyConfiguration

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 (*VipApplyConfiguration) 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 (*VipApplyConfiguration) WithNamespace

func (b *VipApplyConfiguration) WithNamespace(value string) *VipApplyConfiguration

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 (*VipApplyConfiguration) 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 (*VipApplyConfiguration) WithResourceVersion

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

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 (*VipApplyConfiguration) 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 (*VipApplyConfiguration) 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 (*VipApplyConfiguration) 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 VipSpecApplyConfiguration

type VipSpecApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Subnet    *string `json:"subnet,omitempty"`
	Type      *string `json:"type,omitempty"`
	// usage type: switch lb vip, allowed address pair vip by default
	V4ip          *string  `json:"v4ip,omitempty"`
	V6ip          *string  `json:"v6ip,omitempty"`
	MacAddress    *string  `json:"macAddress,omitempty"`
	Selector      []string `json:"selector,omitempty"`
	AttachSubnets []string `json:"attachSubnets,omitempty"`
}

VipSpecApplyConfiguration represents a declarative configuration of the VipSpec type for use with apply.

func VipSpec

func VipSpec() *VipSpecApplyConfiguration

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

func (*VipSpecApplyConfiguration) WithAttachSubnets

func (b *VipSpecApplyConfiguration) WithAttachSubnets(values ...string) *VipSpecApplyConfiguration

WithAttachSubnets adds the given value to the AttachSubnets 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 AttachSubnets field.

func (*VipSpecApplyConfiguration) WithMacAddress

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

func (*VipSpecApplyConfiguration) 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 (*VipSpecApplyConfiguration) WithSelector

func (b *VipSpecApplyConfiguration) WithSelector(values ...string) *VipSpecApplyConfiguration

WithSelector adds the given value to the Selector 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 Selector field.

func (*VipSpecApplyConfiguration) WithSubnet

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

func (*VipSpecApplyConfiguration) WithType

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

func (*VipSpecApplyConfiguration) WithV4ip

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

func (*VipSpecApplyConfiguration) WithV6ip

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

type VipStatusApplyConfiguration

type VipStatusApplyConfiguration struct {
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
	Type       *string                       `json:"type,omitempty"`
	V4ip       *string                       `json:"v4ip,omitempty"`
	V6ip       *string                       `json:"v6ip,omitempty"`
	Mac        *string                       `json:"mac,omitempty"`
}

VipStatusApplyConfiguration represents a declarative configuration of the VipStatus type for use with apply.

func VipStatus

func VipStatus() *VipStatusApplyConfiguration

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

func (*VipStatusApplyConfiguration) 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 (*VipStatusApplyConfiguration) WithMac

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

func (*VipStatusApplyConfiguration) WithType

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

func (*VipStatusApplyConfiguration) WithV4ip

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

func (*VipStatusApplyConfiguration) WithV6ip

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

type VlanApplyConfiguration

type VlanApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VlanSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VlanStatusApplyConfiguration `json:"status,omitempty"`
}

VlanApplyConfiguration represents a declarative configuration of the Vlan type for use with apply.

func Vlan

func Vlan(name string) *VlanApplyConfiguration

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

func (*VlanApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VlanApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VlanApplyConfiguration) GetKind added in v1.14.10

func (b *VlanApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VlanApplyConfiguration) GetName

func (b *VlanApplyConfiguration) GetName() *string

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

func (*VlanApplyConfiguration) GetNamespace added in v1.14.10

func (b *VlanApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VlanApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VlanApplyConfiguration) IsApplyConfiguration()

func (*VlanApplyConfiguration) WithAPIVersion

func (b *VlanApplyConfiguration) WithAPIVersion(value string) *VlanApplyConfiguration

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 (*VlanApplyConfiguration) WithAnnotations

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

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 (*VlanApplyConfiguration) WithCreationTimestamp

func (b *VlanApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *VlanApplyConfiguration

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

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

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 (*VlanApplyConfiguration) WithDeletionTimestamp

func (b *VlanApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *VlanApplyConfiguration

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 (*VlanApplyConfiguration) WithFinalizers

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

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 (*VlanApplyConfiguration) WithGenerateName

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

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 (*VlanApplyConfiguration) WithGeneration

func (b *VlanApplyConfiguration) WithGeneration(value int64) *VlanApplyConfiguration

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 (*VlanApplyConfiguration) 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 (*VlanApplyConfiguration) WithLabels

func (b *VlanApplyConfiguration) WithLabels(entries map[string]string) *VlanApplyConfiguration

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 (*VlanApplyConfiguration) 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 (*VlanApplyConfiguration) WithNamespace

func (b *VlanApplyConfiguration) WithNamespace(value string) *VlanApplyConfiguration

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 (*VlanApplyConfiguration) 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 (*VlanApplyConfiguration) WithResourceVersion

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

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 (*VlanApplyConfiguration) 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 (*VlanApplyConfiguration) 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 (*VlanApplyConfiguration) 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 VlanSpecApplyConfiguration

type VlanSpecApplyConfiguration struct {
	// deprecated fields, use ID & Provider instead
	VlanID                *int    `json:"vlanId,omitempty"`
	ProviderInterfaceName *string `json:"providerInterfaceName,omitempty"`
	ID                    *int    `json:"id,omitempty"`
	Provider              *string `json:"provider,omitempty"`
}

VlanSpecApplyConfiguration represents a declarative configuration of the VlanSpec type for use with apply.

func VlanSpec

func VlanSpec() *VlanSpecApplyConfiguration

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

func (*VlanSpecApplyConfiguration) WithID

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

func (*VlanSpecApplyConfiguration) WithProvider

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

func (*VlanSpecApplyConfiguration) WithProviderInterfaceName

func (b *VlanSpecApplyConfiguration) WithProviderInterfaceName(value string) *VlanSpecApplyConfiguration

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

func (*VlanSpecApplyConfiguration) WithVlanID

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

type VlanStatusApplyConfiguration

type VlanStatusApplyConfiguration struct {
	Subnets  []string `json:"subnets,omitempty"`
	Conflict *bool    `json:"conflict,omitempty"`
	// Conditions represents the latest state of the object
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

VlanStatusApplyConfiguration represents a declarative configuration of the VlanStatus type for use with apply.

func VlanStatus

func VlanStatus() *VlanStatusApplyConfiguration

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

func (*VlanStatusApplyConfiguration) 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 (*VlanStatusApplyConfiguration) WithConflict added in v1.14.10

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

func (*VlanStatusApplyConfiguration) WithSubnets

WithSubnets adds the given value to the Subnets 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 Subnets field.

type VpcApplyConfiguration

type VpcApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VpcSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VpcStatusApplyConfiguration `json:"status,omitempty"`
}

VpcApplyConfiguration represents a declarative configuration of the Vpc type for use with apply.

func Vpc

func Vpc(name string) *VpcApplyConfiguration

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

func (*VpcApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VpcApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VpcApplyConfiguration) GetKind added in v1.14.10

func (b *VpcApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VpcApplyConfiguration) GetName

func (b *VpcApplyConfiguration) GetName() *string

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

func (*VpcApplyConfiguration) GetNamespace added in v1.14.10

func (b *VpcApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VpcApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VpcApplyConfiguration) IsApplyConfiguration()

func (*VpcApplyConfiguration) WithAPIVersion

func (b *VpcApplyConfiguration) WithAPIVersion(value string) *VpcApplyConfiguration

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 (*VpcApplyConfiguration) WithAnnotations

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

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 (*VpcApplyConfiguration) WithCreationTimestamp

func (b *VpcApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *VpcApplyConfiguration

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

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

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 (*VpcApplyConfiguration) WithDeletionTimestamp

func (b *VpcApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *VpcApplyConfiguration

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 (*VpcApplyConfiguration) WithFinalizers

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

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 (*VpcApplyConfiguration) WithGenerateName

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

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 (*VpcApplyConfiguration) WithGeneration

func (b *VpcApplyConfiguration) WithGeneration(value int64) *VpcApplyConfiguration

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 (*VpcApplyConfiguration) 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 (*VpcApplyConfiguration) WithLabels

func (b *VpcApplyConfiguration) WithLabels(entries map[string]string) *VpcApplyConfiguration

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 (*VpcApplyConfiguration) 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 (*VpcApplyConfiguration) WithNamespace

func (b *VpcApplyConfiguration) WithNamespace(value string) *VpcApplyConfiguration

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 (*VpcApplyConfiguration) 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 (*VpcApplyConfiguration) WithResourceVersion

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

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 (*VpcApplyConfiguration) 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 (*VpcApplyConfiguration) 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 (*VpcApplyConfiguration) 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 VpcBgpSpeakerApplyConfiguration

type VpcBgpSpeakerApplyConfiguration struct {
	Enabled               *bool            `json:"enabled,omitempty"`
	ASN                   *uint32          `json:"asn,omitempty"`
	RemoteASN             *uint32          `json:"remoteAsn,omitempty"`
	Neighbors             []string         `json:"neighbors,omitempty"`
	HoldTime              *metav1.Duration `json:"holdTime,omitempty"`
	RouterID              *string          `json:"routerId,omitempty"`
	Password              *string          `json:"password,omitempty"`
	EnableGracefulRestart *bool            `json:"enableGracefulRestart,omitempty"`
	ExtraArgs             []string         `json:"extraArgs,omitempty"`
}

VpcBgpSpeakerApplyConfiguration represents a declarative configuration of the VpcBgpSpeaker type for use with apply.

func VpcBgpSpeaker

func VpcBgpSpeaker() *VpcBgpSpeakerApplyConfiguration

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

func (*VpcBgpSpeakerApplyConfiguration) WithASN

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

func (*VpcBgpSpeakerApplyConfiguration) WithEnableGracefulRestart

func (b *VpcBgpSpeakerApplyConfiguration) WithEnableGracefulRestart(value bool) *VpcBgpSpeakerApplyConfiguration

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

func (*VpcBgpSpeakerApplyConfiguration) WithEnabled

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

func (*VpcBgpSpeakerApplyConfiguration) WithExtraArgs

WithExtraArgs adds the given value to the ExtraArgs 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 ExtraArgs field.

func (*VpcBgpSpeakerApplyConfiguration) WithHoldTime

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

func (*VpcBgpSpeakerApplyConfiguration) WithNeighbors

WithNeighbors adds the given value to the Neighbors 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 Neighbors field.

func (*VpcBgpSpeakerApplyConfiguration) WithPassword

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

func (*VpcBgpSpeakerApplyConfiguration) WithRemoteASN

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

func (*VpcBgpSpeakerApplyConfiguration) WithRouterID

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

type VpcDNSSpecApplyConfiguration

type VpcDNSSpecApplyConfiguration struct {
	Replicas *int32  `json:"replicas,omitempty"`
	Vpc      *string `json:"vpc,omitempty"`
	Subnet   *string `json:"subnet,omitempty"`
}

VpcDNSSpecApplyConfiguration represents a declarative configuration of the VpcDNSSpec type for use with apply.

func VpcDNSSpec

func VpcDNSSpec() *VpcDNSSpecApplyConfiguration

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

func (*VpcDNSSpecApplyConfiguration) WithReplicas

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

func (*VpcDNSSpecApplyConfiguration) WithSubnet

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

func (*VpcDNSSpecApplyConfiguration) WithVpc

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

type VpcDNSStatusApplyConfiguration

type VpcDNSStatusApplyConfiguration struct {
	Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"`
	Active     *bool                         `json:"active,omitempty"`
}

VpcDNSStatusApplyConfiguration represents a declarative configuration of the VpcDNSStatus type for use with apply.

func VpcDNSStatus

func VpcDNSStatus() *VpcDNSStatusApplyConfiguration

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

func (*VpcDNSStatusApplyConfiguration) WithActive

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

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

type VpcDnsApplyConfiguration

type VpcDnsApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VpcDNSSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VpcDNSStatusApplyConfiguration `json:"status,omitempty"`
}

VpcDnsApplyConfiguration represents a declarative configuration of the VpcDns type for use with apply.

func VpcDns

func VpcDns(name string) *VpcDnsApplyConfiguration

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

func (*VpcDnsApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VpcDnsApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VpcDnsApplyConfiguration) GetKind added in v1.14.10

func (b *VpcDnsApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VpcDnsApplyConfiguration) GetName

func (b *VpcDnsApplyConfiguration) GetName() *string

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

func (*VpcDnsApplyConfiguration) GetNamespace added in v1.14.10

func (b *VpcDnsApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VpcDnsApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VpcDnsApplyConfiguration) IsApplyConfiguration()

func (*VpcDnsApplyConfiguration) WithAPIVersion

func (b *VpcDnsApplyConfiguration) WithAPIVersion(value string) *VpcDnsApplyConfiguration

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 (*VpcDnsApplyConfiguration) WithAnnotations

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

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 (*VpcDnsApplyConfiguration) WithCreationTimestamp

func (b *VpcDnsApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *VpcDnsApplyConfiguration

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

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

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 (*VpcDnsApplyConfiguration) WithDeletionTimestamp

func (b *VpcDnsApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *VpcDnsApplyConfiguration

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 (*VpcDnsApplyConfiguration) WithFinalizers

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

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 (*VpcDnsApplyConfiguration) WithGenerateName

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

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 (*VpcDnsApplyConfiguration) WithGeneration

func (b *VpcDnsApplyConfiguration) WithGeneration(value int64) *VpcDnsApplyConfiguration

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 (*VpcDnsApplyConfiguration) 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 (*VpcDnsApplyConfiguration) WithLabels

func (b *VpcDnsApplyConfiguration) WithLabels(entries map[string]string) *VpcDnsApplyConfiguration

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 (*VpcDnsApplyConfiguration) 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 (*VpcDnsApplyConfiguration) WithNamespace

func (b *VpcDnsApplyConfiguration) WithNamespace(value string) *VpcDnsApplyConfiguration

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 (*VpcDnsApplyConfiguration) 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 (*VpcDnsApplyConfiguration) WithResourceVersion

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

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 (*VpcDnsApplyConfiguration) 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 (*VpcDnsApplyConfiguration) 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 (*VpcDnsApplyConfiguration) 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 VpcEgressGatewayApplyConfiguration added in v1.14.10

type VpcEgressGatewayApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VpcEgressGatewaySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VpcEgressGatewayStatusApplyConfiguration `json:"status,omitempty"`
}

VpcEgressGatewayApplyConfiguration represents a declarative configuration of the VpcEgressGateway type for use with apply.

vpc egress gateway is used to forward the egress traffic from the VPC to the external network

func VpcEgressGateway added in v1.14.10

func VpcEgressGateway(name, namespace string) *VpcEgressGatewayApplyConfiguration

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

func (*VpcEgressGatewayApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VpcEgressGatewayApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VpcEgressGatewayApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VpcEgressGatewayApplyConfiguration) GetName added in v1.14.10

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

func (*VpcEgressGatewayApplyConfiguration) GetNamespace added in v1.14.10

func (b *VpcEgressGatewayApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VpcEgressGatewayApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VpcEgressGatewayApplyConfiguration) IsApplyConfiguration()

func (*VpcEgressGatewayApplyConfiguration) WithAPIVersion added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithAnnotations added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithCreationTimestamp added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithDeletionGracePeriodSeconds added in v1.14.10

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

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 (*VpcEgressGatewayApplyConfiguration) WithDeletionTimestamp added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithFinalizers added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithGenerateName added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithGeneration added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithKind added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithLabels added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithName added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithNamespace added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithOwnerReferences added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithResourceVersion added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithSpec added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithStatus added in v1.14.10

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 (*VpcEgressGatewayApplyConfiguration) WithUID added in v1.14.10

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 VpcEgressGatewayBFDConfigApplyConfiguration added in v1.14.10

type VpcEgressGatewayBFDConfigApplyConfiguration struct {
	// whether to enable BFD
	// if set to true, the egress gateway will establish BFD session(s) with the VPC BFD LRP
	// the VPC's .spec.bfd.enabled must be set to true to enable BFD
	Enabled *bool `json:"enabled,omitempty"`
	// optional BFD minRX/minTX/multiplier
	MinRX      *int32 `json:"minRX,omitempty"`
	MinTX      *int32 `json:"minTX,omitempty"`
	Multiplier *int32 `json:"multiplier,omitempty"`
}

VpcEgressGatewayBFDConfigApplyConfiguration represents a declarative configuration of the VpcEgressGatewayBFDConfig type for use with apply.

func VpcEgressGatewayBFDConfig added in v1.14.10

func VpcEgressGatewayBFDConfig() *VpcEgressGatewayBFDConfigApplyConfiguration

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

func (*VpcEgressGatewayBFDConfigApplyConfiguration) WithEnabled added in v1.14.10

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

func (*VpcEgressGatewayBFDConfigApplyConfiguration) WithMinRX added in v1.14.10

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

func (*VpcEgressGatewayBFDConfigApplyConfiguration) WithMinTX added in v1.14.10

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

func (*VpcEgressGatewayBFDConfigApplyConfiguration) WithMultiplier added in v1.14.10

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

type VpcEgressGatewayNodeSelectorApplyConfiguration added in v1.14.10

type VpcEgressGatewayNodeSelectorApplyConfiguration struct {
	MatchLabels      map[string]string                `json:"matchLabels,omitempty"`
	MatchExpressions []corev1.NodeSelectorRequirement `json:"matchExpressions,omitempty"`
	MatchFields      []corev1.NodeSelectorRequirement `json:"matchFields,omitempty"`
}

VpcEgressGatewayNodeSelectorApplyConfiguration represents a declarative configuration of the VpcEgressGatewayNodeSelector type for use with apply.

func VpcEgressGatewayNodeSelector added in v1.14.10

func VpcEgressGatewayNodeSelector() *VpcEgressGatewayNodeSelectorApplyConfiguration

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

func (*VpcEgressGatewayNodeSelectorApplyConfiguration) WithMatchExpressions added in v1.14.10

WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.

func (*VpcEgressGatewayNodeSelectorApplyConfiguration) WithMatchFields added in v1.14.10

WithMatchFields adds the given value to the MatchFields 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 MatchFields field.

func (*VpcEgressGatewayNodeSelectorApplyConfiguration) WithMatchLabels added in v1.14.10

WithMatchLabels puts the entries into the MatchLabels 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 MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.

type VpcEgressGatewayPolicyApplyConfiguration added in v1.14.10

type VpcEgressGatewayPolicyApplyConfiguration struct {
	// whether to enable SNAT/MASQUERADE for the egress traffic
	SNAT *bool `json:"snat,omitempty"`
	// CIDRs/subnets targeted by the egress traffic policy
	IPBlocks []string `json:"ipBlocks,omitempty"`
	Subnets  []string `json:"subnets,omitempty"`
}

VpcEgressGatewayPolicyApplyConfiguration represents a declarative configuration of the VpcEgressGatewayPolicy type for use with apply.

func VpcEgressGatewayPolicy added in v1.14.10

func VpcEgressGatewayPolicy() *VpcEgressGatewayPolicyApplyConfiguration

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

func (*VpcEgressGatewayPolicyApplyConfiguration) WithIPBlocks added in v1.14.10

WithIPBlocks adds the given value to the IPBlocks 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 IPBlocks field.

func (*VpcEgressGatewayPolicyApplyConfiguration) WithSNAT added in v1.14.10

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

func (*VpcEgressGatewayPolicyApplyConfiguration) WithSubnets added in v1.14.10

WithSubnets adds the given value to the Subnets 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 Subnets field.

type VpcEgressGatewaySelectorApplyConfiguration added in v1.14.10

type VpcEgressGatewaySelectorApplyConfiguration struct {
	NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	PodSelector       *metav1.LabelSelectorApplyConfiguration `json:"podSelector,omitempty"`
}

VpcEgressGatewaySelectorApplyConfiguration represents a declarative configuration of the VpcEgressGatewaySelector type for use with apply.

func VpcEgressGatewaySelector added in v1.14.10

func VpcEgressGatewaySelector() *VpcEgressGatewaySelectorApplyConfiguration

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

func (*VpcEgressGatewaySelectorApplyConfiguration) WithNamespaceSelector added in v1.14.10

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

func (*VpcEgressGatewaySelectorApplyConfiguration) WithPodSelector added in v1.14.10

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

type VpcEgressGatewaySpecApplyConfiguration added in v1.14.10

type VpcEgressGatewaySpecApplyConfiguration struct {
	// optional VPC name
	// if not specified, the default VPC will be used
	VPC *string `json:"vpc,omitempty"`
	// workload replicas
	Replicas *int32 `json:"replicas,omitempty"`
	// optional name prefix used to generate the workload
	// the workload name will be generated as <prefix><vpc-egress-gateway-name>
	Prefix *string `json:"prefix,omitempty"`
	// optional image used by the workload
	// if not specified, the default image passed in by kube-ovn-controller will be used
	Image *string `json:"image,omitempty"`
	// optional internal subnet used to create the workload
	// if not specified, the workload will be created in the default subnet of the VPC
	InternalSubnet *string `json:"internalSubnet,omitempty"`
	// external subnet used to create the workload
	ExternalSubnet *string `json:"externalSubnet,omitempty"`
	// optional internal/external IPs used to create the workload
	// these IPs must be in the internal/external subnet
	// the IPs count must NOT be less than the replicas count
	InternalIPs []string `json:"internalIPs,omitempty"`
	ExternalIPs []string `json:"externalIPs,omitempty"`
	// namespace/pod selectors
	Selectors []VpcEgressGatewaySelectorApplyConfiguration `json:"selectors,omitempty"`
	// optional traffic policy used to control the traffic routing
	// if not specified, the default traffic policy "Cluster" will be used
	// if set to "Local", traffic will be routed to the gateway pod/instance on the same node when available
	// currently it works only for the default vpc
	TrafficPolicy *string `json:"trafficPolicy,omitempty"`
	// BFD configuration
	BFD *VpcEgressGatewayBFDConfigApplyConfiguration `json:"bfd,omitempty"`
	// egress policies
	// at least one policy must be specified
	Policies []VpcEgressGatewayPolicyApplyConfiguration `json:"policies,omitempty"`
	// optional node selector used to select the nodes where the workload will be running
	NodeSelector []VpcEgressGatewayNodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
}

VpcEgressGatewaySpecApplyConfiguration represents a declarative configuration of the VpcEgressGatewaySpec type for use with apply.

func VpcEgressGatewaySpec added in v1.14.10

func VpcEgressGatewaySpec() *VpcEgressGatewaySpecApplyConfiguration

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithBFD added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithExternalIPs added in v1.14.10

WithExternalIPs adds the given value to the ExternalIPs 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 ExternalIPs field.

func (*VpcEgressGatewaySpecApplyConfiguration) WithExternalSubnet added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithImage added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithInternalIPs added in v1.14.10

WithInternalIPs adds the given value to the InternalIPs 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 InternalIPs field.

func (*VpcEgressGatewaySpecApplyConfiguration) WithInternalSubnet added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithNodeSelector added in v1.14.10

WithNodeSelector adds the given value to the NodeSelector 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 NodeSelector field.

func (*VpcEgressGatewaySpecApplyConfiguration) WithPolicies added in v1.14.10

WithPolicies adds the given value to the Policies 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 Policies field.

func (*VpcEgressGatewaySpecApplyConfiguration) WithPrefix added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithReplicas added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithSelectors added in v1.14.10

WithSelectors adds the given value to the Selectors 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 Selectors field.

func (*VpcEgressGatewaySpecApplyConfiguration) WithTrafficPolicy added in v1.14.10

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

func (*VpcEgressGatewaySpecApplyConfiguration) WithVPC added in v1.14.10

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

type VpcEgressGatewayStatusApplyConfiguration added in v1.14.10

type VpcEgressGatewayStatusApplyConfiguration struct {
	// used by the scale subresource
	Replicas      *int32  `json:"replicas,omitempty"`
	LabelSelector *string `json:"labelSelector,omitempty"`
	// whether the egress gateway is ready
	Ready *bool            `json:"ready,omitempty"`
	Phase *kubeovnv1.Phase `json:"phase,omitempty"`
	// internal/external IPs used by the workload
	InternalIPs []string              `json:"internalIPs,omitempty"`
	ExternalIPs []string              `json:"externalIPs,omitempty"`
	Conditions  *kubeovnv1.Conditions `json:"conditions,omitempty"`
	// workload information
	Workload *VpcEgressWorkloadApplyConfiguration `json:"workload,omitempty"`
}

VpcEgressGatewayStatusApplyConfiguration represents a declarative configuration of the VpcEgressGatewayStatus type for use with apply.

func VpcEgressGatewayStatus added in v1.14.10

func VpcEgressGatewayStatus() *VpcEgressGatewayStatusApplyConfiguration

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithConditions added in v1.14.10

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithExternalIPs added in v1.14.10

WithExternalIPs adds the given value to the ExternalIPs 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 ExternalIPs field.

func (*VpcEgressGatewayStatusApplyConfiguration) WithInternalIPs added in v1.14.10

WithInternalIPs adds the given value to the InternalIPs 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 InternalIPs field.

func (*VpcEgressGatewayStatusApplyConfiguration) WithLabelSelector added in v1.14.10

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithPhase added in v1.14.10

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithReady added in v1.14.10

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithReplicas added in v1.14.10

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

func (*VpcEgressGatewayStatusApplyConfiguration) WithWorkload added in v1.14.10

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

type VpcEgressWorkloadApplyConfiguration added in v1.14.10

type VpcEgressWorkloadApplyConfiguration struct {
	APIVersion *string `json:"apiVersion,omitempty"`
	Kind       *string `json:"kind,omitempty"`
	Name       *string `json:"name,omitempty"`
	// nodes where the workload is running
	Nodes []string `json:"nodes,omitempty"`
}

VpcEgressWorkloadApplyConfiguration represents a declarative configuration of the VpcEgressWorkload type for use with apply.

func VpcEgressWorkload added in v1.14.10

func VpcEgressWorkload() *VpcEgressWorkloadApplyConfiguration

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

func (*VpcEgressWorkloadApplyConfiguration) WithAPIVersion added in v1.14.10

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 (*VpcEgressWorkloadApplyConfiguration) WithKind added in v1.14.10

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 (*VpcEgressWorkloadApplyConfiguration) WithName added in v1.14.10

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 (*VpcEgressWorkloadApplyConfiguration) WithNodes added in v1.14.10

WithNodes adds the given value to the Nodes 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 Nodes field.

type VpcNatGatewayApplyConfiguration

type VpcNatGatewayApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VpcNatGatewaySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VpcNatGatewayStatusApplyConfiguration `json:"status,omitempty"`
}

VpcNatGatewayApplyConfiguration represents a declarative configuration of the VpcNatGateway type for use with apply.

func VpcNatGateway

func VpcNatGateway(name string) *VpcNatGatewayApplyConfiguration

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

func (*VpcNatGatewayApplyConfiguration) GetAPIVersion added in v1.14.10

func (b *VpcNatGatewayApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VpcNatGatewayApplyConfiguration) GetKind added in v1.14.10

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VpcNatGatewayApplyConfiguration) GetName

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

func (*VpcNatGatewayApplyConfiguration) GetNamespace added in v1.14.10

func (b *VpcNatGatewayApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VpcNatGatewayApplyConfiguration) IsApplyConfiguration added in v1.14.10

func (b VpcNatGatewayApplyConfiguration) IsApplyConfiguration()

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

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

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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 (*VpcNatGatewayApplyConfiguration) 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 VpcNatGatewaySpecApplyConfiguration added in v1.14.10

type VpcNatGatewaySpecApplyConfiguration struct {
	Vpc             *string                          `json:"vpc,omitempty"`
	Subnet          *string                          `json:"subnet,omitempty"`
	ExternalSubnets []string                         `json:"externalSubnets,omitempty"`
	LanIP           *string                          `json:"lanIp,omitempty"`
	Selector        []string                         `json:"selector,omitempty"`
	Tolerations     []corev1.Toleration              `json:"tolerations,omitempty"`
	Affinity        *corev1.Affinity                 `json:"affinity,omitempty"`
	QoSPolicy       *string                          `json:"qosPolicy,omitempty"`
	BgpSpeaker      *VpcBgpSpeakerApplyConfiguration `json:"bgpSpeaker,omitempty"`
}

VpcNatGatewaySpecApplyConfiguration represents a declarative configuration of the VpcNatGatewaySpec type for use with apply.

func VpcNatGatewaySpec added in v1.14.10

func VpcNatGatewaySpec() *VpcNatGatewaySpecApplyConfiguration

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

func (*VpcNatGatewaySpecApplyConfiguration) WithAffinity added in v1.14.10

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

func (*VpcNatGatewaySpecApplyConfiguration) WithBgpSpeaker added in v1.14.10

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

func (*VpcNatGatewaySpecApplyConfiguration) WithExternalSubnets added in v1.14.10

WithExternalSubnets adds the given value to the ExternalSubnets 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 ExternalSubnets field.

func (*VpcNatGatewaySpecApplyConfiguration) WithLanIP added in v1.14.10

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

func (*VpcNatGatewaySpecApplyConfiguration) WithQoSPolicy added in v1.14.10

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

func (*VpcNatGatewaySpecApplyConfiguration) WithSelector added in v1.14.10

WithSelector adds the given value to the Selector 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 Selector field.

func (*VpcNatGatewaySpecApplyConfiguration) WithSubnet added in v1.14.10

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

func (*VpcNatGatewaySpecApplyConfiguration) WithTolerations added in v1.14.10

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

func (*VpcNatGatewaySpecApplyConfiguration) WithVpc added in v1.14.10

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

type VpcNatGatewayStatusApplyConfiguration added in v1.14.10

type VpcNatGatewayStatusApplyConfiguration struct {
	QoSPolicy       *string             `json:"qosPolicy,omitempty"`
	ExternalSubnets []string            `json:"externalSubnets,omitempty"`
	Selector        []string            `json:"selector,omitempty"`
	Tolerations     []corev1.Toleration `json:"tolerations,omitempty"`
	Affinity        *corev1.Affinity    `json:"affinity,omitempty"`
}

VpcNatGatewayStatusApplyConfiguration represents a declarative configuration of the VpcNatGatewayStatus type for use with apply.

func VpcNatGatewayStatus added in v1.14.10

func VpcNatGatewayStatus() *VpcNatGatewayStatusApplyConfiguration

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

func (*VpcNatGatewayStatusApplyConfiguration) WithAffinity added in v1.14.10

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

func (*VpcNatGatewayStatusApplyConfiguration) WithExternalSubnets added in v1.14.10

WithExternalSubnets adds the given value to the ExternalSubnets 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 ExternalSubnets field.

func (*VpcNatGatewayStatusApplyConfiguration) WithQoSPolicy added in v1.14.10

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

func (*VpcNatGatewayStatusApplyConfiguration) WithSelector added in v1.14.10

WithSelector adds the given value to the Selector 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 Selector field.

func (*VpcNatGatewayStatusApplyConfiguration) WithTolerations added in v1.14.10

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

type VpcPeeringApplyConfiguration

type VpcPeeringApplyConfiguration struct {
	RemoteVpc      *string `json:"remoteVpc,omitempty"`
	LocalConnectIP *string `json:"localConnectIP,omitempty"`
}

VpcPeeringApplyConfiguration represents a declarative configuration of the VpcPeering type for use with apply.

func VpcPeering

func VpcPeering() *VpcPeeringApplyConfiguration

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

func (*VpcPeeringApplyConfiguration) WithLocalConnectIP

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

func (*VpcPeeringApplyConfiguration) WithRemoteVpc

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

type VpcSpecApplyConfiguration

type VpcSpecApplyConfiguration struct {
	DefaultSubnet        *string                  `json:"defaultSubnet,omitempty"`
	Namespaces           []string                 `json:"namespaces,omitempty"`
	StaticRoutes         []*kubeovnv1.StaticRoute `json:"staticRoutes,omitempty"`
	PolicyRoutes         []*kubeovnv1.PolicyRoute `json:"policyRoutes,omitempty"`
	VpcPeerings          []*kubeovnv1.VpcPeering  `json:"vpcPeerings,omitempty"`
	EnableExternal       *bool                    `json:"enableExternal,omitempty"`
	ExtraExternalSubnets []string                 `json:"extraExternalSubnets,omitempty"`
	EnableBfd            *bool                    `json:"enableBfd,omitempty"`
	// optional BFD LRP configuration
	// currently the LRP is used for vpc external gateway only
	BFDPort *BFDPortApplyConfiguration `json:"bfdPort,omitempty"`
}

VpcSpecApplyConfiguration represents a declarative configuration of the VpcSpec type for use with apply.

func VpcSpec

func VpcSpec() *VpcSpecApplyConfiguration

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

func (*VpcSpecApplyConfiguration) WithBFDPort added in v1.14.10

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

func (*VpcSpecApplyConfiguration) WithDefaultSubnet

func (b *VpcSpecApplyConfiguration) WithDefaultSubnet(value string) *VpcSpecApplyConfiguration

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

func (*VpcSpecApplyConfiguration) WithEnableBfd

func (b *VpcSpecApplyConfiguration) WithEnableBfd(value bool) *VpcSpecApplyConfiguration

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

func (*VpcSpecApplyConfiguration) WithEnableExternal

func (b *VpcSpecApplyConfiguration) WithEnableExternal(value bool) *VpcSpecApplyConfiguration

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

func (*VpcSpecApplyConfiguration) WithExtraExternalSubnets

func (b *VpcSpecApplyConfiguration) WithExtraExternalSubnets(values ...string) *VpcSpecApplyConfiguration

WithExtraExternalSubnets adds the given value to the ExtraExternalSubnets 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 ExtraExternalSubnets field.

func (*VpcSpecApplyConfiguration) WithNamespaces

func (b *VpcSpecApplyConfiguration) WithNamespaces(values ...string) *VpcSpecApplyConfiguration

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*VpcSpecApplyConfiguration) WithPolicyRoutes

WithPolicyRoutes adds the given value to the PolicyRoutes 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 PolicyRoutes field.

func (*VpcSpecApplyConfiguration) WithStaticRoutes

WithStaticRoutes adds the given value to the StaticRoutes 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 StaticRoutes field.

func (*VpcSpecApplyConfiguration) WithVpcPeerings

WithVpcPeerings adds the given value to the VpcPeerings 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 VpcPeerings field.

type VpcStatusApplyConfiguration

type VpcStatusApplyConfiguration struct {
	// Conditions represents the latest state of the object
	Conditions              []ConditionApplyConfiguration    `json:"conditions,omitempty"`
	Standby                 *bool                            `json:"standby,omitempty"`
	Default                 *bool                            `json:"default,omitempty"`
	DefaultLogicalSwitch    *string                          `json:"defaultLogicalSwitch,omitempty"`
	Router                  *string                          `json:"router,omitempty"`
	TCPLoadBalancer         *string                          `json:"tcpLoadBalancer,omitempty"`
	UDPLoadBalancer         *string                          `json:"udpLoadBalancer,omitempty"`
	SctpLoadBalancer        *string                          `json:"sctpLoadBalancer,omitempty"`
	TCPSessionLoadBalancer  *string                          `json:"tcpSessionLoadBalancer,omitempty"`
	UDPSessionLoadBalancer  *string                          `json:"udpSessionLoadBalancer,omitempty"`
	SctpSessionLoadBalancer *string                          `json:"sctpSessionLoadBalancer,omitempty"`
	Subnets                 []string                         `json:"subnets,omitempty"`
	VpcPeerings             []string                         `json:"vpcPeerings,omitempty"`
	EnableExternal          *bool                            `json:"enableExternal,omitempty"`
	ExtraExternalSubnets    []string                         `json:"extraExternalSubnets,omitempty"`
	EnableBfd               *bool                            `json:"enableBfd,omitempty"`
	BFDPort                 *BFDPortStatusApplyConfiguration `json:"bfdPort,omitempty"`
}

VpcStatusApplyConfiguration represents a declarative configuration of the VpcStatus type for use with apply.

func VpcStatus

func VpcStatus() *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithBFDPort added in v1.14.10

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

func (*VpcStatusApplyConfiguration) 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 (*VpcStatusApplyConfiguration) WithDefault

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

func (*VpcStatusApplyConfiguration) WithDefaultLogicalSwitch

func (b *VpcStatusApplyConfiguration) WithDefaultLogicalSwitch(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithEnableBfd

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

func (*VpcStatusApplyConfiguration) WithEnableExternal

func (b *VpcStatusApplyConfiguration) WithEnableExternal(value bool) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithExtraExternalSubnets

func (b *VpcStatusApplyConfiguration) WithExtraExternalSubnets(values ...string) *VpcStatusApplyConfiguration

WithExtraExternalSubnets adds the given value to the ExtraExternalSubnets 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 ExtraExternalSubnets field.

func (*VpcStatusApplyConfiguration) WithRouter

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

func (*VpcStatusApplyConfiguration) WithSctpLoadBalancer

func (b *VpcStatusApplyConfiguration) WithSctpLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithSctpSessionLoadBalancer

func (b *VpcStatusApplyConfiguration) WithSctpSessionLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithStandby

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

func (*VpcStatusApplyConfiguration) WithSubnets

WithSubnets adds the given value to the Subnets 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 Subnets field.

func (*VpcStatusApplyConfiguration) WithTCPLoadBalancer

func (b *VpcStatusApplyConfiguration) WithTCPLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithTCPSessionLoadBalancer

func (b *VpcStatusApplyConfiguration) WithTCPSessionLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithUDPLoadBalancer

func (b *VpcStatusApplyConfiguration) WithUDPLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithUDPSessionLoadBalancer

func (b *VpcStatusApplyConfiguration) WithUDPSessionLoadBalancer(value string) *VpcStatusApplyConfiguration

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

func (*VpcStatusApplyConfiguration) WithVpcPeerings

func (b *VpcStatusApplyConfiguration) WithVpcPeerings(values ...string) *VpcStatusApplyConfiguration

WithVpcPeerings adds the given value to the VpcPeerings 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 VpcPeerings field.

Jump to

Keyboard shortcuts

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