v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 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 ConditionApplyConfiguration

type ConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

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

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) 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) GetName

func (b *IPApplyConfiguration) GetName() *string

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

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) GetName

func (b *IPPoolApplyConfiguration) GetName() *string

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

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 IPPoolConditionApplyConfiguration

type IPPoolConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

IPPoolConditionApplyConfiguration represents a declarative configuration of the IPPoolCondition type for use with apply.

func IPPoolCondition

func IPPoolCondition() *IPPoolConditionApplyConfiguration

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

func (*IPPoolConditionApplyConfiguration) WithLastTransitionTime

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 (*IPPoolConditionApplyConfiguration) 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 (*IPPoolConditionApplyConfiguration) 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 (*IPPoolConditionApplyConfiguration) 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 (*IPPoolConditionApplyConfiguration) 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 (*IPPoolConditionApplyConfiguration) 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 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         []IPPoolConditionApplyConfiguration `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) GetName

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

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 IptablesDnatRuleConditionApplyConfiguration

type IptablesDnatRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

IptablesDnatRuleConditionApplyConfiguration represents a declarative configuration of the IptablesDnatRuleCondition type for use with apply.

func IptablesDnatRuleCondition

func IptablesDnatRuleCondition() *IptablesDnatRuleConditionApplyConfiguration

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

func (*IptablesDnatRuleConditionApplyConfiguration) WithLastTransitionTime

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 (*IptablesDnatRuleConditionApplyConfiguration) 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 (*IptablesDnatRuleConditionApplyConfiguration) 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 (*IptablesDnatRuleConditionApplyConfiguration) 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 (*IptablesDnatRuleConditionApplyConfiguration) 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 (*IptablesDnatRuleConditionApplyConfiguration) 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 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   []IptablesDnatRuleConditionApplyConfiguration `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) GetName

func (b *IptablesEIPApplyConfiguration) GetName() *string

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

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 IptablesEIPConditionApplyConfiguration

type IptablesEIPConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

IptablesEIPConditionApplyConfiguration represents a declarative configuration of the IptablesEIPCondition type for use with apply.

func IptablesEIPCondition

func IptablesEIPCondition() *IptablesEIPConditionApplyConfiguration

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

func (*IptablesEIPConditionApplyConfiguration) WithLastTransitionTime

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 (*IptablesEIPConditionApplyConfiguration) 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 (*IptablesEIPConditionApplyConfiguration) 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 (*IptablesEIPConditionApplyConfiguration) 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 (*IptablesEIPConditionApplyConfiguration) 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 (*IptablesEIPConditionApplyConfiguration) 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 IptablesEipSpecApplyConfiguration

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

func IptablesEipSpec() *IptablesEipSpecApplyConfiguration

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

func (*IptablesEipSpecApplyConfiguration) 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 (*IptablesEipSpecApplyConfiguration) 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 (*IptablesEipSpecApplyConfiguration) 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 (*IptablesEipSpecApplyConfiguration) WithQoSPolicy

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

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

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

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 []IptablesEIPConditionApplyConfiguration `json:"conditions,omitempty"`
}

IptablesEipStatusApplyConfiguration represents a declarative configuration of the IptablesEipStatus type for use with apply.

func IptablesEipStatus

func IptablesEipStatus() *IptablesEipStatusApplyConfiguration

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

func (*IptablesEipStatusApplyConfiguration) 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 (*IptablesEipStatusApplyConfiguration) WithIP

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

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

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

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

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) GetName

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

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 IptablesFIPRuleConditionApplyConfiguration

type IptablesFIPRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

IptablesFIPRuleConditionApplyConfiguration represents a declarative configuration of the IptablesFIPRuleCondition type for use with apply.

func IptablesFIPRuleCondition

func IptablesFIPRuleCondition() *IptablesFIPRuleConditionApplyConfiguration

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

func (*IptablesFIPRuleConditionApplyConfiguration) WithLastTransitionTime

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 (*IptablesFIPRuleConditionApplyConfiguration) 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 (*IptablesFIPRuleConditionApplyConfiguration) 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 (*IptablesFIPRuleConditionApplyConfiguration) 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 (*IptablesFIPRuleConditionApplyConfiguration) 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 (*IptablesFIPRuleConditionApplyConfiguration) 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 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 []IptablesFIPRuleConditionApplyConfiguration `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) GetName

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

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 IptablesSnatRuleConditionApplyConfiguration

type IptablesSnatRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

IptablesSnatRuleConditionApplyConfiguration represents a declarative configuration of the IptablesSnatRuleCondition type for use with apply.

func IptablesSnatRuleCondition

func IptablesSnatRuleCondition() *IptablesSnatRuleConditionApplyConfiguration

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

func (*IptablesSnatRuleConditionApplyConfiguration) WithLastTransitionTime

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 (*IptablesSnatRuleConditionApplyConfiguration) 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 (*IptablesSnatRuleConditionApplyConfiguration) 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 (*IptablesSnatRuleConditionApplyConfiguration) 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 (*IptablesSnatRuleConditionApplyConfiguration) 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 (*IptablesSnatRuleConditionApplyConfiguration) 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 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   []IptablesSnatRuleConditionApplyConfiguration `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) GetName

func (b *OvnDnatRuleApplyConfiguration) GetName() *string

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

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 OvnDnatRuleConditionApplyConfiguration

type OvnDnatRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

OvnDnatRuleConditionApplyConfiguration represents a declarative configuration of the OvnDnatRuleCondition type for use with apply.

func OvnDnatRuleCondition

func OvnDnatRuleCondition() *OvnDnatRuleConditionApplyConfiguration

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

func (*OvnDnatRuleConditionApplyConfiguration) WithLastTransitionTime

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

type OvnDnatRuleSpecApplyConfiguration struct {
	OvnEip       *string `json:"ovnEip,omitempty"`
	IPType       *string `json:"ipType,omitempty"`
	IPName       *string `json:"ipName,omitempty"`
	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   []OvnDnatRuleConditionApplyConfiguration `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) GetName

func (b *OvnEipApplyConfiguration) GetName() *string

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

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 OvnEipConditionApplyConfiguration

type OvnEipConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

OvnEipConditionApplyConfiguration represents a declarative configuration of the OvnEipCondition type for use with apply.

func OvnEipCondition

func OvnEipCondition() *OvnEipConditionApplyConfiguration

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

func (*OvnEipConditionApplyConfiguration) WithLastTransitionTime

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 (*OvnEipConditionApplyConfiguration) 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 (*OvnEipConditionApplyConfiguration) 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 (*OvnEipConditionApplyConfiguration) 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 (*OvnEipConditionApplyConfiguration) 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 (*OvnEipConditionApplyConfiguration) 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 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 []OvnEipConditionApplyConfiguration `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) GetName

func (b *OvnFipApplyConfiguration) GetName() *string

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

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 OvnFipConditionApplyConfiguration

type OvnFipConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

OvnFipConditionApplyConfiguration represents a declarative configuration of the OvnFipCondition type for use with apply.

func OvnFipCondition

func OvnFipCondition() *OvnFipConditionApplyConfiguration

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

func (*OvnFipConditionApplyConfiguration) WithLastTransitionTime

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

type OvnFipSpecApplyConfiguration struct {
	OvnEip *string `json:"ovnEip,omitempty"`
	IPType *string `json:"ipType,omitempty"`
	IPName *string `json:"ipName,omitempty"`
	Vpc    *string `json:"vpc,omitempty"`
	V4Ip   *string `json:"v4Ip,omitempty"`
	V6Ip   *string `json:"v6Ip,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) 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 []OvnFipConditionApplyConfiguration `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) GetName

func (b *OvnSnatRuleApplyConfiguration) GetName() *string

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

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 OvnSnatRuleConditionApplyConfiguration

type OvnSnatRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

OvnSnatRuleConditionApplyConfiguration represents a declarative configuration of the OvnSnatRuleCondition type for use with apply.

func OvnSnatRuleCondition

func OvnSnatRuleCondition() *OvnSnatRuleConditionApplyConfiguration

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

func (*OvnSnatRuleConditionApplyConfiguration) WithLastTransitionTime

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 (*OvnSnatRuleConditionApplyConfiguration) 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 (*OvnSnatRuleConditionApplyConfiguration) 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 (*OvnSnatRuleConditionApplyConfiguration) 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 (*OvnSnatRuleConditionApplyConfiguration) 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 (*OvnSnatRuleConditionApplyConfiguration) 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 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"`
	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 []OvnSnatRuleConditionApplyConfiguration `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 *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) GetName

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

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 *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    []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) GetName

func (b *QoSPolicyApplyConfiguration) GetName() *string

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

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.

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 QoSPolicyConditionApplyConfiguration

type QoSPolicyConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

QoSPolicyConditionApplyConfiguration represents a declarative configuration of the QoSPolicyCondition type for use with apply.

func QoSPolicyCondition

func QoSPolicyCondition() *QoSPolicyConditionApplyConfiguration

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

func (*QoSPolicyConditionApplyConfiguration) WithLastTransitionTime

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 (*QoSPolicyConditionApplyConfiguration) 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 (*QoSPolicyConditionApplyConfiguration) 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 (*QoSPolicyConditionApplyConfiguration) 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 (*QoSPolicyConditionApplyConfiguration) 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 (*QoSPolicyConditionApplyConfiguration) 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 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          []QoSPolicyConditionApplyConfiguration  `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) GetName

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

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 SecurityGroupSpecApplyConfiguration

type SecurityGroupSpecApplyConfiguration struct {
	IngressRules          []*kubeovnv1.SgRule `json:"ingressRules,omitempty"`
	EgressRules           []*kubeovnv1.SgRule `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 SgRuleApplyConfiguration

type SgRuleApplyConfiguration 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"`
}

SgRuleApplyConfiguration represents a declarative configuration of the SgRule type for use with apply.

func SgRule

func SgRule() *SgRuleApplyConfiguration

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

func (*SgRuleApplyConfiguration) WithIPVersion

func (b *SgRuleApplyConfiguration) WithIPVersion(value string) *SgRuleApplyConfiguration

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 (*SgRuleApplyConfiguration) 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 (*SgRuleApplyConfiguration) WithPortRangeMax

func (b *SgRuleApplyConfiguration) WithPortRangeMax(value int) *SgRuleApplyConfiguration

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 (*SgRuleApplyConfiguration) WithPortRangeMin

func (b *SgRuleApplyConfiguration) WithPortRangeMin(value int) *SgRuleApplyConfiguration

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

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

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 (*SgRuleApplyConfiguration) 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 (*SgRuleApplyConfiguration) WithRemoteAddress

func (b *SgRuleApplyConfiguration) WithRemoteAddress(value string) *SgRuleApplyConfiguration

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 (*SgRuleApplyConfiguration) WithRemoteSecurityGroup

func (b *SgRuleApplyConfiguration) WithRemoteSecurityGroup(value string) *SgRuleApplyConfiguration

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 (*SgRuleApplyConfiguration) WithRemoteType

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 SlrPortApplyConfiguration

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

SlrPortApplyConfiguration represents a declarative configuration of the SlrPort type for use with apply.

func SlrPort

func SlrPort() *SlrPortApplyConfiguration

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

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

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

func (*SlrPortApplyConfiguration) 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 (*SlrPortApplyConfiguration) WithTargetPort

func (b *SlrPortApplyConfiguration) WithTargetPort(value int32) *SlrPortApplyConfiguration

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 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) GetName

func (b *SubnetApplyConfiguration) GetName() *string

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

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 SubnetConditionApplyConfiguration

type SubnetConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

SubnetConditionApplyConfiguration represents a declarative configuration of the SubnetCondition type for use with apply.

func SubnetCondition

func SubnetCondition() *SubnetConditionApplyConfiguration

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

func (*SubnetConditionApplyConfiguration) WithLastTransitionTime

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 (*SubnetConditionApplyConfiguration) 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 (*SubnetConditionApplyConfiguration) 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 (*SubnetConditionApplyConfiguration) 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 (*SubnetConditionApplyConfiguration) 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 (*SubnetConditionApplyConfiguration) 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 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"`
	RouteTable             *string                                   `json:"routeTable,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) 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) 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             []SubnetConditionApplyConfiguration             `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) GetName

func (b *SwitchLBRuleApplyConfiguration) GetName() *string

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

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 SwitchLBRuleConditionApplyConfiguration

type SwitchLBRuleConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

SwitchLBRuleConditionApplyConfiguration represents a declarative configuration of the SwitchLBRuleCondition type for use with apply.

func SwitchLBRuleCondition

func SwitchLBRuleCondition() *SwitchLBRuleConditionApplyConfiguration

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

func (*SwitchLBRuleConditionApplyConfiguration) WithLastTransitionTime

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 (*SwitchLBRuleConditionApplyConfiguration) 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 (*SwitchLBRuleConditionApplyConfiguration) 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 (*SwitchLBRuleConditionApplyConfiguration) 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 (*SwitchLBRuleConditionApplyConfiguration) 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 (*SwitchLBRuleConditionApplyConfiguration) 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 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           []SlrPortApplyConfiguration `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 []SwitchLBRuleConditionApplyConfiguration `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) GetName

func (b *VipApplyConfiguration) GetName() *string

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

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 VipConditionApplyConfiguration

type VipConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

VipConditionApplyConfiguration represents a declarative configuration of the VipCondition type for use with apply.

func VipCondition

func VipCondition() *VipConditionApplyConfiguration

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

func (*VipConditionApplyConfiguration) WithLastTransitionTime

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

type VipSpecApplyConfiguration struct {
	Namespace     *string  `json:"namespace,omitempty"`
	Subnet        *string  `json:"subnet,omitempty"`
	Type          *string  `json:"type,omitempty"`
	V4ip          *string  `json:"v4ip,omitempty"`
	V6ip          *string  `json:"v6ip,omitempty"`
	MacAddress    *string  `json:"macAddress,omitempty"`
	ParentV4ip    *string  `json:"parentV4ip,omitempty"`
	ParentV6ip    *string  `json:"parentV6ip,omitempty"`
	ParentMac     *string  `json:"parentMac,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) WithParentMac

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

func (*VipSpecApplyConfiguration) WithParentV4ip

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

func (*VipSpecApplyConfiguration) WithParentV6ip

WithParentV6ip sets the ParentV6ip field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ParentV6ip 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 []VipConditionApplyConfiguration `json:"conditions,omitempty"`
	Ready      *bool                            `json:"ready,omitempty"`
	Type       *string                          `json:"type,omitempty"`
	V4ip       *string                          `json:"v4ip,omitempty"`
	V6ip       *string                          `json:"v6ip,omitempty"`
	Mac        *string                          `json:"mac,omitempty"`
	Pv4ip      *string                          `json:"pv4ip,omitempty"`
	Pv6ip      *string                          `json:"pv6ip,omitempty"`
	Pmac       *string                          `json:"pmac,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) WithPmac

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

func (*VipStatusApplyConfiguration) WithPv4ip

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

func (*VipStatusApplyConfiguration) WithPv6ip

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

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

func (b *VlanApplyConfiguration) GetName() *string

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

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 VlanConditionApplyConfiguration

type VlanConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

VlanConditionApplyConfiguration represents a declarative configuration of the VlanCondition type for use with apply.

func VlanCondition

func VlanCondition() *VlanConditionApplyConfiguration

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

func (*VlanConditionApplyConfiguration) WithLastTransitionTime

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

type VlanSpecApplyConfiguration struct {
	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"`
	Conditions []VlanConditionApplyConfiguration `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) 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) GetName

func (b *VpcApplyConfiguration) GetName() *string

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

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 VpcConditionApplyConfiguration

type VpcConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

VpcConditionApplyConfiguration represents a declarative configuration of the VpcCondition type for use with apply.

func VpcCondition

func VpcCondition() *VpcConditionApplyConfiguration

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

func (*VpcConditionApplyConfiguration) WithLastTransitionTime

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 (*VpcConditionApplyConfiguration) 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 (*VpcConditionApplyConfiguration) 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 (*VpcConditionApplyConfiguration) 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 (*VpcConditionApplyConfiguration) 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 (*VpcConditionApplyConfiguration) 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 VpcDNSConditionApplyConfiguration

type VpcDNSConditionApplyConfiguration struct {
	Type               *kubeovnv1.ConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus  `json:"status,omitempty"`
	Reason             *string                  `json:"reason,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
}

VpcDNSConditionApplyConfiguration represents a declarative configuration of the VpcDNSCondition type for use with apply.

func VpcDNSCondition

func VpcDNSCondition() *VpcDNSConditionApplyConfiguration

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

func (*VpcDNSConditionApplyConfiguration) WithLastTransitionTime

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 (*VpcDNSConditionApplyConfiguration) 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 (*VpcDNSConditionApplyConfiguration) 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 (*VpcDNSConditionApplyConfiguration) 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 (*VpcDNSConditionApplyConfiguration) 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 (*VpcDNSConditionApplyConfiguration) 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 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 []VpcDNSConditionApplyConfiguration `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) GetName

func (b *VpcDnsApplyConfiguration) GetName() *string

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

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 VpcNatGatewayApplyConfiguration

type VpcNatGatewayApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *VpcNatSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *VpcNatStatusApplyConfiguration `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) GetName

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

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 VpcNatSpecApplyConfiguration

type VpcNatSpecApplyConfiguration 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"`
}

VpcNatSpecApplyConfiguration represents a declarative configuration of the VpcNatSpec type for use with apply.

func VpcNatSpec

func VpcNatSpec() *VpcNatSpecApplyConfiguration

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

func (*VpcNatSpecApplyConfiguration) WithAffinity

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 (*VpcNatSpecApplyConfiguration) WithBgpSpeaker

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 (*VpcNatSpecApplyConfiguration) WithExternalSubnets

func (b *VpcNatSpecApplyConfiguration) WithExternalSubnets(values ...string) *VpcNatSpecApplyConfiguration

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 (*VpcNatSpecApplyConfiguration) WithLanIP

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 (*VpcNatSpecApplyConfiguration) WithQoSPolicy

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 (*VpcNatSpecApplyConfiguration) 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 (*VpcNatSpecApplyConfiguration) 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 (*VpcNatSpecApplyConfiguration) WithTolerations

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 (*VpcNatSpecApplyConfiguration) 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 VpcNatStatusApplyConfiguration

type VpcNatStatusApplyConfiguration 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"`
}

VpcNatStatusApplyConfiguration represents a declarative configuration of the VpcNatStatus type for use with apply.

func VpcNatStatus

func VpcNatStatus() *VpcNatStatusApplyConfiguration

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

func (*VpcNatStatusApplyConfiguration) WithAffinity

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 (*VpcNatStatusApplyConfiguration) WithExternalSubnets

func (b *VpcNatStatusApplyConfiguration) WithExternalSubnets(values ...string) *VpcNatStatusApplyConfiguration

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 (*VpcNatStatusApplyConfiguration) WithQoSPolicy

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 (*VpcNatStatusApplyConfiguration) 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 (*VpcNatStatusApplyConfiguration) WithTolerations

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"`
}

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) 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              []VpcConditionApplyConfiguration `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"`
}

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) 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.

Source Files

Jump to

Keyboard shortcuts

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