v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffinityApplyConfiguration

type AffinityApplyConfiguration struct {
	NodeAffinity         *NodeAffinityApplyConfiguration         `json:"nodeAffinity,omitempty"`
	InstanceAntiAffinity *InstanceAntiAffinityApplyConfiguration `json:"instanceAntiAffinity,omitempty"`
}

AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use with apply.

func Affinity

func Affinity() *AffinityApplyConfiguration

AffinityApplyConfiguration constructs an declarative configuration of the Affinity type for use with apply.

func (*AffinityApplyConfiguration) WithInstanceAntiAffinity

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

func (*AffinityApplyConfiguration) WithNodeAffinity

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

type DaemonSetApplyConfiguration

type DaemonSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DaemonSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DaemonSetStatusApplyConfiguration `json:"status,omitempty"`
}

DaemonSetApplyConfiguration represents an declarative configuration of the DaemonSet type for use with apply.

func DaemonSet

func DaemonSet(name, namespace string) *DaemonSetApplyConfiguration

DaemonSet constructs an declarative configuration of the DaemonSet type for use with apply.

func ExtractDaemonSet

func ExtractDaemonSet(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)

ExtractDaemonSet extracts the applied configuration owned by fieldManager from daemonSet. If no managedFields are found in daemonSet for fieldManager, a DaemonSetApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. daemonSet must be a unmodified DaemonSet API object that was retrieved from the Kubernetes API. ExtractDaemonSet provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractDaemonSetStatus

func ExtractDaemonSetStatus(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)

ExtractDaemonSetStatus is the same as ExtractDaemonSet except that it extracts the status subresource applied configuration. Experimental!

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

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

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

func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DaemonSetApplyConfiguration

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

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

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

func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DaemonSetApplyConfiguration

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

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

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

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

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 (*DaemonSetApplyConfiguration) 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 (*DaemonSetApplyConfiguration) 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 (*DaemonSetApplyConfiguration) 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 DaemonSetSpecApplyConfiguration

type DaemonSetSpecApplyConfiguration struct {
	Selector *v1.LabelSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
	Template *InstanceTemplateApplyConfiguration `json:"template,omitempty"`
}

DaemonSetSpecApplyConfiguration represents an declarative configuration of the DaemonSetSpec type for use with apply.

func DaemonSetSpec

func DaemonSetSpec() *DaemonSetSpecApplyConfiguration

DaemonSetSpecApplyConfiguration constructs an declarative configuration of the DaemonSetSpec type for use with apply.

func (*DaemonSetSpecApplyConfiguration) WithSelector

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

func (*DaemonSetSpecApplyConfiguration) WithTemplate

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

type DaemonSetStatusApplyConfiguration

type DaemonSetStatusApplyConfiguration struct {
	CollisionCount *int32 `json:"collisionCount,omitempty"`
}

DaemonSetStatusApplyConfiguration represents an declarative configuration of the DaemonSetStatus type for use with apply.

func DaemonSetStatus

func DaemonSetStatus() *DaemonSetStatusApplyConfiguration

DaemonSetStatusApplyConfiguration constructs an declarative configuration of the DaemonSetStatus type for use with apply.

func (*DaemonSetStatusApplyConfiguration) WithCollisionCount

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

type IPAddressApplyConfiguration

type IPAddressApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *IPAddressSpecApplyConfiguration `json:"spec,omitempty"`
}

IPAddressApplyConfiguration represents an declarative configuration of the IPAddress type for use with apply.

func ExtractIPAddress

func ExtractIPAddress(iPAddress *corev1alpha1.IPAddress, fieldManager string) (*IPAddressApplyConfiguration, error)

ExtractIPAddress extracts the applied configuration owned by fieldManager from iPAddress. If no managedFields are found in iPAddress for fieldManager, a IPAddressApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. iPAddress must be a unmodified IPAddress API object that was retrieved from the Kubernetes API. ExtractIPAddress provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractIPAddressStatus

func ExtractIPAddressStatus(iPAddress *corev1alpha1.IPAddress, fieldManager string) (*IPAddressApplyConfiguration, error)

ExtractIPAddressStatus is the same as ExtractIPAddress except that it extracts the status subresource applied configuration. Experimental!

func IPAddress

func IPAddress(name string) *IPAddressApplyConfiguration

IPAddress constructs an declarative configuration of the IPAddress type for use with apply.

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

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

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

func (b *IPAddressApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPAddressApplyConfiguration

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

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

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

func (b *IPAddressApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPAddressApplyConfiguration

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

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

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

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

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 (*IPAddressApplyConfiguration) 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 (*IPAddressApplyConfiguration) 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 IPAddressClaimRefApplyConfiguration

type IPAddressClaimRefApplyConfiguration struct {
	Group     *string    `json:"group,omitempty"`
	Resource  *string    `json:"resource,omitempty"`
	Namespace *string    `json:"namespace,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UID       *types.UID `json:"uid,omitempty"`
}

IPAddressClaimRefApplyConfiguration represents an declarative configuration of the IPAddressClaimRef type for use with apply.

func IPAddressClaimRef

func IPAddressClaimRef() *IPAddressClaimRefApplyConfiguration

IPAddressClaimRefApplyConfiguration constructs an declarative configuration of the IPAddressClaimRef type for use with apply.

func (*IPAddressClaimRefApplyConfiguration) WithGroup

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

func (*IPAddressClaimRefApplyConfiguration) 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 (*IPAddressClaimRefApplyConfiguration) 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 (*IPAddressClaimRefApplyConfiguration) WithResource

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

func (*IPAddressClaimRefApplyConfiguration) 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 IPAddressSpecApplyConfiguration

type IPAddressSpecApplyConfiguration struct {
	IP       *net.IP                              `json:"ip,omitempty"`
	ClaimRef *IPAddressClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}

IPAddressSpecApplyConfiguration represents an declarative configuration of the IPAddressSpec type for use with apply.

func IPAddressSpec

func IPAddressSpec() *IPAddressSpecApplyConfiguration

IPAddressSpecApplyConfiguration constructs an declarative configuration of the IPAddressSpec type for use with apply.

func (*IPAddressSpecApplyConfiguration) WithClaimRef

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

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

type IPApplyConfiguration

type IPApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *IPSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *corev1alpha1.IPStatus    `json:"status,omitempty"`
}

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

func ExtractIP

func ExtractIP(iP *corev1alpha1.IP, fieldManager string) (*IPApplyConfiguration, error)

ExtractIP extracts the applied configuration owned by fieldManager from iP. If no managedFields are found in iP for fieldManager, a IPApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. iP must be a unmodified IP API object that was retrieved from the Kubernetes API. ExtractIP provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractIPStatus

func ExtractIPStatus(iP *corev1alpha1.IP, fieldManager string) (*IPApplyConfiguration, error)

ExtractIPStatus is the same as ExtractIP except that it extracts the status subresource applied configuration. Experimental!

func IP

func IP(name, namespace string) *IPApplyConfiguration

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

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

type IPBlockApplyConfiguration struct {
	CIDR   *net.IPPrefix  `json:"cidr,omitempty"`
	Except []net.IPPrefix `json:"except,omitempty"`
}

IPBlockApplyConfiguration represents an declarative configuration of the IPBlock type for use with apply.

func IPBlock

func IPBlock() *IPBlockApplyConfiguration

IPBlockApplyConfiguration constructs an declarative configuration of the IPBlock type for use with apply.

func (*IPBlockApplyConfiguration) 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 (*IPBlockApplyConfiguration) WithExcept

WithExcept adds the given value to the Except field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Except field.

type IPClaimRefApplyConfiguration

type IPClaimRefApplyConfiguration struct {
	Group    *string    `json:"group,omitempty"`
	Resource *string    `json:"resource,omitempty"`
	Name     *string    `json:"name,omitempty"`
	UID      *types.UID `json:"uid,omitempty"`
}

IPClaimRefApplyConfiguration represents an declarative configuration of the IPClaimRef type for use with apply.

func IPClaimRef

func IPClaimRef() *IPClaimRefApplyConfiguration

IPClaimRefApplyConfiguration constructs an declarative configuration of the IPClaimRef type for use with apply.

func (*IPClaimRefApplyConfiguration) WithGroup

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

func (*IPClaimRefApplyConfiguration) 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 (*IPClaimRefApplyConfiguration) WithResource

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

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

type IPSpecApplyConfiguration struct {
	Type     *v1alpha1.IPType              `json:"type,omitempty"`
	IPFamily *v1.IPFamily                  `json:"ipFamily,omitempty"`
	IP       *net.IP                       `json:"ip,omitempty"`
	ClaimRef *IPClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}

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

func IPSpec

func IPSpec() *IPSpecApplyConfiguration

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

func (*IPSpecApplyConfiguration) WithClaimRef

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

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

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

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

type InstanceAffinityTermApplyConfiguration struct {
	LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
	TopologyKey   *string                             `json:"topologyKey,omitempty"`
}

InstanceAffinityTermApplyConfiguration represents an declarative configuration of the InstanceAffinityTerm type for use with apply.

func InstanceAffinityTerm

func InstanceAffinityTerm() *InstanceAffinityTermApplyConfiguration

InstanceAffinityTermApplyConfiguration constructs an declarative configuration of the InstanceAffinityTerm type for use with apply.

func (*InstanceAffinityTermApplyConfiguration) WithLabelSelector

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

func (*InstanceAffinityTermApplyConfiguration) WithTopologyKey

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

type InstanceAntiAffinityApplyConfiguration

type InstanceAntiAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution []InstanceAffinityTermApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

InstanceAntiAffinityApplyConfiguration represents an declarative configuration of the InstanceAntiAffinity type for use with apply.

func InstanceAntiAffinity

func InstanceAntiAffinity() *InstanceAntiAffinityApplyConfiguration

InstanceAntiAffinityApplyConfiguration constructs an declarative configuration of the InstanceAntiAffinity type for use with apply.

func (*InstanceAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *InstanceAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*InstanceAffinityTermApplyConfiguration) *InstanceAntiAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RequiredDuringSchedulingIgnoredDuringExecution field.

type InstanceApplyConfiguration

type InstanceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *InstanceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *InstanceStatusApplyConfiguration `json:"status,omitempty"`
}

InstanceApplyConfiguration represents an declarative configuration of the Instance type for use with apply.

func ExtractInstance

func ExtractInstance(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)

ExtractInstance extracts the applied configuration owned by fieldManager from instance. If no managedFields are found in instance for fieldManager, a InstanceApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. instance must be a unmodified Instance API object that was retrieved from the Kubernetes API. ExtractInstance provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractInstanceStatus

func ExtractInstanceStatus(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)

ExtractInstanceStatus is the same as ExtractInstance except that it extracts the status subresource applied configuration. Experimental!

func Instance

func Instance(name, namespace string) *InstanceApplyConfiguration

Instance constructs an declarative configuration of the Instance type for use with apply.

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

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

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

func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration

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

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

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

func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration

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

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

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

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

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

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

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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 InstanceSpecApplyConfiguration

type InstanceSpecApplyConfiguration struct {
	Type                      *v1alpha1.InstanceType                       `json:"type,omitempty"`
	LoadBalancerType          *v1alpha1.LoadBalancerType                   `json:"loadBalancerType,omitempty"`
	NetworkRef                *v1.LocalObjectReference                     `json:"networkRef,omitempty"`
	IPs                       []net.IP                                     `json:"ips,omitempty"`
	LoadBalancerPorts         []LoadBalancerPortApplyConfiguration         `json:"loadBalancerPorts,omitempty"`
	Affinity                  *AffinityApplyConfiguration                  `json:"affinity,omitempty"`
	TopologySpreadConstraints []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
	NodeRef                   *v1.LocalObjectReference                     `json:"nodeRef,omitempty"`
}

InstanceSpecApplyConfiguration represents an declarative configuration of the InstanceSpec type for use with apply.

func InstanceSpec

func InstanceSpec() *InstanceSpecApplyConfiguration

InstanceSpecApplyConfiguration constructs an declarative configuration of the InstanceSpec type for use with apply.

func (*InstanceSpecApplyConfiguration) 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 (*InstanceSpecApplyConfiguration) 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 (*InstanceSpecApplyConfiguration) WithLoadBalancerPorts

WithLoadBalancerPorts adds the given value to the LoadBalancerPorts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the LoadBalancerPorts field.

func (*InstanceSpecApplyConfiguration) WithLoadBalancerType

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

func (*InstanceSpecApplyConfiguration) WithNetworkRef

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

func (*InstanceSpecApplyConfiguration) WithNodeRef

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

func (*InstanceSpecApplyConfiguration) WithTopologySpreadConstraints

WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field.

func (*InstanceSpecApplyConfiguration) 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 InstanceStatusApplyConfiguration

type InstanceStatusApplyConfiguration struct {
	IPs            []net.IP `json:"ips,omitempty"`
	CollisionCount *int32   `json:"collisionCount,omitempty"`
}

InstanceStatusApplyConfiguration represents an declarative configuration of the InstanceStatus type for use with apply.

func InstanceStatus

func InstanceStatus() *InstanceStatusApplyConfiguration

InstanceStatusApplyConfiguration constructs an declarative configuration of the InstanceStatus type for use with apply.

func (*InstanceStatusApplyConfiguration) WithCollisionCount

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

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

type InstanceTemplateApplyConfiguration

type InstanceTemplateApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *InstanceSpecApplyConfiguration `json:"spec,omitempty"`
}

InstanceTemplateApplyConfiguration represents an declarative configuration of the InstanceTemplate type for use with apply.

func InstanceTemplate

func InstanceTemplate() *InstanceTemplateApplyConfiguration

InstanceTemplateApplyConfiguration constructs an declarative configuration of the InstanceTemplate type for use with apply.

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

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

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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 (*InstanceTemplateApplyConfiguration) 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 LoadBalancerApplyConfiguration

type LoadBalancerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *LoadBalancerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *LoadBalancerStatusApplyConfiguration `json:"status,omitempty"`
}

LoadBalancerApplyConfiguration represents an declarative configuration of the LoadBalancer type for use with apply.

func ExtractLoadBalancer

func ExtractLoadBalancer(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)

ExtractLoadBalancer extracts the applied configuration owned by fieldManager from loadBalancer. If no managedFields are found in loadBalancer for fieldManager, a LoadBalancerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. loadBalancer must be a unmodified LoadBalancer API object that was retrieved from the Kubernetes API. ExtractLoadBalancer provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractLoadBalancerStatus

func ExtractLoadBalancerStatus(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)

ExtractLoadBalancerStatus is the same as ExtractLoadBalancer except that it extracts the status subresource applied configuration. Experimental!

func LoadBalancer

func LoadBalancer(name, namespace string) *LoadBalancerApplyConfiguration

LoadBalancer constructs an declarative configuration of the LoadBalancer type for use with apply.

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

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

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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 LoadBalancerDestinationApplyConfiguration

type LoadBalancerDestinationApplyConfiguration struct {
	IP        *net.IP                                  `json:"ip,omitempty"`
	TargetRef *LoadBalancerTargetRefApplyConfiguration `json:"targetRef,omitempty"`
}

LoadBalancerDestinationApplyConfiguration represents an declarative configuration of the LoadBalancerDestination type for use with apply.

func LoadBalancerDestination

func LoadBalancerDestination() *LoadBalancerDestinationApplyConfiguration

LoadBalancerDestinationApplyConfiguration constructs an declarative configuration of the LoadBalancerDestination type for use with apply.

func (*LoadBalancerDestinationApplyConfiguration) 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 (*LoadBalancerDestinationApplyConfiguration) WithTargetRef

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

type LoadBalancerIPApplyConfiguration

type LoadBalancerIPApplyConfiguration struct {
	Name     *string      `json:"name,omitempty"`
	IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
	IP       *net.IP      `json:"ip,omitempty"`
}

LoadBalancerIPApplyConfiguration represents an declarative configuration of the LoadBalancerIP type for use with apply.

func LoadBalancerIP

func LoadBalancerIP() *LoadBalancerIPApplyConfiguration

LoadBalancerIPApplyConfiguration constructs an declarative configuration of the LoadBalancerIP type for use with apply.

func (*LoadBalancerIPApplyConfiguration) 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 (*LoadBalancerIPApplyConfiguration) WithIPFamily

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

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

type LoadBalancerPortApplyConfiguration

type LoadBalancerPortApplyConfiguration struct {
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Port     *int32       `json:"port,omitempty"`
	EndPort  *int32       `json:"endPort,omitempty"`
}

LoadBalancerPortApplyConfiguration represents an declarative configuration of the LoadBalancerPort type for use with apply.

func LoadBalancerPort

func LoadBalancerPort() *LoadBalancerPortApplyConfiguration

LoadBalancerPortApplyConfiguration constructs an declarative configuration of the LoadBalancerPort type for use with apply.

func (*LoadBalancerPortApplyConfiguration) WithEndPort

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

func (*LoadBalancerPortApplyConfiguration) 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 (*LoadBalancerPortApplyConfiguration) 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 LoadBalancerRoutingApplyConfiguration

type LoadBalancerRoutingApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Destinations                     []LoadBalancerDestinationApplyConfiguration `json:"destinations,omitempty"`
}

LoadBalancerRoutingApplyConfiguration represents an declarative configuration of the LoadBalancerRouting type for use with apply.

func ExtractLoadBalancerRouting

func ExtractLoadBalancerRouting(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)

ExtractLoadBalancerRouting extracts the applied configuration owned by fieldManager from loadBalancerRouting. If no managedFields are found in loadBalancerRouting for fieldManager, a LoadBalancerRoutingApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. loadBalancerRouting must be a unmodified LoadBalancerRouting API object that was retrieved from the Kubernetes API. ExtractLoadBalancerRouting provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractLoadBalancerRoutingStatus

func ExtractLoadBalancerRoutingStatus(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)

ExtractLoadBalancerRoutingStatus is the same as ExtractLoadBalancerRouting except that it extracts the status subresource applied configuration. Experimental!

func LoadBalancerRouting

func LoadBalancerRouting(name, namespace string) *LoadBalancerRoutingApplyConfiguration

LoadBalancerRouting constructs an declarative configuration of the LoadBalancerRouting type for use with apply.

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

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

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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) WithDestinations

WithDestinations adds the given value to the Destinations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Destinations field.

func (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 (*LoadBalancerRoutingApplyConfiguration) 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 LoadBalancerSpecApplyConfiguration

type LoadBalancerSpecApplyConfiguration struct {
	Type       *v1alpha1.LoadBalancerType              `json:"type,omitempty"`
	NetworkRef *v1.LocalObjectReference                `json:"networkRef,omitempty"`
	IPs        []LoadBalancerIPApplyConfiguration      `json:"ips,omitempty"`
	Ports      []LoadBalancerPortApplyConfiguration    `json:"ports,omitempty"`
	Selector   *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
	Template   *InstanceTemplateApplyConfiguration     `json:"template,omitempty"`
}

LoadBalancerSpecApplyConfiguration represents an declarative configuration of the LoadBalancerSpec type for use with apply.

func LoadBalancerSpec

func LoadBalancerSpec() *LoadBalancerSpecApplyConfiguration

LoadBalancerSpecApplyConfiguration constructs an declarative configuration of the LoadBalancerSpec type for use with apply.

func (*LoadBalancerSpecApplyConfiguration) 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 (*LoadBalancerSpecApplyConfiguration) WithNetworkRef

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

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

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

func (*LoadBalancerSpecApplyConfiguration) WithTemplate

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

func (*LoadBalancerSpecApplyConfiguration) 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 LoadBalancerStatusApplyConfiguration

type LoadBalancerStatusApplyConfiguration struct {
	CollisionCount *int32 `json:"collisionCount,omitempty"`
}

LoadBalancerStatusApplyConfiguration represents an declarative configuration of the LoadBalancerStatus type for use with apply.

func LoadBalancerStatus

func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration

LoadBalancerStatusApplyConfiguration constructs an declarative configuration of the LoadBalancerStatus type for use with apply.

func (*LoadBalancerStatusApplyConfiguration) WithCollisionCount

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

type LoadBalancerTargetRefApplyConfiguration

type LoadBalancerTargetRefApplyConfiguration struct {
	UID     *types.UID               `json:"uid,omitempty"`
	Name    *string                  `json:"name,omitempty"`
	NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
}

LoadBalancerTargetRefApplyConfiguration represents an declarative configuration of the LoadBalancerTargetRef type for use with apply.

func LoadBalancerTargetRef

func LoadBalancerTargetRef() *LoadBalancerTargetRefApplyConfiguration

LoadBalancerTargetRefApplyConfiguration constructs an declarative configuration of the LoadBalancerTargetRef type for use with apply.

func (*LoadBalancerTargetRefApplyConfiguration) 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 (*LoadBalancerTargetRefApplyConfiguration) WithNodeRef

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

func (*LoadBalancerTargetRefApplyConfiguration) 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 LocalUIDReferenceApplyConfiguration

type LocalUIDReferenceApplyConfiguration struct {
	Name *string    `json:"name,omitempty"`
	UID  *types.UID `json:"uid,omitempty"`
}

LocalUIDReferenceApplyConfiguration represents an declarative configuration of the LocalUIDReference type for use with apply.

func LocalUIDReference

func LocalUIDReference() *LocalUIDReferenceApplyConfiguration

LocalUIDReferenceApplyConfiguration constructs an declarative configuration of the LocalUIDReference type for use with apply.

func (*LocalUIDReferenceApplyConfiguration) 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 (*LocalUIDReferenceApplyConfiguration) 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 NATGatewayApplyConfiguration

type NATGatewayApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NATGatewaySpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NATGatewayStatusApplyConfiguration `json:"status,omitempty"`
}

NATGatewayApplyConfiguration represents an declarative configuration of the NATGateway type for use with apply.

func ExtractNATGateway

func ExtractNATGateway(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)

ExtractNATGateway extracts the applied configuration owned by fieldManager from nATGateway. If no managedFields are found in nATGateway for fieldManager, a NATGatewayApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. nATGateway must be a unmodified NATGateway API object that was retrieved from the Kubernetes API. ExtractNATGateway provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNATGatewayStatus

func ExtractNATGatewayStatus(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)

ExtractNATGatewayStatus is the same as ExtractNATGateway except that it extracts the status subresource applied configuration. Experimental!

func NATGateway

func NATGateway(name, namespace string) *NATGatewayApplyConfiguration

NATGateway constructs an declarative configuration of the NATGateway type for use with apply.

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

func (b *NATGatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayApplyConfiguration

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

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

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

func (b *NATGatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayApplyConfiguration

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

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

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 (*NATGatewayApplyConfiguration) 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 (*NATGatewayApplyConfiguration) 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 (*NATGatewayApplyConfiguration) 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 NATGatewayAutoscalerApplyConfiguration

type NATGatewayAutoscalerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NATGatewayAutoscalerSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *corev1alpha1.NATGatewayAutoscalerStatus    `json:"status,omitempty"`
}

NATGatewayAutoscalerApplyConfiguration represents an declarative configuration of the NATGatewayAutoscaler type for use with apply.

func ExtractNATGatewayAutoscaler

func ExtractNATGatewayAutoscaler(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)

ExtractNATGatewayAutoscaler extracts the applied configuration owned by fieldManager from nATGatewayAutoscaler. If no managedFields are found in nATGatewayAutoscaler for fieldManager, a NATGatewayAutoscalerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. nATGatewayAutoscaler must be a unmodified NATGatewayAutoscaler API object that was retrieved from the Kubernetes API. ExtractNATGatewayAutoscaler provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNATGatewayAutoscalerStatus

func ExtractNATGatewayAutoscalerStatus(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)

ExtractNATGatewayAutoscalerStatus is the same as ExtractNATGatewayAutoscaler except that it extracts the status subresource applied configuration. Experimental!

func NATGatewayAutoscaler

func NATGatewayAutoscaler(name, namespace string) *NATGatewayAutoscalerApplyConfiguration

NATGatewayAutoscaler constructs an declarative configuration of the NATGatewayAutoscaler type for use with apply.

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

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

func (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 (*NATGatewayAutoscalerApplyConfiguration) 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 NATGatewayAutoscalerSpecApplyConfiguration

type NATGatewayAutoscalerSpecApplyConfiguration struct {
	NATGatewayRef *v1.LocalObjectReference `json:"natGatewayRef,omitempty"`
	MinPublicIPs  *int32                   `json:"minPublicIPs,omitempty"`
	MaxPublicIPs  *int32                   `json:"maxPublicIPs,omitempty"`
}

NATGatewayAutoscalerSpecApplyConfiguration represents an declarative configuration of the NATGatewayAutoscalerSpec type for use with apply.

func NATGatewayAutoscalerSpec

func NATGatewayAutoscalerSpec() *NATGatewayAutoscalerSpecApplyConfiguration

NATGatewayAutoscalerSpecApplyConfiguration constructs an declarative configuration of the NATGatewayAutoscalerSpec type for use with apply.

func (*NATGatewayAutoscalerSpecApplyConfiguration) WithMaxPublicIPs

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

func (*NATGatewayAutoscalerSpecApplyConfiguration) WithMinPublicIPs

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

func (*NATGatewayAutoscalerSpecApplyConfiguration) WithNATGatewayRef

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

type NATGatewayIPApplyConfiguration

type NATGatewayIPApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
	IP   *net.IP `json:"ip,omitempty"`
}

NATGatewayIPApplyConfiguration represents an declarative configuration of the NATGatewayIP type for use with apply.

func NATGatewayIP

func NATGatewayIP() *NATGatewayIPApplyConfiguration

NATGatewayIPApplyConfiguration constructs an declarative configuration of the NATGatewayIP type for use with apply.

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

type NATGatewaySpecApplyConfiguration

type NATGatewaySpecApplyConfiguration struct {
	IPFamily                 *v1.IPFamily                     `json:"ipFamily,omitempty"`
	NetworkRef               *v1.LocalObjectReference         `json:"networkRef,omitempty"`
	IPs                      []NATGatewayIPApplyConfiguration `json:"ips,omitempty"`
	PortsPerNetworkInterface *int32                           `json:"portsPerNetworkInterface,omitempty"`
}

NATGatewaySpecApplyConfiguration represents an declarative configuration of the NATGatewaySpec type for use with apply.

func NATGatewaySpec

func NATGatewaySpec() *NATGatewaySpecApplyConfiguration

NATGatewaySpecApplyConfiguration constructs an declarative configuration of the NATGatewaySpec type for use with apply.

func (*NATGatewaySpecApplyConfiguration) WithIPFamily

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

func (*NATGatewaySpecApplyConfiguration) 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 (*NATGatewaySpecApplyConfiguration) WithNetworkRef

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

func (*NATGatewaySpecApplyConfiguration) WithPortsPerNetworkInterface

func (b *NATGatewaySpecApplyConfiguration) WithPortsPerNetworkInterface(value int32) *NATGatewaySpecApplyConfiguration

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

type NATGatewayStatusApplyConfiguration

type NATGatewayStatusApplyConfiguration struct {
	UsedNATIPs      *int64 `json:"usedNATIPs,omitempty"`
	RequestedNATIPs *int64 `json:"requestedNATIPs,omitempty"`
}

NATGatewayStatusApplyConfiguration represents an declarative configuration of the NATGatewayStatus type for use with apply.

func NATGatewayStatus

func NATGatewayStatus() *NATGatewayStatusApplyConfiguration

NATGatewayStatusApplyConfiguration constructs an declarative configuration of the NATGatewayStatus type for use with apply.

func (*NATGatewayStatusApplyConfiguration) WithRequestedNATIPs

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

func (*NATGatewayStatusApplyConfiguration) WithUsedNATIPs

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

type NATIPApplyConfiguration

type NATIPApplyConfiguration struct {
	IP       *net.IP                          `json:"ip,omitempty"`
	Sections []NATIPSectionApplyConfiguration `json:"sections,omitempty"`
}

NATIPApplyConfiguration represents an declarative configuration of the NATIP type for use with apply.

func NATIP

func NATIP() *NATIPApplyConfiguration

NATIPApplyConfiguration constructs an declarative configuration of the NATIP type for use with apply.

func (*NATIPApplyConfiguration) 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 (*NATIPApplyConfiguration) WithSections

WithSections adds the given value to the Sections field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Sections field.

type NATIPSectionApplyConfiguration

type NATIPSectionApplyConfiguration struct {
	IP        *net.IP                                `json:"ip,omitempty"`
	Port      *int32                                 `json:"port,omitempty"`
	EndPort   *int32                                 `json:"endPort,omitempty"`
	TargetRef *NATTableIPTargetRefApplyConfiguration `json:"targetRef,omitempty"`
}

NATIPSectionApplyConfiguration represents an declarative configuration of the NATIPSection type for use with apply.

func NATIPSection

func NATIPSection() *NATIPSectionApplyConfiguration

NATIPSectionApplyConfiguration constructs an declarative configuration of the NATIPSection type for use with apply.

func (*NATIPSectionApplyConfiguration) WithEndPort

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

func (*NATIPSectionApplyConfiguration) 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 (*NATIPSectionApplyConfiguration) 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 (*NATIPSectionApplyConfiguration) WithTargetRef

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

type NATTableApplyConfiguration

type NATTableApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	IPs                              []NATIPApplyConfiguration `json:"ips,omitempty"`
}

NATTableApplyConfiguration represents an declarative configuration of the NATTable type for use with apply.

func ExtractNATTable

func ExtractNATTable(nATTable *corev1alpha1.NATTable, fieldManager string) (*NATTableApplyConfiguration, error)

ExtractNATTable extracts the applied configuration owned by fieldManager from nATTable. If no managedFields are found in nATTable for fieldManager, a NATTableApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. nATTable must be a unmodified NATTable API object that was retrieved from the Kubernetes API. ExtractNATTable provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNATTableStatus

func ExtractNATTableStatus(nATTable *corev1alpha1.NATTable, fieldManager string) (*NATTableApplyConfiguration, error)

ExtractNATTableStatus is the same as ExtractNATTable except that it extracts the status subresource applied configuration. Experimental!

func NATTable

func NATTable(name, namespace string) *NATTableApplyConfiguration

NATTable constructs an declarative configuration of the NATTable type for use with apply.

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

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

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

func (b *NATTableApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATTableApplyConfiguration

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

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

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

func (b *NATTableApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATTableApplyConfiguration

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

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

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

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

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

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

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 (*NATTableApplyConfiguration) 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 NATTableIPTargetRefApplyConfiguration

type NATTableIPTargetRefApplyConfiguration struct {
	UID     *types.UID               `json:"uid,omitempty"`
	Name    *string                  `json:"name,omitempty"`
	NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
}

NATTableIPTargetRefApplyConfiguration represents an declarative configuration of the NATTableIPTargetRef type for use with apply.

func NATTableIPTargetRef

func NATTableIPTargetRef() *NATTableIPTargetRefApplyConfiguration

NATTableIPTargetRefApplyConfiguration constructs an declarative configuration of the NATTableIPTargetRef type for use with apply.

func (*NATTableIPTargetRefApplyConfiguration) 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 (*NATTableIPTargetRefApplyConfiguration) WithNodeRef

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

func (*NATTableIPTargetRefApplyConfiguration) 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 NetworkApplyConfiguration

type NetworkApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NetworkStatusApplyConfiguration `json:"status,omitempty"`
}

NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.

func ExtractNetwork

func ExtractNetwork(network *corev1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)

ExtractNetwork extracts the applied configuration owned by fieldManager from network. If no managedFields are found in network for fieldManager, a NetworkApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetwork provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNetworkStatus

func ExtractNetworkStatus(network *corev1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)

ExtractNetworkStatus is the same as ExtractNetwork except that it extracts the status subresource applied configuration. Experimental!

func Network

func Network(name, namespace string) *NetworkApplyConfiguration

Network constructs an declarative configuration of the Network type for use with apply.

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

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

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

func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration

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

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

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

func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration

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

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

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

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

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

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

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

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

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 (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) 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 NetworkIDApplyConfiguration

type NetworkIDApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkIDSpecApplyConfiguration `json:"spec,omitempty"`
}

NetworkIDApplyConfiguration represents an declarative configuration of the NetworkID type for use with apply.

func ExtractNetworkID

func ExtractNetworkID(networkID *corev1alpha1.NetworkID, fieldManager string) (*NetworkIDApplyConfiguration, error)

ExtractNetworkID extracts the applied configuration owned by fieldManager from networkID. If no managedFields are found in networkID for fieldManager, a NetworkIDApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. networkID must be a unmodified NetworkID API object that was retrieved from the Kubernetes API. ExtractNetworkID provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNetworkIDStatus

func ExtractNetworkIDStatus(networkID *corev1alpha1.NetworkID, fieldManager string) (*NetworkIDApplyConfiguration, error)

ExtractNetworkIDStatus is the same as ExtractNetworkID except that it extracts the status subresource applied configuration. Experimental!

func NetworkID

func NetworkID(name string) *NetworkIDApplyConfiguration

NetworkID constructs an declarative configuration of the NetworkID type for use with apply.

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

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

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

func (b *NetworkIDApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkIDApplyConfiguration

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

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

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

func (b *NetworkIDApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkIDApplyConfiguration

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

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

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

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

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 (*NetworkIDApplyConfiguration) 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 (*NetworkIDApplyConfiguration) 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 NetworkIDClaimRefApplyConfiguration

type NetworkIDClaimRefApplyConfiguration struct {
	Group     *string    `json:"group,omitempty"`
	Resource  *string    `json:"resource,omitempty"`
	Namespace *string    `json:"namespace,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UID       *types.UID `json:"uid,omitempty"`
}

NetworkIDClaimRefApplyConfiguration represents an declarative configuration of the NetworkIDClaimRef type for use with apply.

func NetworkIDClaimRef

func NetworkIDClaimRef() *NetworkIDClaimRefApplyConfiguration

NetworkIDClaimRefApplyConfiguration constructs an declarative configuration of the NetworkIDClaimRef type for use with apply.

func (*NetworkIDClaimRefApplyConfiguration) WithGroup

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

func (*NetworkIDClaimRefApplyConfiguration) 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 (*NetworkIDClaimRefApplyConfiguration) 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 (*NetworkIDClaimRefApplyConfiguration) WithResource

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

func (*NetworkIDClaimRefApplyConfiguration) 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 NetworkIDSpecApplyConfiguration

type NetworkIDSpecApplyConfiguration struct {
	ClaimRef *NetworkIDClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}

NetworkIDSpecApplyConfiguration represents an declarative configuration of the NetworkIDSpec type for use with apply.

func NetworkIDSpec

func NetworkIDSpec() *NetworkIDSpecApplyConfiguration

NetworkIDSpecApplyConfiguration constructs an declarative configuration of the NetworkIDSpec type for use with apply.

func (*NetworkIDSpecApplyConfiguration) WithClaimRef

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

type NetworkInterfaceApplyConfiguration

type NetworkInterfaceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkInterfaceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NetworkInterfaceStatusApplyConfiguration `json:"status,omitempty"`
}

NetworkInterfaceApplyConfiguration represents an declarative configuration of the NetworkInterface type for use with apply.

func ExtractNetworkInterface

func ExtractNetworkInterface(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)

ExtractNetworkInterface extracts the applied configuration owned by fieldManager from networkInterface. If no managedFields are found in networkInterface for fieldManager, a NetworkInterfaceApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. networkInterface must be a unmodified NetworkInterface API object that was retrieved from the Kubernetes API. ExtractNetworkInterface provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNetworkInterfaceStatus

func ExtractNetworkInterfaceStatus(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)

ExtractNetworkInterfaceStatus is the same as ExtractNetworkInterface except that it extracts the status subresource applied configuration. Experimental!

func NetworkInterface

func NetworkInterface(name, namespace string) *NetworkInterfaceApplyConfiguration

NetworkInterface constructs an declarative configuration of the NetworkInterface type for use with apply.

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

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

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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 (*NetworkInterfaceApplyConfiguration) 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 NetworkInterfaceNATApplyConfiguration

type NetworkInterfaceNATApplyConfiguration struct {
	IPFamily *v1.IPFamily                                   `json:"ipFamily,omitempty"`
	ClaimRef *NetworkInterfaceNATClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}

NetworkInterfaceNATApplyConfiguration represents an declarative configuration of the NetworkInterfaceNAT type for use with apply.

func NetworkInterfaceNAT

func NetworkInterfaceNAT() *NetworkInterfaceNATApplyConfiguration

NetworkInterfaceNATApplyConfiguration constructs an declarative configuration of the NetworkInterfaceNAT type for use with apply.

func (*NetworkInterfaceNATApplyConfiguration) WithClaimRef

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

func (*NetworkInterfaceNATApplyConfiguration) WithIPFamily

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

type NetworkInterfaceNATClaimRefApplyConfiguration

type NetworkInterfaceNATClaimRefApplyConfiguration struct {
	Name *string    `json:"name,omitempty"`
	UID  *types.UID `json:"uid,omitempty"`
}

NetworkInterfaceNATClaimRefApplyConfiguration represents an declarative configuration of the NetworkInterfaceNATClaimRef type for use with apply.

func NetworkInterfaceNATClaimRef

func NetworkInterfaceNATClaimRef() *NetworkInterfaceNATClaimRefApplyConfiguration

NetworkInterfaceNATClaimRefApplyConfiguration constructs an declarative configuration of the NetworkInterfaceNATClaimRef type for use with apply.

func (*NetworkInterfaceNATClaimRefApplyConfiguration) 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 (*NetworkInterfaceNATClaimRefApplyConfiguration) 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 NetworkInterfacePublicIPApplyConfiguration

type NetworkInterfacePublicIPApplyConfiguration struct {
	Name     *string      `json:"name,omitempty"`
	IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
	IP       *net.IP      `json:"ip,omitempty"`
}

NetworkInterfacePublicIPApplyConfiguration represents an declarative configuration of the NetworkInterfacePublicIP type for use with apply.

func NetworkInterfacePublicIP

func NetworkInterfacePublicIP() *NetworkInterfacePublicIPApplyConfiguration

NetworkInterfacePublicIPApplyConfiguration constructs an declarative configuration of the NetworkInterfacePublicIP type for use with apply.

func (*NetworkInterfacePublicIPApplyConfiguration) 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 (*NetworkInterfacePublicIPApplyConfiguration) WithIPFamily

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

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

type NetworkInterfaceSpecApplyConfiguration

type NetworkInterfaceSpecApplyConfiguration struct {
	NodeRef    *v1.LocalObjectReference                     `json:"nodeRef,omitempty"`
	NetworkRef *v1.LocalObjectReference                     `json:"networkRef,omitempty"`
	IPs        []net.IP                                     `json:"ips,omitempty"`
	Prefixes   []net.IPPrefix                               `json:"prefixes,omitempty"`
	NATs       []NetworkInterfaceNATApplyConfiguration      `json:"natGateways,omitempty"`
	PublicIPs  []NetworkInterfacePublicIPApplyConfiguration `json:"publicIPs,omitempty"`
}

NetworkInterfaceSpecApplyConfiguration represents an declarative configuration of the NetworkInterfaceSpec type for use with apply.

func NetworkInterfaceSpec

func NetworkInterfaceSpec() *NetworkInterfaceSpecApplyConfiguration

NetworkInterfaceSpecApplyConfiguration constructs an declarative configuration of the NetworkInterfaceSpec type for use with apply.

func (*NetworkInterfaceSpecApplyConfiguration) 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 (*NetworkInterfaceSpecApplyConfiguration) WithNATs

WithNATs adds the given value to the NATs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NATs field.

func (*NetworkInterfaceSpecApplyConfiguration) WithNetworkRef

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

func (*NetworkInterfaceSpecApplyConfiguration) WithNodeRef

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

func (*NetworkInterfaceSpecApplyConfiguration) WithPrefixes

WithPrefixes adds the given value to the Prefixes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Prefixes field.

func (*NetworkInterfaceSpecApplyConfiguration) WithPublicIPs

WithPublicIPs adds the given value to the PublicIPs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PublicIPs field.

type NetworkInterfaceStatusApplyConfiguration

type NetworkInterfaceStatusApplyConfiguration struct {
	State      *v1alpha1.NetworkInterfaceState `json:"state,omitempty"`
	PCIAddress *PCIAddressApplyConfiguration   `json:"pciAddress,omitempty"`
	Prefixes   []net.IPPrefix                  `json:"prefixes,omitempty"`
	PublicIPs  []net.IP                        `json:"publicIPs,omitempty"`
	NATIPs     []net.IP                        `json:"natIPs,omitempty"`
}

NetworkInterfaceStatusApplyConfiguration represents an declarative configuration of the NetworkInterfaceStatus type for use with apply.

func NetworkInterfaceStatus

func NetworkInterfaceStatus() *NetworkInterfaceStatusApplyConfiguration

NetworkInterfaceStatusApplyConfiguration constructs an declarative configuration of the NetworkInterfaceStatus type for use with apply.

func (*NetworkInterfaceStatusApplyConfiguration) WithNATIPs

WithNATIPs adds the given value to the NATIPs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NATIPs field.

func (*NetworkInterfaceStatusApplyConfiguration) WithPCIAddress

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

func (*NetworkInterfaceStatusApplyConfiguration) WithPrefixes

WithPrefixes adds the given value to the Prefixes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Prefixes field.

func (*NetworkInterfaceStatusApplyConfiguration) WithPublicIPs

WithPublicIPs adds the given value to the PublicIPs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PublicIPs field.

func (*NetworkInterfaceStatusApplyConfiguration) WithState

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

type NetworkPeeringApplyConfiguration

type NetworkPeeringApplyConfiguration struct {
	Name     *string                           `json:"name,omitempty"`
	ID       *string                           `json:"id,omitempty"`
	Prefixes []PeeringPrefixApplyConfiguration `json:"prefixes,omitempty"`
}

NetworkPeeringApplyConfiguration represents an declarative configuration of the NetworkPeering type for use with apply.

func NetworkPeering

func NetworkPeering() *NetworkPeeringApplyConfiguration

NetworkPeeringApplyConfiguration constructs an declarative configuration of the NetworkPeering type for use with apply.

func (*NetworkPeeringApplyConfiguration) 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 (*NetworkPeeringApplyConfiguration) 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 (*NetworkPeeringApplyConfiguration) WithPrefixes

WithPrefixes adds the given value to the Prefixes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Prefixes field.

type NetworkPeeringStatusApplyConfiguration

type NetworkPeeringStatusApplyConfiguration struct {
	ID    *int32                        `json:"id,omitempty"`
	State *v1alpha1.NetworkPeeringState `json:"state,omitempty"`
}

NetworkPeeringStatusApplyConfiguration represents an declarative configuration of the NetworkPeeringStatus type for use with apply.

func NetworkPeeringStatus

func NetworkPeeringStatus() *NetworkPeeringStatusApplyConfiguration

NetworkPeeringStatusApplyConfiguration constructs an declarative configuration of the NetworkPeeringStatus type for use with apply.

func (*NetworkPeeringStatusApplyConfiguration) 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 (*NetworkPeeringStatusApplyConfiguration) WithState

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

type NetworkPolicyApplyConfiguration

type NetworkPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"`
}

NetworkPolicyApplyConfiguration represents an declarative configuration of the NetworkPolicy type for use with apply.

func ExtractNetworkPolicy

func ExtractNetworkPolicy(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)

ExtractNetworkPolicy extracts the applied configuration owned by fieldManager from networkPolicy. If no managedFields are found in networkPolicy for fieldManager, a NetworkPolicyApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. networkPolicy must be a unmodified NetworkPolicy API object that was retrieved from the Kubernetes API. ExtractNetworkPolicy provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNetworkPolicyStatus

func ExtractNetworkPolicyStatus(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)

ExtractNetworkPolicyStatus is the same as ExtractNetworkPolicy except that it extracts the status subresource applied configuration. Experimental!

func NetworkPolicy

func NetworkPolicy(name, namespace string) *NetworkPolicyApplyConfiguration

NetworkPolicy constructs an declarative configuration of the NetworkPolicy type for use with apply.

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

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

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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 (*NetworkPolicyApplyConfiguration) 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 NetworkPolicyEgressRuleApplyConfiguration

type NetworkPolicyEgressRuleApplyConfiguration struct {
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
	To    []NetworkPolicyPeerApplyConfiguration `json:"to,omitempty"`
}

NetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyEgressRule type for use with apply.

func NetworkPolicyEgressRule

func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration

NetworkPolicyEgressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyEgressRule type for use with apply.

func (*NetworkPolicyEgressRuleApplyConfiguration) 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 (*NetworkPolicyEgressRuleApplyConfiguration) WithTo

WithTo adds the given value to the To field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the To field.

type NetworkPolicyIngressRuleApplyConfiguration

type NetworkPolicyIngressRuleApplyConfiguration struct {
	From  []NetworkPolicyPeerApplyConfiguration `json:"from,omitempty"`
	Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
}

NetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyIngressRule type for use with apply.

func NetworkPolicyIngressRule

func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration

NetworkPolicyIngressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyIngressRule type for use with apply.

func (*NetworkPolicyIngressRuleApplyConfiguration) WithFrom

WithFrom adds the given value to the From field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the From field.

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

type NetworkPolicyPeerApplyConfiguration

type NetworkPolicyPeerApplyConfiguration struct {
	ObjectSelector *ObjectSelectorApplyConfiguration `json:"objectSelector,omitempty"`
	IPBlock        *IPBlockApplyConfiguration        `json:"ipBlock,omitempty"`
}

NetworkPolicyPeerApplyConfiguration represents an declarative configuration of the NetworkPolicyPeer type for use with apply.

func NetworkPolicyPeer

func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration

NetworkPolicyPeerApplyConfiguration constructs an declarative configuration of the NetworkPolicyPeer type for use with apply.

func (*NetworkPolicyPeerApplyConfiguration) WithIPBlock

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

func (*NetworkPolicyPeerApplyConfiguration) WithObjectSelector

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

type NetworkPolicyPortApplyConfiguration

type NetworkPolicyPortApplyConfiguration struct {
	Protocol *v1.Protocol `json:"protocol,omitempty"`
	Port     *int32       `json:"port,omitempty"`
	EndPort  *int32       `json:"endPort,omitempty"`
}

NetworkPolicyPortApplyConfiguration represents an declarative configuration of the NetworkPolicyPort type for use with apply.

func NetworkPolicyPort

func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration

NetworkPolicyPortApplyConfiguration constructs an declarative configuration of the NetworkPolicyPort type for use with apply.

func (*NetworkPolicyPortApplyConfiguration) WithEndPort

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

func (*NetworkPolicyPortApplyConfiguration) 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 (*NetworkPolicyPortApplyConfiguration) 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 NetworkPolicyRuleApplyConfiguration

type NetworkPolicyRuleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	NetworkRef                       *LocalUIDReferenceApplyConfiguration       `json:"networkRef,omitempty"`
	Targets                          []TargetNetworkInterfaceApplyConfiguration `json:"targets,omitempty"`
	Priority                         *int32                                     `json:"priority,omitempty"`
	IngressRules                     []RuleApplyConfiguration                   `json:"ingressRule,omitempty"`
	EgressRules                      []RuleApplyConfiguration                   `json:"egressRule,omitempty"`
}

NetworkPolicyRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyRule type for use with apply.

func ExtractNetworkPolicyRule

func ExtractNetworkPolicyRule(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)

ExtractNetworkPolicyRule extracts the applied configuration owned by fieldManager from networkPolicyRule. If no managedFields are found in networkPolicyRule for fieldManager, a NetworkPolicyRuleApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. networkPolicyRule must be a unmodified NetworkPolicyRule API object that was retrieved from the Kubernetes API. ExtractNetworkPolicyRule provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNetworkPolicyRuleStatus

func ExtractNetworkPolicyRuleStatus(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)

ExtractNetworkPolicyRuleStatus is the same as ExtractNetworkPolicyRule except that it extracts the status subresource applied configuration. Experimental!

func NetworkPolicyRule

func NetworkPolicyRule(name, namespace string) *NetworkPolicyRuleApplyConfiguration

NetworkPolicyRule constructs an declarative configuration of the NetworkPolicyRule type for use with apply.

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

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

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

func (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) WithNetworkRef

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

func (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) 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 (*NetworkPolicyRuleApplyConfiguration) WithTargets

WithTargets adds the given value to the Targets field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Targets field.

func (*NetworkPolicyRuleApplyConfiguration) 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 NetworkPolicySpecApplyConfiguration

type NetworkPolicySpecApplyConfiguration struct {
	NetworkRef               *v1.LocalObjectReference                     `json:"networkRef,omitempty"`
	NetworkInterfaceSelector *metav1.LabelSelectorApplyConfiguration      `json:"networkInterfaceSelector,omitempty"`
	Priority                 *int32                                       `json:"priority,omitempty"`
	Ingress                  []NetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
	Egress                   []NetworkPolicyEgressRuleApplyConfiguration  `json:"egress,omitempty"`
	PolicyTypes              []corev1alpha1.PolicyType                    `json:"policyTypes,omitempty"`
}

NetworkPolicySpecApplyConfiguration represents an declarative configuration of the NetworkPolicySpec type for use with apply.

func NetworkPolicySpec

func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration

NetworkPolicySpecApplyConfiguration constructs an declarative configuration of the NetworkPolicySpec type for use with apply.

func (*NetworkPolicySpecApplyConfiguration) WithEgress

WithEgress adds the given value to the Egress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Egress field.

func (*NetworkPolicySpecApplyConfiguration) WithIngress

WithIngress adds the given value to the Ingress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ingress field.

func (*NetworkPolicySpecApplyConfiguration) WithNetworkInterfaceSelector

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

func (*NetworkPolicySpecApplyConfiguration) WithNetworkRef

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

func (*NetworkPolicySpecApplyConfiguration) WithPolicyTypes

WithPolicyTypes adds the given value to the PolicyTypes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PolicyTypes field.

func (*NetworkPolicySpecApplyConfiguration) 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 NetworkPolicyTargetRefApplyConfiguration

type NetworkPolicyTargetRefApplyConfiguration struct {
	UID  *types.UID `json:"uid,omitempty"`
	Name *string    `json:"name,omitempty"`
}

NetworkPolicyTargetRefApplyConfiguration represents an declarative configuration of the NetworkPolicyTargetRef type for use with apply.

func NetworkPolicyTargetRef

func NetworkPolicyTargetRef() *NetworkPolicyTargetRefApplyConfiguration

NetworkPolicyTargetRefApplyConfiguration constructs an declarative configuration of the NetworkPolicyTargetRef type for use with apply.

func (*NetworkPolicyTargetRefApplyConfiguration) 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 (*NetworkPolicyTargetRefApplyConfiguration) 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 NetworkSpecApplyConfiguration

type NetworkSpecApplyConfiguration struct {
	ID       *string                            `json:"id,omitempty"`
	Peerings []NetworkPeeringApplyConfiguration `json:"peerings,omitempty"`
}

NetworkSpecApplyConfiguration represents an declarative configuration of the NetworkSpec type for use with apply.

func NetworkSpec

func NetworkSpec() *NetworkSpecApplyConfiguration

NetworkSpecApplyConfiguration constructs an declarative configuration of the NetworkSpec type for use with apply.

func (*NetworkSpecApplyConfiguration) 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 (*NetworkSpecApplyConfiguration) WithPeerings

WithPeerings adds the given value to the Peerings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Peerings field.

type NetworkStatusApplyConfiguration

type NetworkStatusApplyConfiguration struct {
	Peerings map[string][]v1alpha1.NetworkPeeringStatus `json:"peerings,omitempty"`
}

NetworkStatusApplyConfiguration represents an declarative configuration of the NetworkStatus type for use with apply.

func NetworkStatus

func NetworkStatus() *NetworkStatusApplyConfiguration

NetworkStatusApplyConfiguration constructs an declarative configuration of the NetworkStatus type for use with apply.

func (*NetworkStatusApplyConfiguration) WithPeerings

WithPeerings puts the entries into the Peerings 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 Peerings field, overwriting an existing map entries in Peerings field with the same key.

type NodeAffinityApplyConfiguration

type NodeAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution *NodeSelectorApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

NodeAffinityApplyConfiguration represents an declarative configuration of the NodeAffinity type for use with apply.

func NodeAffinity

func NodeAffinity() *NodeAffinityApplyConfiguration

NodeAffinityApplyConfiguration constructs an declarative configuration of the NodeAffinity type for use with apply.

func (*NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration

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

type NodeApplyConfiguration

type NodeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1alpha1.NodeSpec   `json:"spec,omitempty"`
	Status                           *v1alpha1.NodeStatus `json:"status,omitempty"`
}

NodeApplyConfiguration represents an declarative configuration of the Node type for use with apply.

func ExtractNode

func ExtractNode(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error)

ExtractNode extracts the applied configuration owned by fieldManager from node. If no managedFields are found in node for fieldManager, a NodeApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. node must be a unmodified Node API object that was retrieved from the Kubernetes API. ExtractNode provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractNodeStatus

func ExtractNodeStatus(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error)

ExtractNodeStatus is the same as ExtractNode except that it extracts the status subresource applied configuration. Experimental!

func Node

func Node(name string) *NodeApplyConfiguration

Node constructs an declarative configuration of the Node type for use with apply.

func (*NodeApplyConfiguration) WithAPIVersion

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

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

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

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

func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration

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

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

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

func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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 (*NodeApplyConfiguration) 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 (*NodeApplyConfiguration) 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 (*NodeApplyConfiguration) 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 NodeSelectorApplyConfiguration

type NodeSelectorApplyConfiguration struct {
	NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
}

NodeSelectorApplyConfiguration represents an declarative configuration of the NodeSelector type for use with apply.

func NodeSelector

func NodeSelector() *NodeSelectorApplyConfiguration

NodeSelectorApplyConfiguration constructs an declarative configuration of the NodeSelector type for use with apply.

func (*NodeSelectorApplyConfiguration) WithNodeSelectorTerms

WithNodeSelectorTerms adds the given value to the NodeSelectorTerms field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeSelectorTerms field.

type NodeSelectorRequirementApplyConfiguration

type NodeSelectorRequirementApplyConfiguration struct {
	Key      *string                        `json:"key,omitempty"`
	Operator *v1alpha1.NodeSelectorOperator `json:"operator,omitempty"`
	Values   []string                       `json:"values,omitempty"`
}

NodeSelectorRequirementApplyConfiguration represents an declarative configuration of the NodeSelectorRequirement type for use with apply.

func NodeSelectorRequirement

func NodeSelectorRequirement() *NodeSelectorRequirementApplyConfiguration

NodeSelectorRequirementApplyConfiguration constructs an declarative configuration of the NodeSelectorRequirement type for use with apply.

func (*NodeSelectorRequirementApplyConfiguration) WithKey

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

func (*NodeSelectorRequirementApplyConfiguration) WithOperator

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

func (*NodeSelectorRequirementApplyConfiguration) WithValues

WithValues adds the given value to the Values field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Values field.

type NodeSelectorTermApplyConfiguration

type NodeSelectorTermApplyConfiguration struct {
	MatchExpressions []NodeSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
	MatchFields      []NodeSelectorRequirementApplyConfiguration `json:"matchFields,omitempty"`
}

NodeSelectorTermApplyConfiguration represents an declarative configuration of the NodeSelectorTerm type for use with apply.

func NodeSelectorTerm

func NodeSelectorTerm() *NodeSelectorTermApplyConfiguration

NodeSelectorTermApplyConfiguration constructs an declarative configuration of the NodeSelectorTerm type for use with apply.

func (*NodeSelectorTermApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchExpressions field.

func (*NodeSelectorTermApplyConfiguration) WithMatchFields

WithMatchFields adds the given value to the MatchFields field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchFields field.

type ObjectIPApplyConfiguration

type ObjectIPApplyConfiguration struct {
	IPFamily *v1.IPFamily  `json:"ipFamily,omitempty"`
	Prefix   *net.IPPrefix `json:"prefix,omitempty"`
}

ObjectIPApplyConfiguration represents an declarative configuration of the ObjectIP type for use with apply.

func ObjectIP

func ObjectIP() *ObjectIPApplyConfiguration

ObjectIPApplyConfiguration constructs an declarative configuration of the ObjectIP type for use with apply.

func (*ObjectIPApplyConfiguration) WithIPFamily

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

func (*ObjectIPApplyConfiguration) WithPrefix

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

type ObjectSelectorApplyConfiguration

type ObjectSelectorApplyConfiguration struct {
	Kind                               *string `json:"kind,omitempty"`
	v1.LabelSelectorApplyConfiguration `json:",inline"`
}

ObjectSelectorApplyConfiguration represents an declarative configuration of the ObjectSelector type for use with apply.

func ObjectSelector

func ObjectSelector() *ObjectSelectorApplyConfiguration

ObjectSelectorApplyConfiguration constructs an declarative configuration of the ObjectSelector type for use with apply.

func (*ObjectSelectorApplyConfiguration) 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 (*ObjectSelectorApplyConfiguration) WithMatchExpressions

WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchExpressions field.

func (*ObjectSelectorApplyConfiguration) WithMatchLabels

WithMatchLabels puts the entries into the MatchLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.

type PCIAddressApplyConfiguration

type PCIAddressApplyConfiguration struct {
	Domain   *string `json:"domain,omitempty"`
	Bus      *string `json:"bus,omitempty"`
	Slot     *string `json:"slot,omitempty"`
	Function *string `json:"function,omitempty"`
}

PCIAddressApplyConfiguration represents an declarative configuration of the PCIAddress type for use with apply.

func PCIAddress

func PCIAddress() *PCIAddressApplyConfiguration

PCIAddressApplyConfiguration constructs an declarative configuration of the PCIAddress type for use with apply.

func (*PCIAddressApplyConfiguration) WithBus

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

func (*PCIAddressApplyConfiguration) WithDomain

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

func (*PCIAddressApplyConfiguration) WithFunction

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

func (*PCIAddressApplyConfiguration) WithSlot

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

type PeeringPrefixApplyConfiguration

type PeeringPrefixApplyConfiguration struct {
	Name   *string       `json:"name,omitempty"`
	Prefix *net.IPPrefix `json:"prefix,omitempty"`
}

PeeringPrefixApplyConfiguration represents an declarative configuration of the PeeringPrefix type for use with apply.

func PeeringPrefix

func PeeringPrefix() *PeeringPrefixApplyConfiguration

PeeringPrefixApplyConfiguration constructs an declarative configuration of the PeeringPrefix type for use with apply.

func (*PeeringPrefixApplyConfiguration) 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 (*PeeringPrefixApplyConfiguration) WithPrefix

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

type RuleApplyConfiguration

type RuleApplyConfiguration struct {
	CIDRBlock          []IPBlockApplyConfiguration           `json:"ipBlock,omitempty"`
	ObjectIPs          []ObjectIPApplyConfiguration          `json:"ips,omitempty"`
	NetworkPolicyPorts []NetworkPolicyPortApplyConfiguration `json:"networkPolicyPorts,omitempty"`
}

RuleApplyConfiguration represents an declarative configuration of the Rule type for use with apply.

func Rule

func Rule() *RuleApplyConfiguration

RuleApplyConfiguration constructs an declarative configuration of the Rule type for use with apply.

func (*RuleApplyConfiguration) WithCIDRBlock

WithCIDRBlock adds the given value to the CIDRBlock field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CIDRBlock field.

func (*RuleApplyConfiguration) WithNetworkPolicyPorts

WithNetworkPolicyPorts adds the given value to the NetworkPolicyPorts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NetworkPolicyPorts field.

func (*RuleApplyConfiguration) WithObjectIPs

WithObjectIPs adds the given value to the ObjectIPs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ObjectIPs field.

type TargetNetworkInterfaceApplyConfiguration

type TargetNetworkInterfaceApplyConfiguration struct {
	IP        *net.IP                              `json:"ip,omitempty"`
	TargetRef *LocalUIDReferenceApplyConfiguration `json:"targetRef,omitempty"`
}

TargetNetworkInterfaceApplyConfiguration represents an declarative configuration of the TargetNetworkInterface type for use with apply.

func TargetNetworkInterface

func TargetNetworkInterface() *TargetNetworkInterfaceApplyConfiguration

TargetNetworkInterfaceApplyConfiguration constructs an declarative configuration of the TargetNetworkInterface type for use with apply.

func (*TargetNetworkInterfaceApplyConfiguration) 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 (*TargetNetworkInterfaceApplyConfiguration) WithTargetRef

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

type TopologySpreadConstraintApplyConfiguration

type TopologySpreadConstraintApplyConfiguration struct {
	MaxSkew           *int32                                  `json:"maxSkew,omitempty"`
	TopologyKey       *string                                 `json:"topologyKey,omitempty"`
	WhenUnsatisfiable *v1alpha1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"`
	LabelSelector     *v1.LabelSelectorApplyConfiguration     `json:"labelSelector,omitempty"`
}

TopologySpreadConstraintApplyConfiguration represents an declarative configuration of the TopologySpreadConstraint type for use with apply.

func TopologySpreadConstraint

func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration

TopologySpreadConstraintApplyConfiguration constructs an declarative configuration of the TopologySpreadConstraint type for use with apply.

func (*TopologySpreadConstraintApplyConfiguration) WithLabelSelector

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

func (*TopologySpreadConstraintApplyConfiguration) WithMaxSkew

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

func (*TopologySpreadConstraintApplyConfiguration) WithTopologyKey

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

func (*TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable

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

Jump to

Keyboard shortcuts

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