v1alpha1

package
v0.0.0-...-66691d1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 AttachedDiskApplyConfiguration

type AttachedDiskApplyConfiguration struct {
	Name                                 *string `json:"name,omitempty"`
	Device                               *string `json:"device,omitempty"`
	AttachedDiskSourceApplyConfiguration `json:",inline"`
}

AttachedDiskApplyConfiguration represents an declarative configuration of the AttachedDisk type for use with apply.

func AttachedDisk

func AttachedDisk() *AttachedDiskApplyConfiguration

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

func (*AttachedDiskApplyConfiguration) WithDevice

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

func (*AttachedDiskApplyConfiguration) WithDiskRef

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

func (*AttachedDiskApplyConfiguration) WithEmptyDisk

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

func (*AttachedDiskApplyConfiguration) WithEphemeral

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

func (*AttachedDiskApplyConfiguration) 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 AttachedDiskSourceApplyConfiguration

type AttachedDiskSourceApplyConfiguration struct {
	DiskRef   *LocalObjectReferenceApplyConfiguration `json:"diskRef,omitempty"`
	EmptyDisk *EmptyDiskSourceApplyConfiguration      `json:"emptyDisk,omitempty"`
	Ephemeral *EphemeralDiskSourceApplyConfiguration  `json:"ephemeral,omitempty"`
}

AttachedDiskSourceApplyConfiguration represents an declarative configuration of the AttachedDiskSource type for use with apply.

func AttachedDiskSource

func AttachedDiskSource() *AttachedDiskSourceApplyConfiguration

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

func (*AttachedDiskSourceApplyConfiguration) WithDiskRef

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

func (*AttachedDiskSourceApplyConfiguration) WithEmptyDisk

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

func (*AttachedDiskSourceApplyConfiguration) WithEphemeral

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

type AttachedDiskStatusApplyConfiguration

type AttachedDiskStatusApplyConfiguration struct {
	Name                    *string                     `json:"name,omitempty"`
	State                   *v1alpha1.AttachedDiskState `json:"state,omitempty"`
	LastStateTransitionTime *v1.Time                    `json:"lastStateTransitionTime,omitempty"`
}

AttachedDiskStatusApplyConfiguration represents an declarative configuration of the AttachedDiskStatus type for use with apply.

func AttachedDiskStatus

func AttachedDiskStatus() *AttachedDiskStatusApplyConfiguration

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

func (*AttachedDiskStatusApplyConfiguration) WithLastStateTransitionTime

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

func (*AttachedDiskStatusApplyConfiguration) 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 (*AttachedDiskStatusApplyConfiguration) 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 DaemonEndpointApplyConfiguration

type DaemonEndpointApplyConfiguration struct {
	Port *int32 `json:"port,omitempty"`
}

DaemonEndpointApplyConfiguration represents an declarative configuration of the DaemonEndpoint type for use with apply.

func DaemonEndpoint

func DaemonEndpoint() *DaemonEndpointApplyConfiguration

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

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

type DiskAccessApplyConfiguration

type DiskAccessApplyConfiguration struct {
	Driver     *string                                 `json:"driver,omitempty"`
	Handle     *string                                 `json:"handle,omitempty"`
	Attributes map[string]string                       `json:"attributes,omitempty"`
	SecretRef  *LocalObjectReferenceApplyConfiguration `json:"secretRef,omitempty"`
}

DiskAccessApplyConfiguration represents an declarative configuration of the DiskAccess type for use with apply.

func DiskAccess

func DiskAccess() *DiskAccessApplyConfiguration

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

func (*DiskAccessApplyConfiguration) WithAttributes

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

func (*DiskAccessApplyConfiguration) WithDriver

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

func (*DiskAccessApplyConfiguration) WithHandle

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

func (*DiskAccessApplyConfiguration) WithSecretRef

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

type DiskApplyConfiguration

type DiskApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DiskSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DiskStatusApplyConfiguration `json:"status,omitempty"`
}

DiskApplyConfiguration represents an declarative configuration of the Disk type for use with apply.

func Disk

func Disk(name, namespace string) *DiskApplyConfiguration

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

func ExtractDisk

func ExtractDisk(disk *corev1alpha1.Disk, fieldManager string) (*DiskApplyConfiguration, error)

ExtractDisk extracts the applied configuration owned by fieldManager from disk. If no managedFields are found in disk for fieldManager, a DiskApplyConfiguration 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. disk must be a unmodified Disk API object that was retrieved from the Kubernetes API. ExtractDisk 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 ExtractDiskStatus

func ExtractDiskStatus(disk *corev1alpha1.Disk, fieldManager string) (*DiskApplyConfiguration, error)

ExtractDiskStatus is the same as ExtractDisk except that it extracts the status subresource applied configuration. Experimental!

func (*DiskApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*DiskApplyConfiguration) 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 (*DiskApplyConfiguration) 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 (*DiskApplyConfiguration) 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 DiskSpecApplyConfiguration

type DiskSpecApplyConfiguration struct {
	TypeRef     *LocalObjectReferenceApplyConfiguration `json:"typeRef,omitempty"`
	InstanceRef *LocalUIDReferenceApplyConfiguration    `json:"instanceRef,omitempty"`
	Resources   *corev1alpha1.ResourceList              `json:"resources,omitempty"`
}

DiskSpecApplyConfiguration represents an declarative configuration of the DiskSpec type for use with apply.

func DiskSpec

func DiskSpec() *DiskSpecApplyConfiguration

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

func (*DiskSpecApplyConfiguration) WithInstanceRef

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

func (*DiskSpecApplyConfiguration) WithResources

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

func (*DiskSpecApplyConfiguration) WithTypeRef

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

type DiskStatusApplyConfiguration

type DiskStatusApplyConfiguration struct {
	State                   *v1alpha1.DiskState           `json:"state,omitempty"`
	Access                  *DiskAccessApplyConfiguration `json:"access,omitempty"`
	LastStateTransitionTime *v1.Time                      `json:"lastStateTransitionTime,omitempty"`
}

DiskStatusApplyConfiguration represents an declarative configuration of the DiskStatus type for use with apply.

func DiskStatus

func DiskStatus() *DiskStatusApplyConfiguration

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

func (*DiskStatusApplyConfiguration) WithAccess

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

func (*DiskStatusApplyConfiguration) WithLastStateTransitionTime

func (b *DiskStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *DiskStatusApplyConfiguration

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

func (*DiskStatusApplyConfiguration) 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 DiskTemplateSpecApplyConfiguration

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

DiskTemplateSpecApplyConfiguration represents an declarative configuration of the DiskTemplateSpec type for use with apply.

func DiskTemplateSpec

func DiskTemplateSpec() *DiskTemplateSpecApplyConfiguration

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

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

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

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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 (*DiskTemplateSpecApplyConfiguration) 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 DiskTypeApplyConfiguration

type DiskTypeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
}

DiskTypeApplyConfiguration represents an declarative configuration of the DiskType type for use with apply.

func DiskType

func DiskType(name string) *DiskTypeApplyConfiguration

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

func ExtractDiskType

func ExtractDiskType(diskType *v1alpha1.DiskType, fieldManager string) (*DiskTypeApplyConfiguration, error)

ExtractDiskType extracts the applied configuration owned by fieldManager from diskType. If no managedFields are found in diskType for fieldManager, a DiskTypeApplyConfiguration 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. diskType must be a unmodified DiskType API object that was retrieved from the Kubernetes API. ExtractDiskType 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 ExtractDiskTypeStatus

func ExtractDiskTypeStatus(diskType *v1alpha1.DiskType, fieldManager string) (*DiskTypeApplyConfiguration, error)

ExtractDiskTypeStatus is the same as ExtractDiskType except that it extracts the status subresource applied configuration. Experimental!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*DiskTypeApplyConfiguration) 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 EFIVarApplyConfiguration

type EFIVarApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	UUID  *string `json:"uuid,omitempty"`
	Value *string `json:"value,omitempty"`
}

EFIVarApplyConfiguration represents an declarative configuration of the EFIVar type for use with apply.

func EFIVar

func EFIVar() *EFIVarApplyConfiguration

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

func (*EFIVarApplyConfiguration) 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 (*EFIVarApplyConfiguration) WithUUID

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

func (*EFIVarApplyConfiguration) WithValue

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

type EmptyDiskSourceApplyConfiguration

type EmptyDiskSourceApplyConfiguration struct {
	SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
}

EmptyDiskSourceApplyConfiguration represents an declarative configuration of the EmptyDiskSource type for use with apply.

func EmptyDiskSource

func EmptyDiskSource() *EmptyDiskSourceApplyConfiguration

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

func (*EmptyDiskSourceApplyConfiguration) WithSizeLimit

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

type EphemeralDiskSourceApplyConfiguration

type EphemeralDiskSourceApplyConfiguration struct {
	DiskTemplate *DiskTemplateSpecApplyConfiguration `json:"diskTemplate,omitempty"`
}

EphemeralDiskSourceApplyConfiguration represents an declarative configuration of the EphemeralDiskSource type for use with apply.

func EphemeralDiskSource

func EphemeralDiskSource() *EphemeralDiskSourceApplyConfiguration

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

func (*EphemeralDiskSourceApplyConfiguration) WithDiskTemplate

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

type FleetAddressApplyConfiguration

type FleetAddressApplyConfiguration struct {
	Type    *v1alpha1.FleetAddressType `json:"type,omitempty"`
	Address *string                    `json:"address,omitempty"`
}

FleetAddressApplyConfiguration represents an declarative configuration of the FleetAddress type for use with apply.

func FleetAddress

func FleetAddress() *FleetAddressApplyConfiguration

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

func (*FleetAddressApplyConfiguration) WithAddress

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

func (*FleetAddressApplyConfiguration) 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 FleetApplyConfiguration

type FleetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FleetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FleetStatusApplyConfiguration `json:"status,omitempty"`
}

FleetApplyConfiguration represents an declarative configuration of the Fleet type for use with apply.

func ExtractFleet

func ExtractFleet(fleet *corev1alpha1.Fleet, fieldManager string) (*FleetApplyConfiguration, error)

ExtractFleet extracts the applied configuration owned by fieldManager from fleet. If no managedFields are found in fleet for fieldManager, a FleetApplyConfiguration 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. fleet must be a unmodified Fleet API object that was retrieved from the Kubernetes API. ExtractFleet 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 ExtractFleetStatus

func ExtractFleetStatus(fleet *corev1alpha1.Fleet, fieldManager string) (*FleetApplyConfiguration, error)

ExtractFleetStatus is the same as ExtractFleet except that it extracts the status subresource applied configuration. Experimental!

func Fleet

func Fleet(name string) *FleetApplyConfiguration

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

func (*FleetApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) 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 FleetConditionApplyConfiguration

type FleetConditionApplyConfiguration struct {
	Type               *v1alpha1.FleetConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus          `json:"status,omitempty"`
	Reason             *string                      `json:"reason,omitempty"`
	Message            *string                      `json:"message,omitempty"`
	ObservedGeneration *int64                       `json:"observedGeneration,omitempty"`
	LastTransitionTime *metav1.Time                 `json:"lastTransitionTime,omitempty"`
}

FleetConditionApplyConfiguration represents an declarative configuration of the FleetCondition type for use with apply.

func FleetCondition

func FleetCondition() *FleetConditionApplyConfiguration

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

func (*FleetConditionApplyConfiguration) WithLastTransitionTime

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

func (*FleetConditionApplyConfiguration) WithMessage

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

func (*FleetConditionApplyConfiguration) WithObservedGeneration

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

func (*FleetConditionApplyConfiguration) WithReason

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

func (*FleetConditionApplyConfiguration) 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 (*FleetConditionApplyConfiguration) 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 FleetDaemonEndpointsApplyConfiguration

type FleetDaemonEndpointsApplyConfiguration struct {
	SphereletEndpoint *DaemonEndpointApplyConfiguration `json:"sphereletEndpoint,omitempty"`
}

FleetDaemonEndpointsApplyConfiguration represents an declarative configuration of the FleetDaemonEndpoints type for use with apply.

func FleetDaemonEndpoints

func FleetDaemonEndpoints() *FleetDaemonEndpointsApplyConfiguration

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

func (*FleetDaemonEndpointsApplyConfiguration) WithSphereletEndpoint

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

type FleetSpecApplyConfiguration

type FleetSpecApplyConfiguration struct {
	ProviderID *string                   `json:"providerID,omitempty"`
	Taints     []TaintApplyConfiguration `json:"taints,omitempty"`
}

FleetSpecApplyConfiguration represents an declarative configuration of the FleetSpec type for use with apply.

func FleetSpec

func FleetSpec() *FleetSpecApplyConfiguration

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

func (*FleetSpecApplyConfiguration) WithProviderID

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

func (*FleetSpecApplyConfiguration) WithTaints

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

type FleetStatusApplyConfiguration

type FleetStatusApplyConfiguration struct {
	State           *v1alpha1.FleetState                    `json:"state,omitempty"`
	Conditions      []FleetConditionApplyConfiguration      `json:"conditions,omitempty"`
	Addresses       []FleetAddressApplyConfiguration        `json:"addresses,omitempty"`
	DaemonEndpoints *FleetDaemonEndpointsApplyConfiguration `json:"daemonEndpoints,omitempty"`
	Capacity        *v1alpha1.ResourceList                  `json:"capacity,omitempty"`
	Allocatable     *v1alpha1.ResourceList                  `json:"allocatable,omitempty"`
}

FleetStatusApplyConfiguration represents an declarative configuration of the FleetStatus type for use with apply.

func FleetStatus

func FleetStatus() *FleetStatusApplyConfiguration

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

func (*FleetStatusApplyConfiguration) WithAddresses

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

func (*FleetStatusApplyConfiguration) WithAllocatable

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

func (*FleetStatusApplyConfiguration) WithCapacity

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

func (*FleetStatusApplyConfiguration) WithConditions

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

func (*FleetStatusApplyConfiguration) WithDaemonEndpoints

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

func (*FleetStatusApplyConfiguration) 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 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 {
	InstanceTypeRef    *LocalObjectReferenceApplyConfiguration `json:"instanceTypeRef,omitempty"`
	FleetSelector      map[string]string                       `json:"fleetSelector,omitempty"`
	FleetRef           *LocalObjectReferenceApplyConfiguration `json:"fleetRef,omitempty"`
	Power              *corev1alpha1.Power                     `json:"power,omitempty"`
	Image              *string                                 `json:"image,omitempty"`
	ImagePullSecretRef *LocalObjectReferenceApplyConfiguration `json:"imagePullSecret,omitempty"`
	NetworkInterfaces  []NetworkInterfaceApplyConfiguration    `json:"networkInterfaces,omitempty"`
	Disks              []AttachedDiskApplyConfiguration        `json:"disks,omitempty"`
	IgnitionRef        *SecretKeySelectorApplyConfiguration    `json:"ignitionRef,omitempty"`
	EFIVars            []EFIVarApplyConfiguration              `json:"efiVars,omitempty"`
	Tolerations        []TolerationApplyConfiguration          `json:"tolerations,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) WithDisks

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

func (*InstanceSpecApplyConfiguration) WithEFIVars

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

func (*InstanceSpecApplyConfiguration) WithFleetRef

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

func (*InstanceSpecApplyConfiguration) WithFleetSelector

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

func (*InstanceSpecApplyConfiguration) WithIgnitionRef

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

func (*InstanceSpecApplyConfiguration) WithImage

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

func (*InstanceSpecApplyConfiguration) WithImagePullSecretRef

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

func (*InstanceSpecApplyConfiguration) WithInstanceTypeRef

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

func (*InstanceSpecApplyConfiguration) WithNetworkInterfaces

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

func (*InstanceSpecApplyConfiguration) WithPower

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

func (*InstanceSpecApplyConfiguration) WithTolerations

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

type InstanceStatusApplyConfiguration

type InstanceStatusApplyConfiguration struct {
	InstanceID         *string                                    `json:"instanceID,omitempty"`
	ObservedGeneration *int64                                     `json:"observedGeneration,omitempty"`
	State              *v1alpha1.InstanceState                    `json:"state,omitempty"`
	NetworkInterfaces  []NetworkInterfaceStatusApplyConfiguration `json:"networkInterfaces,omitempty"`
	Disks              []AttachedDiskStatusApplyConfiguration     `json:"disks,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) WithDisks

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

func (*InstanceStatusApplyConfiguration) WithInstanceID

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

func (*InstanceStatusApplyConfiguration) WithNetworkInterfaces

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

func (*InstanceStatusApplyConfiguration) WithObservedGeneration

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

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

type InstanceTypeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Class                            *v1alpha1.InstanceTypeClass `json:"class,omitempty"`
	Capabilities                     *v1alpha1.ResourceList      `json:"capabilities,omitempty"`
}

InstanceTypeApplyConfiguration represents an declarative configuration of the InstanceType type for use with apply.

func ExtractInstanceType

func ExtractInstanceType(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)

ExtractInstanceType extracts the applied configuration owned by fieldManager from instanceType. If no managedFields are found in instanceType for fieldManager, a InstanceTypeApplyConfiguration 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. instanceType must be a unmodified InstanceType API object that was retrieved from the Kubernetes API. ExtractInstanceType 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 ExtractInstanceTypeStatus

func ExtractInstanceTypeStatus(instanceType *v1alpha1.InstanceType, fieldManager string) (*InstanceTypeApplyConfiguration, error)

ExtractInstanceTypeStatus is the same as ExtractInstanceType except that it extracts the status subresource applied configuration. Experimental!

func InstanceType

func InstanceType(name string) *InstanceTypeApplyConfiguration

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

func (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) WithCapabilities

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

func (*InstanceTypeApplyConfiguration) WithClass

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

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

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

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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 (*InstanceTypeApplyConfiguration) 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 LocalObjectReferenceApplyConfiguration

type LocalObjectReferenceApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use with apply.

func LocalObjectReference

func LocalObjectReference() *LocalObjectReferenceApplyConfiguration

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

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

type NetworkApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1alpha1.NetworkSpec            `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 *v1alpha1.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 *v1alpha1.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 NetworkInterfaceApplyConfiguration

type NetworkInterfaceApplyConfiguration struct {
	Name             *string                            `json:"name,omitempty"`
	SubnetRef        *SubnetReferenceApplyConfiguration `json:"subnetRef,omitempty"`
	IPFamilies       []v1.IPFamily                      `json:"ipFamilies,omitempty"`
	IPs              []string                           `json:"ips,omitempty"`
	AccessIPFamilies []v1.IPFamily                      `json:"accessIPFamilies,omitempty"`
	AccessIPs        []string                           `json:"accessIPs,omitempty"`
}

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

func NetworkInterface

func NetworkInterface() *NetworkInterfaceApplyConfiguration

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

func (*NetworkInterfaceApplyConfiguration) WithAccessIPFamilies

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

func (*NetworkInterfaceApplyConfiguration) WithAccessIPs

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

func (*NetworkInterfaceApplyConfiguration) WithIPFamilies

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

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

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

type NetworkInterfaceStatusApplyConfiguration

type NetworkInterfaceStatusApplyConfiguration struct {
	Name                    *string                         `json:"name,omitempty"`
	IPs                     []string                        `json:"ips,omitempty"`
	AccessIPs               []string                        `json:"accessIPs,omitempty"`
	State                   *v1alpha1.NetworkInterfaceState `json:"state,omitempty"`
	LastStateTransitionTime *v1.Time                        `json:"lastStateTransitionTime,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) WithAccessIPs

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

func (*NetworkInterfaceStatusApplyConfiguration) 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 (*NetworkInterfaceStatusApplyConfiguration) WithLastStateTransitionTime

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

func (*NetworkInterfaceStatusApplyConfiguration) 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 (*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 NetworkStatusApplyConfiguration

type NetworkStatusApplyConfiguration struct {
	State *v1alpha1.NetworkState `json:"state,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) 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 SecretKeySelectorApplyConfiguration

type SecretKeySelectorApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
	Key  *string `json:"key,omitempty"`
}

SecretKeySelectorApplyConfiguration represents an declarative configuration of the SecretKeySelector type for use with apply.

func SecretKeySelector

func SecretKeySelector() *SecretKeySelectorApplyConfiguration

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

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

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

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

func ExtractSubnet

func ExtractSubnet(subnet *corev1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)

ExtractSubnet extracts the applied configuration owned by fieldManager from subnet. If no managedFields are found in subnet for fieldManager, a SubnetApplyConfiguration 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. subnet must be a unmodified Subnet API object that was retrieved from the Kubernetes API. ExtractSubnet 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 ExtractSubnetStatus

func ExtractSubnetStatus(subnet *corev1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)

ExtractSubnetStatus is the same as ExtractSubnet except that it extracts the status subresource applied configuration. Experimental!

func Subnet

func Subnet(name, namespace string) *SubnetApplyConfiguration

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

func (*SubnetApplyConfiguration) WithAPIVersion

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

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

func (*SubnetApplyConfiguration) WithAnnotations

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

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

func (*SubnetApplyConfiguration) WithCreationTimestamp

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

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

func (*SubnetApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*SubnetApplyConfiguration) WithDeletionTimestamp

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

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

func (*SubnetApplyConfiguration) WithFinalizers

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

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

func (*SubnetApplyConfiguration) WithGenerateName

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

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

func (*SubnetApplyConfiguration) WithGeneration

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

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

func (*SubnetApplyConfiguration) WithKind

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

func (*SubnetApplyConfiguration) WithLabels

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

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

func (*SubnetApplyConfiguration) WithName

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

func (*SubnetApplyConfiguration) WithNamespace

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

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

func (*SubnetApplyConfiguration) WithOwnerReferences

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

func (*SubnetApplyConfiguration) WithResourceVersion

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

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

func (*SubnetApplyConfiguration) WithSpec

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

func (*SubnetApplyConfiguration) WithStatus

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

func (*SubnetApplyConfiguration) WithUID

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

type SubnetReferenceApplyConfiguration

type SubnetReferenceApplyConfiguration struct {
	NetworkName *string `json:"networkName,omitempty"`
	Name        *string `json:"name,omitempty"`
}

SubnetReferenceApplyConfiguration represents an declarative configuration of the SubnetReference type for use with apply.

func SubnetReference

func SubnetReference() *SubnetReferenceApplyConfiguration

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

func (*SubnetReferenceApplyConfiguration) 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 (*SubnetReferenceApplyConfiguration) WithNetworkName

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

type SubnetSpecApplyConfiguration

type SubnetSpecApplyConfiguration struct {
	NetworkRef *LocalObjectReferenceApplyConfiguration `json:"networkRef,omitempty"`
	CIDRs      []string                                `json:"cidrs,omitempty"`
}

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

func SubnetSpec

func SubnetSpec() *SubnetSpecApplyConfiguration

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

func (*SubnetSpecApplyConfiguration) WithCIDRs

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

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

type SubnetStatusApplyConfiguration

type SubnetStatusApplyConfiguration struct {
	State *v1alpha1.SubnetState `json:"state,omitempty"`
}

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

func SubnetStatus

func SubnetStatus() *SubnetStatusApplyConfiguration

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

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

type TaintApplyConfiguration struct {
	Key    *string               `json:"key,omitempty"`
	Value  *string               `json:"value,omitempty"`
	Effect *v1alpha1.TaintEffect `json:"effect,omitempty"`
}

TaintApplyConfiguration represents an declarative configuration of the Taint type for use with apply.

func Taint

func Taint() *TaintApplyConfiguration

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

func (*TaintApplyConfiguration) WithEffect

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

func (*TaintApplyConfiguration) 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 (*TaintApplyConfiguration) WithValue

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

type TolerationApplyConfiguration

type TolerationApplyConfiguration struct {
	Key      *string                      `json:"key,omitempty"`
	Operator *v1alpha1.TolerationOperator `json:"operator,omitempty"`
	Value    *string                      `json:"value,omitempty"`
	Effect   *v1alpha1.TaintEffect        `json:"effect,omitempty"`
}

TolerationApplyConfiguration represents an declarative configuration of the Toleration type for use with apply.

func Toleration

func Toleration() *TolerationApplyConfiguration

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

func (*TolerationApplyConfiguration) WithEffect

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

func (*TolerationApplyConfiguration) 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 (*TolerationApplyConfiguration) 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 (*TolerationApplyConfiguration) WithValue

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value 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