v1alpha1

package
v0.24.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CIDRConfigApplyConfiguration

type CIDRConfigApplyConfiguration struct {
	CIDR            *string `json:"cidr,omitempty"`
	PerNodeMaskSize *int32  `json:"perNodeMaskSize,omitempty"`
}

CIDRConfigApplyConfiguration represents an declarative configuration of the CIDRConfig type for use with apply.

func CIDRConfig

func CIDRConfig() *CIDRConfigApplyConfiguration

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

func (*CIDRConfigApplyConfiguration) 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 (*CIDRConfigApplyConfiguration) WithPerNodeMaskSize

func (b *CIDRConfigApplyConfiguration) WithPerNodeMaskSize(value int32) *CIDRConfigApplyConfiguration

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

type ClusterCIDRConfigApplyConfiguration

type ClusterCIDRConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ClusterCIDRConfigSpecApplyConfiguration    `json:"spec,omitempty"`
	Status                           *networkingv1alpha1.ClusterCIDRConfigStatus `json:"status,omitempty"`
}

ClusterCIDRConfigApplyConfiguration represents an declarative configuration of the ClusterCIDRConfig type for use with apply.

func ClusterCIDRConfig

func ClusterCIDRConfig(name string) *ClusterCIDRConfigApplyConfiguration

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

func ExtractClusterCIDRConfig

func ExtractClusterCIDRConfig(clusterCIDRConfig *networkingv1alpha1.ClusterCIDRConfig, fieldManager string) (*ClusterCIDRConfigApplyConfiguration, error)

ExtractClusterCIDRConfig extracts the applied configuration owned by fieldManager from clusterCIDRConfig. If no managedFields are found in clusterCIDRConfig for fieldManager, a ClusterCIDRConfigApplyConfiguration 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. clusterCIDRConfig must be a unmodified ClusterCIDRConfig API object that was retrieved from the Kubernetes API. ExtractClusterCIDRConfig 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 ExtractClusterCIDRConfigStatus

func ExtractClusterCIDRConfigStatus(clusterCIDRConfig *networkingv1alpha1.ClusterCIDRConfig, fieldManager string) (*ClusterCIDRConfigApplyConfiguration, error)

ExtractClusterCIDRConfigStatus is the same as ExtractClusterCIDRConfig except that it extracts the status subresource applied configuration. Experimental!

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

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

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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 (*ClusterCIDRConfigApplyConfiguration) 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 ClusterCIDRConfigSpecApplyConfiguration

type ClusterCIDRConfigSpecApplyConfiguration struct {
	NodeSelector    *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
	PerNodeHostBits *int32                             `json:"perNodeHostBits,omitempty"`
	IPv4CIDR        *string                            `json:"ipv4CIDR,omitempty"`
	IPv6CIDR        *string                            `json:"ipv6CIDR,omitempty"`
}

ClusterCIDRConfigSpecApplyConfiguration represents an declarative configuration of the ClusterCIDRConfigSpec type for use with apply.

func ClusterCIDRConfigSpec

func ClusterCIDRConfigSpec() *ClusterCIDRConfigSpecApplyConfiguration

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

func (*ClusterCIDRConfigSpecApplyConfiguration) WithIPv4CIDR

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

func (*ClusterCIDRConfigSpecApplyConfiguration) WithIPv6CIDR

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

func (*ClusterCIDRConfigSpecApplyConfiguration) WithNodeSelector

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

func (*ClusterCIDRConfigSpecApplyConfiguration) WithPerNodeHostBits

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

type ClusterCIDRConfigStatusApplyConfiguration

type ClusterCIDRConfigStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}

ClusterCIDRConfigStatusApplyConfiguration represents an declarative configuration of the ClusterCIDRConfigStatus type for use with apply.

func ClusterCIDRConfigStatus

func ClusterCIDRConfigStatus() *ClusterCIDRConfigStatusApplyConfiguration

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

func (*ClusterCIDRConfigStatusApplyConfiguration) WithConditions

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

Jump to

Keyboard shortcuts

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