v1alpha1

package
v0.0.0-...-b054aa7 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInputsApplyConfiguration

type BuildInputsApplyConfiguration struct {
	BaseOSExtensionsImagePullspec *string                                       `json:"baseOSExtensionsImagePullspec,omitempty"`
	BaseOSImagePullspec           *string                                       `json:"baseOSImagePullspec,omitempty"`
	BaseImagePullSecret           *ImageSecretObjectReferenceApplyConfiguration `json:"baseImagePullSecret,omitempty"`
	ImageBuilder                  *MachineOSImageBuilderApplyConfiguration      `json:"imageBuilder,omitempty"`
	RenderedImagePushSecret       *ImageSecretObjectReferenceApplyConfiguration `json:"renderedImagePushSecret,omitempty"`
	RenderedImagePushspec         *string                                       `json:"renderedImagePushspec,omitempty"`
	ReleaseVersion                *string                                       `json:"releaseVersion,omitempty"`
	Containerfile                 []MachineOSContainerfileApplyConfiguration    `json:"containerFile,omitempty"`
}

BuildInputsApplyConfiguration represents an declarative configuration of the BuildInputs type for use with apply.

func BuildInputs

func BuildInputs() *BuildInputsApplyConfiguration

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

func (*BuildInputsApplyConfiguration) WithBaseImagePullSecret

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

func (*BuildInputsApplyConfiguration) WithBaseOSExtensionsImagePullspec

func (b *BuildInputsApplyConfiguration) WithBaseOSExtensionsImagePullspec(value string) *BuildInputsApplyConfiguration

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

func (*BuildInputsApplyConfiguration) WithBaseOSImagePullspec

func (b *BuildInputsApplyConfiguration) WithBaseOSImagePullspec(value string) *BuildInputsApplyConfiguration

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

func (*BuildInputsApplyConfiguration) WithContainerfile

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

func (*BuildInputsApplyConfiguration) WithImageBuilder

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

func (*BuildInputsApplyConfiguration) WithReleaseVersion

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

func (*BuildInputsApplyConfiguration) WithRenderedImagePushSecret

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

func (*BuildInputsApplyConfiguration) WithRenderedImagePushspec

func (b *BuildInputsApplyConfiguration) WithRenderedImagePushspec(value string) *BuildInputsApplyConfiguration

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

type BuildOutputsApplyConfiguration

type BuildOutputsApplyConfiguration struct {
	CurrentImagePullSecret *ImageSecretObjectReferenceApplyConfiguration `json:"currentImagePullSecret,omitempty"`
}

BuildOutputsApplyConfiguration represents an declarative configuration of the BuildOutputs type for use with apply.

func BuildOutputs

func BuildOutputs() *BuildOutputsApplyConfiguration

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

func (*BuildOutputsApplyConfiguration) WithCurrentImagePullSecret

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

type ImageSecretObjectReferenceApplyConfiguration

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

ImageSecretObjectReferenceApplyConfiguration represents an declarative configuration of the ImageSecretObjectReference type for use with apply.

func ImageSecretObjectReference

func ImageSecretObjectReference() *ImageSecretObjectReferenceApplyConfiguration

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

func (*ImageSecretObjectReferenceApplyConfiguration) 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 MCOObjectReferenceApplyConfiguration

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

MCOObjectReferenceApplyConfiguration represents an declarative configuration of the MCOObjectReference type for use with apply.

func MCOObjectReference

func MCOObjectReference() *MCOObjectReferenceApplyConfiguration

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

func (*MCOObjectReferenceApplyConfiguration) 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 MachineConfigNodeApplyConfiguration

type MachineConfigNodeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *MachineConfigNodeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *MachineConfigNodeStatusApplyConfiguration `json:"status,omitempty"`
}

MachineConfigNodeApplyConfiguration represents an declarative configuration of the MachineConfigNode type for use with apply.

func ExtractMachineConfigNode

func ExtractMachineConfigNode(machineConfigNode *machineconfigurationv1alpha1.MachineConfigNode, fieldManager string) (*MachineConfigNodeApplyConfiguration, error)

ExtractMachineConfigNode extracts the applied configuration owned by fieldManager from machineConfigNode. If no managedFields are found in machineConfigNode for fieldManager, a MachineConfigNodeApplyConfiguration 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. machineConfigNode must be a unmodified MachineConfigNode API object that was retrieved from the Kubernetes API. ExtractMachineConfigNode 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 ExtractMachineConfigNodeStatus

func ExtractMachineConfigNodeStatus(machineConfigNode *machineconfigurationv1alpha1.MachineConfigNode, fieldManager string) (*MachineConfigNodeApplyConfiguration, error)

ExtractMachineConfigNodeStatus is the same as ExtractMachineConfigNode except that it extracts the status subresource applied configuration. Experimental!

func MachineConfigNode

func MachineConfigNode(name string) *MachineConfigNodeApplyConfiguration

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

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

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

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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 (*MachineConfigNodeApplyConfiguration) 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 MachineConfigNodeSpecApplyConfiguration

type MachineConfigNodeSpecApplyConfiguration struct {
	Node            *MCOObjectReferenceApplyConfiguration                        `json:"node,omitempty"`
	Pool            *MCOObjectReferenceApplyConfiguration                        `json:"pool,omitempty"`
	ConfigVersion   *MachineConfigNodeSpecMachineConfigVersionApplyConfiguration `json:"configVersion,omitempty"`
	PinnedImageSets []MachineConfigNodeSpecPinnedImageSetApplyConfiguration      `json:"pinnedImageSets,omitempty"`
}

MachineConfigNodeSpecApplyConfiguration represents an declarative configuration of the MachineConfigNodeSpec type for use with apply.

func MachineConfigNodeSpec

func MachineConfigNodeSpec() *MachineConfigNodeSpecApplyConfiguration

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

func (*MachineConfigNodeSpecApplyConfiguration) WithConfigVersion

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

func (*MachineConfigNodeSpecApplyConfiguration) WithNode

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

func (*MachineConfigNodeSpecApplyConfiguration) WithPinnedImageSets

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

func (*MachineConfigNodeSpecApplyConfiguration) WithPool

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

type MachineConfigNodeSpecMachineConfigVersionApplyConfiguration

type MachineConfigNodeSpecMachineConfigVersionApplyConfiguration struct {
	Desired *string `json:"desired,omitempty"`
}

MachineConfigNodeSpecMachineConfigVersionApplyConfiguration represents an declarative configuration of the MachineConfigNodeSpecMachineConfigVersion type for use with apply.

func MachineConfigNodeSpecMachineConfigVersion

func MachineConfigNodeSpecMachineConfigVersion() *MachineConfigNodeSpecMachineConfigVersionApplyConfiguration

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

func (*MachineConfigNodeSpecMachineConfigVersionApplyConfiguration) WithDesired

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

type MachineConfigNodeSpecPinnedImageSetApplyConfiguration

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

MachineConfigNodeSpecPinnedImageSetApplyConfiguration represents an declarative configuration of the MachineConfigNodeSpecPinnedImageSet type for use with apply.

func MachineConfigNodeSpecPinnedImageSet

func MachineConfigNodeSpecPinnedImageSet() *MachineConfigNodeSpecPinnedImageSetApplyConfiguration

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

func (*MachineConfigNodeSpecPinnedImageSetApplyConfiguration) 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 MachineConfigNodeStatusApplyConfiguration

type MachineConfigNodeStatusApplyConfiguration struct {
	Conditions         []v1.ConditionApplyConfiguration                               `json:"conditions,omitempty"`
	ObservedGeneration *int64                                                         `json:"observedGeneration,omitempty"`
	ConfigVersion      *MachineConfigNodeStatusMachineConfigVersionApplyConfiguration `json:"configVersion,omitempty"`
	PinnedImageSets    []MachineConfigNodeStatusPinnedImageSetApplyConfiguration      `json:"pinnedImageSets,omitempty"`
}

MachineConfigNodeStatusApplyConfiguration represents an declarative configuration of the MachineConfigNodeStatus type for use with apply.

func MachineConfigNodeStatus

func MachineConfigNodeStatus() *MachineConfigNodeStatusApplyConfiguration

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

func (*MachineConfigNodeStatusApplyConfiguration) 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 (*MachineConfigNodeStatusApplyConfiguration) WithConfigVersion

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

func (*MachineConfigNodeStatusApplyConfiguration) 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 (*MachineConfigNodeStatusApplyConfiguration) WithPinnedImageSets

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

type MachineConfigNodeStatusMachineConfigVersionApplyConfiguration

type MachineConfigNodeStatusMachineConfigVersionApplyConfiguration struct {
	Current *string `json:"current,omitempty"`
	Desired *string `json:"desired,omitempty"`
}

MachineConfigNodeStatusMachineConfigVersionApplyConfiguration represents an declarative configuration of the MachineConfigNodeStatusMachineConfigVersion type for use with apply.

func MachineConfigNodeStatusMachineConfigVersion

func MachineConfigNodeStatusMachineConfigVersion() *MachineConfigNodeStatusMachineConfigVersionApplyConfiguration

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

func (*MachineConfigNodeStatusMachineConfigVersionApplyConfiguration) WithCurrent

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

func (*MachineConfigNodeStatusMachineConfigVersionApplyConfiguration) WithDesired

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

type MachineConfigNodeStatusPinnedImageSetApplyConfiguration

type MachineConfigNodeStatusPinnedImageSetApplyConfiguration struct {
	Name                       *string  `json:"name,omitempty"`
	CurrentGeneration          *int32   `json:"currentGeneration,omitempty"`
	DesiredGeneration          *int32   `json:"desiredGeneration,omitempty"`
	LastFailedGeneration       *int32   `json:"lastFailedGeneration,omitempty"`
	LastFailedGenerationErrors []string `json:"lastFailedGenerationErrors,omitempty"`
}

MachineConfigNodeStatusPinnedImageSetApplyConfiguration represents an declarative configuration of the MachineConfigNodeStatusPinnedImageSet type for use with apply.

func MachineConfigNodeStatusPinnedImageSet

func MachineConfigNodeStatusPinnedImageSet() *MachineConfigNodeStatusPinnedImageSetApplyConfiguration

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

func (*MachineConfigNodeStatusPinnedImageSetApplyConfiguration) WithCurrentGeneration

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

func (*MachineConfigNodeStatusPinnedImageSetApplyConfiguration) WithDesiredGeneration

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

func (*MachineConfigNodeStatusPinnedImageSetApplyConfiguration) WithLastFailedGeneration

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

func (*MachineConfigNodeStatusPinnedImageSetApplyConfiguration) WithLastFailedGenerationErrors

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

func (*MachineConfigNodeStatusPinnedImageSetApplyConfiguration) 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 MachineConfigPoolReferenceApplyConfiguration

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

MachineConfigPoolReferenceApplyConfiguration represents an declarative configuration of the MachineConfigPoolReference type for use with apply.

func MachineConfigPoolReference

func MachineConfigPoolReference() *MachineConfigPoolReferenceApplyConfiguration

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

func (*MachineConfigPoolReferenceApplyConfiguration) 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 MachineOSBuildApplyConfiguration

type MachineOSBuildApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *MachineOSBuildSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *MachineOSBuildStatusApplyConfiguration `json:"status,omitempty"`
}

MachineOSBuildApplyConfiguration represents an declarative configuration of the MachineOSBuild type for use with apply.

func ExtractMachineOSBuild

func ExtractMachineOSBuild(machineOSBuild *machineconfigurationv1alpha1.MachineOSBuild, fieldManager string) (*MachineOSBuildApplyConfiguration, error)

ExtractMachineOSBuild extracts the applied configuration owned by fieldManager from machineOSBuild. If no managedFields are found in machineOSBuild for fieldManager, a MachineOSBuildApplyConfiguration 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. machineOSBuild must be a unmodified MachineOSBuild API object that was retrieved from the Kubernetes API. ExtractMachineOSBuild 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 ExtractMachineOSBuildStatus

func ExtractMachineOSBuildStatus(machineOSBuild *machineconfigurationv1alpha1.MachineOSBuild, fieldManager string) (*MachineOSBuildApplyConfiguration, error)

ExtractMachineOSBuildStatus is the same as ExtractMachineOSBuild except that it extracts the status subresource applied configuration. Experimental!

func MachineOSBuild

func MachineOSBuild(name string) *MachineOSBuildApplyConfiguration

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

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

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

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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 (*MachineOSBuildApplyConfiguration) 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 MachineOSBuildSpecApplyConfiguration

type MachineOSBuildSpecApplyConfiguration struct {
	ConfigGeneration      *int64                                            `json:"configGeneration,omitempty"`
	DesiredConfig         *RenderedMachineConfigReferenceApplyConfiguration `json:"desiredConfig,omitempty"`
	MachineOSConfig       *MachineOSConfigReferenceApplyConfiguration       `json:"machineOSConfig,omitempty"`
	Version               *int64                                            `json:"version,omitempty"`
	RenderedImagePushspec *string                                           `json:"renderedImagePushspec,omitempty"`
}

MachineOSBuildSpecApplyConfiguration represents an declarative configuration of the MachineOSBuildSpec type for use with apply.

func MachineOSBuildSpec

func MachineOSBuildSpec() *MachineOSBuildSpecApplyConfiguration

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

func (*MachineOSBuildSpecApplyConfiguration) WithConfigGeneration

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

func (*MachineOSBuildSpecApplyConfiguration) WithDesiredConfig

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

func (*MachineOSBuildSpecApplyConfiguration) WithMachineOSConfig

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

func (*MachineOSBuildSpecApplyConfiguration) WithRenderedImagePushspec

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

func (*MachineOSBuildSpecApplyConfiguration) WithVersion

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

type MachineOSBuildStatusApplyConfiguration

type MachineOSBuildStatusApplyConfiguration struct {
	Conditions         []v1.ConditionApplyConfiguration             `json:"conditions,omitempty"`
	BuilderReference   *MachineOSBuilderReferenceApplyConfiguration `json:"builderReference,omitempty"`
	RelatedObjects     []ObjectReferenceApplyConfiguration          `json:"relatedObjects,omitempty"`
	BuildStart         *metav1.Time                                 `json:"buildStart,omitempty"`
	BuildEnd           *metav1.Time                                 `json:"buildEnd,omitempty"`
	FinalImagePushspec *string                                      `json:"finalImagePullspec,omitempty"`
}

MachineOSBuildStatusApplyConfiguration represents an declarative configuration of the MachineOSBuildStatus type for use with apply.

func MachineOSBuildStatus

func MachineOSBuildStatus() *MachineOSBuildStatusApplyConfiguration

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

func (*MachineOSBuildStatusApplyConfiguration) WithBuildEnd

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

func (*MachineOSBuildStatusApplyConfiguration) WithBuildStart

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

func (*MachineOSBuildStatusApplyConfiguration) WithBuilderReference

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

func (*MachineOSBuildStatusApplyConfiguration) 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 (*MachineOSBuildStatusApplyConfiguration) WithFinalImagePushspec

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

func (*MachineOSBuildStatusApplyConfiguration) WithRelatedObjects

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

type MachineOSBuilderReferenceApplyConfiguration

type MachineOSBuilderReferenceApplyConfiguration struct {
	ImageBuilderType *v1alpha1.MachineOSImageBuilderType `json:"imageBuilderType,omitempty"`
	PodImageBuilder  *ObjectReferenceApplyConfiguration  `json:"buildPod,omitempty"`
}

MachineOSBuilderReferenceApplyConfiguration represents an declarative configuration of the MachineOSBuilderReference type for use with apply.

func MachineOSBuilderReference

func MachineOSBuilderReference() *MachineOSBuilderReferenceApplyConfiguration

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

func (*MachineOSBuilderReferenceApplyConfiguration) WithImageBuilderType

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

func (*MachineOSBuilderReferenceApplyConfiguration) WithPodImageBuilder

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

type MachineOSConfigApplyConfiguration

type MachineOSConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *MachineOSConfigSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *MachineOSConfigStatusApplyConfiguration `json:"status,omitempty"`
}

MachineOSConfigApplyConfiguration represents an declarative configuration of the MachineOSConfig type for use with apply.

func ExtractMachineOSConfig

func ExtractMachineOSConfig(machineOSConfig *machineconfigurationv1alpha1.MachineOSConfig, fieldManager string) (*MachineOSConfigApplyConfiguration, error)

ExtractMachineOSConfig extracts the applied configuration owned by fieldManager from machineOSConfig. If no managedFields are found in machineOSConfig for fieldManager, a MachineOSConfigApplyConfiguration 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. machineOSConfig must be a unmodified MachineOSConfig API object that was retrieved from the Kubernetes API. ExtractMachineOSConfig 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 ExtractMachineOSConfigStatus

func ExtractMachineOSConfigStatus(machineOSConfig *machineconfigurationv1alpha1.MachineOSConfig, fieldManager string) (*MachineOSConfigApplyConfiguration, error)

ExtractMachineOSConfigStatus is the same as ExtractMachineOSConfig except that it extracts the status subresource applied configuration. Experimental!

func MachineOSConfig

func MachineOSConfig(name string) *MachineOSConfigApplyConfiguration

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

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

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

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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 (*MachineOSConfigApplyConfiguration) 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 MachineOSConfigReferenceApplyConfiguration

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

MachineOSConfigReferenceApplyConfiguration represents an declarative configuration of the MachineOSConfigReference type for use with apply.

func MachineOSConfigReference

func MachineOSConfigReference() *MachineOSConfigReferenceApplyConfiguration

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

func (*MachineOSConfigReferenceApplyConfiguration) 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 MachineOSConfigSpecApplyConfiguration

type MachineOSConfigSpecApplyConfiguration struct {
	MachineConfigPool *MachineConfigPoolReferenceApplyConfiguration `json:"machineConfigPool,omitempty"`
	BuildInputs       *BuildInputsApplyConfiguration                `json:"buildInputs,omitempty"`
	BuildOutputs      *BuildOutputsApplyConfiguration               `json:"buildOutputs,omitempty"`
}

MachineOSConfigSpecApplyConfiguration represents an declarative configuration of the MachineOSConfigSpec type for use with apply.

func MachineOSConfigSpec

func MachineOSConfigSpec() *MachineOSConfigSpecApplyConfiguration

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

func (*MachineOSConfigSpecApplyConfiguration) WithBuildInputs

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

func (*MachineOSConfigSpecApplyConfiguration) WithBuildOutputs

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

func (*MachineOSConfigSpecApplyConfiguration) WithMachineConfigPool

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

type MachineOSConfigStatusApplyConfiguration

type MachineOSConfigStatusApplyConfiguration struct {
	Conditions           []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	ObservedGeneration   *int64                           `json:"observedGeneration,omitempty"`
	CurrentImagePullspec *string                          `json:"currentImagePullspec,omitempty"`
}

MachineOSConfigStatusApplyConfiguration represents an declarative configuration of the MachineOSConfigStatus type for use with apply.

func MachineOSConfigStatus

func MachineOSConfigStatus() *MachineOSConfigStatusApplyConfiguration

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

func (*MachineOSConfigStatusApplyConfiguration) 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 (*MachineOSConfigStatusApplyConfiguration) WithCurrentImagePullspec

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

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

type MachineOSContainerfileApplyConfiguration

type MachineOSContainerfileApplyConfiguration struct {
	ContainerfileArch *v1alpha1.ContainerfileArch `json:"containerfileArch,omitempty"`
	Content           *string                     `json:"content,omitempty"`
}

MachineOSContainerfileApplyConfiguration represents an declarative configuration of the MachineOSContainerfile type for use with apply.

func MachineOSContainerfile

func MachineOSContainerfile() *MachineOSContainerfileApplyConfiguration

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

func (*MachineOSContainerfileApplyConfiguration) WithContainerfileArch

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

func (*MachineOSContainerfileApplyConfiguration) WithContent

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

type MachineOSImageBuilderApplyConfiguration

type MachineOSImageBuilderApplyConfiguration struct {
	ImageBuilderType *v1alpha1.MachineOSImageBuilderType `json:"imageBuilderType,omitempty"`
}

MachineOSImageBuilderApplyConfiguration represents an declarative configuration of the MachineOSImageBuilder type for use with apply.

func MachineOSImageBuilder

func MachineOSImageBuilder() *MachineOSImageBuilderApplyConfiguration

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

func (*MachineOSImageBuilderApplyConfiguration) WithImageBuilderType

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

type ObjectReferenceApplyConfiguration

type ObjectReferenceApplyConfiguration struct {
	Group     *string `json:"group,omitempty"`
	Resource  *string `json:"resource,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
}

ObjectReferenceApplyConfiguration represents an declarative configuration of the ObjectReference type for use with apply.

func ObjectReference

func ObjectReference() *ObjectReferenceApplyConfiguration

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

func (*ObjectReferenceApplyConfiguration) WithGroup

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

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

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

type PinnedImageRefApplyConfiguration

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

PinnedImageRefApplyConfiguration represents an declarative configuration of the PinnedImageRef type for use with apply.

func PinnedImageRef

func PinnedImageRef() *PinnedImageRefApplyConfiguration

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

func (*PinnedImageRefApplyConfiguration) 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 PinnedImageSetApplyConfiguration

type PinnedImageSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PinnedImageSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PinnedImageSetStatusApplyConfiguration `json:"status,omitempty"`
}

PinnedImageSetApplyConfiguration represents an declarative configuration of the PinnedImageSet type for use with apply.

func ExtractPinnedImageSet

func ExtractPinnedImageSet(pinnedImageSet *machineconfigurationv1alpha1.PinnedImageSet, fieldManager string) (*PinnedImageSetApplyConfiguration, error)

ExtractPinnedImageSet extracts the applied configuration owned by fieldManager from pinnedImageSet. If no managedFields are found in pinnedImageSet for fieldManager, a PinnedImageSetApplyConfiguration 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. pinnedImageSet must be a unmodified PinnedImageSet API object that was retrieved from the Kubernetes API. ExtractPinnedImageSet 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 ExtractPinnedImageSetStatus

func ExtractPinnedImageSetStatus(pinnedImageSet *machineconfigurationv1alpha1.PinnedImageSet, fieldManager string) (*PinnedImageSetApplyConfiguration, error)

ExtractPinnedImageSetStatus is the same as ExtractPinnedImageSet except that it extracts the status subresource applied configuration. Experimental!

func PinnedImageSet

func PinnedImageSet(name string) *PinnedImageSetApplyConfiguration

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

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

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

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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 (*PinnedImageSetApplyConfiguration) 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 PinnedImageSetSpecApplyConfiguration

type PinnedImageSetSpecApplyConfiguration struct {
	PinnedImages []PinnedImageRefApplyConfiguration `json:"pinnedImages,omitempty"`
}

PinnedImageSetSpecApplyConfiguration represents an declarative configuration of the PinnedImageSetSpec type for use with apply.

func PinnedImageSetSpec

func PinnedImageSetSpec() *PinnedImageSetSpecApplyConfiguration

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

func (*PinnedImageSetSpecApplyConfiguration) WithPinnedImages

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

type PinnedImageSetStatusApplyConfiguration

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

PinnedImageSetStatusApplyConfiguration represents an declarative configuration of the PinnedImageSetStatus type for use with apply.

func PinnedImageSetStatus

func PinnedImageSetStatus() *PinnedImageSetStatusApplyConfiguration

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

func (*PinnedImageSetStatusApplyConfiguration) WithConditions

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

type RenderedMachineConfigReferenceApplyConfiguration

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

RenderedMachineConfigReferenceApplyConfiguration represents an declarative configuration of the RenderedMachineConfigReference type for use with apply.

func RenderedMachineConfigReference

func RenderedMachineConfigReference() *RenderedMachineConfigReferenceApplyConfiguration

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

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

Jump to

Keyboard shortcuts

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