v1alpha1

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 22 Imported by: 21

Documentation

Overview

Package v1alpha1 contains the VM Operator v1alpha1 APIs.

+k8s:openapi-gen=true +kubebuilder:object:generate=true +groupName=vmoperator.vmware.com +k8s:conversion-gen=github.com/vmware-tanzu/vm-operator/api/v1alpha2

Index

Constants

View Source
const (
	// VirtualMachinePrereqReadyCondition documents that all of a VirtualMachine's prerequisites declared in the spec
	// (e.g. VirtualMachineClass) are satisfied.
	VirtualMachinePrereqReadyCondition ConditionType = "VirtualMachinePrereqReady"

	// VirtualMachineClassBindingNotFoundReason (Severity=Error) documents a missing VirtualMachineClassBinding for the
	// VirtualMachineClass specified in the VirtualMachineSpec.
	VirtualMachineClassBindingNotFoundReason = "VirtualMachineClassBindingNotFound"

	// VirtualMachineClassNotFoundReason (Severity=Error) documents that the VirtualMachineClass specified in the VirtualMachineSpec
	// is not available.
	VirtualMachineClassNotFoundReason = "VirtualMachineClassNotFound"

	// ContentSourceBindingNotFoundReason (Severity=Error) documents a missing ContentSourceBinding for the
	// VirtualMachineImage specified in the VirtualMachineSpec.
	ContentSourceBindingNotFoundReason = "ContentSourceBindingNotFound"

	// ContentLibraryProviderNotFoundReason (Severity=Error) documents that the ContentLibraryProvider corresponding to a VirtualMachineImage
	// is not available.
	ContentLibraryProviderNotFoundReason = "ContentLibraryProviderNotFound"

	// VirtualMachineImageNotFoundReason (Severity=Error) documents that the VirtualMachineImage specified in the VirtualMachineSpec
	// is not available.
	VirtualMachineImageNotFoundReason = "VirtualMachineImageNotFound"

	// VirtualMachineImageNotReadyReason (Severity=Error) documents that the VirtualMachineImage specified in the VirtualMachineSpec
	// is not ready.
	VirtualMachineImageNotReadyReason = "VirtualMachineImageNotReady"
)
View Source
const (
	// GuestCustomizationCondition exposes the status of guest customization from within the guest OS, when available.
	GuestCustomizationCondition ConditionType = "GuestCustomization"

	// GuestCustomizationIdleReason (Severity=Info) documents that guest customizations were not applied for the VirtualMachine.
	GuestCustomizationIdleReason = "GuestCustomizationIdle"

	// GuestCustomizationPendingReason (Severity=Info) documents that guest customization is still pending within the guest OS.
	GuestCustomizationPendingReason = "GuestCustomizationPending"

	// GuestCustomizationRunningReason (Severity=Info) documents that the guest customization is now running on the guest OS.
	GuestCustomizationRunningReason = "GuestCustomizationRunning"

	// GuestCustomizationSucceededReason (Severity=Info) documents that the guest customization succeeded within the guest OS.
	GuestCustomizationSucceededReason = "GuestCustomizationSucceeded"

	// GuestCustomizationFailedReason (Severity=Error) documents that the guest customization failed within the guest OS.
	GuestCustomizationFailedReason = "GuestCustomizationFailed"
)
View Source
const (
	// VirtualMachineToolsCondition exposes the status of VMware Tools running in the guest OS, when available.
	VirtualMachineToolsCondition ConditionType = "VirtualMachineTools"

	// VirtualMachineToolsNotRunningReason (Severity=Error) documents that VMware Tools is not running.
	VirtualMachineToolsNotRunningReason = "VirtualMachineToolsNotRunning"

	// VirtualMachineToolsRunningReason (Severity=Info) documents that VMware Tools is running.
	VirtualMachineToolsRunningReason = "VirtualMachineToolsRunning"
)
View Source
const (
	// DeletingReason (Severity=Info) documents a condition not in Status=True because the underlying object it is currently being deleted.
	DeletingReason = "Deleting"

	// DeletionFailedReason (Severity=Warning) documents a condition not in Status=True because the underlying object
	// encountered problems during deletion. This is a warning because the reconciler will retry deletion.
	DeletionFailedReason = "DeletionFailed"

	// DeletedReason (Severity=Info) documents a condition not in Status=True because the underlying object was deleted.
	DeletedReason = "Deleted"
)

Common Condition.Reason used by VM Operator API objects.

View Source
const (
	// Deprecated
	// VirtualMachineImageOSTypeNotSupportedReason (Severity=Error) documents that OS Type is VirtualMachineImage is
	// not supported.
	VirtualMachineImageOSTypeNotSupportedReason = "VirtualMachineImageOSTypeNotSupported"

	// VirtualMachineImageV1Alpha1NotCompatibleReason (Severity=Error) documents that the VirtualMachineImage
	// is not prepared for VMService consumption.
	VirtualMachineImageV1Alpha1NotCompatibleReason = "VirtualMachineImageV1Alpha1NotCompatible"

	// VirtualMachineImageNotSyncedReason (Severity=Error) documents that the VirtualMachineImage is not synced with
	// the vSphere content library item that contains the source of this image's information.
	VirtualMachineImageNotSyncedReason = "VirtualMachineImageNotSynced"

	// VirtualMachineImageProviderNotReadyReason (Severity=Error) documents that the VirtualMachineImage provider
	// is not in ready state.
	VirtualMachineImageProviderNotReadyReason = "VirtualMachineImageProviderNotReady"

	// VirtualMachineImageProviderSecurityNotCompliantReason (Severity=Error) documents that the
	// VirtualMachineImage provider doesn't meet security compliance requirements.
	VirtualMachineImageProviderSecurityNotCompliantReason = "VirtualMachineImageProviderSecurityNotCompliant"
)

Condition.Reason for Conditions related to VirtualMachineImages.

View Source
const (
	// PauseAnnotation is an annotation that can be applied to any VirtualMachine object to prevent VM Operator from
	// reconciling the object with the vSphere infrastructure. VM Operator checks the presence of this annotation to
	// skip the reconcile of a VirtualMachine.
	//
	// This can be used when a Virtual Machine needs to be modified out-of-band of VM Operator on the infrastructure
	// directly (e.g., during a VADP based Restore operation).
	PauseAnnotation = GroupName + "/pause-reconcile"

	// NoDefaultNicAnnotation is an annotation that can be applied to prevent VM Operator from creating a default nic for
	// a VirtualMachine object with empty VirtualMachineNetworkInterfaces list.
	//
	// This can be used when users want to opt out a default network device when creating new VirtualMachines.
	//
	// When a VM without any VirtualMachineNetworkInterfaces is being created, VM Operator webhook checks the presence of
	// this annotation to skip adding a default nic. VM Operator won't add default NIC to any existing VMs or new VMs
	// with VirtualMachineNetworkInterfaces specified. This annotation is not required for such VMs.
	NoDefaultNicAnnotation = GroupName + "/no-default-nic"

	// InstanceIDAnnotation is an annotation that can be applied to set Cloud-Init metadata Instance ID.
	//
	// This cannot be set by users. It is for VM Operator to handle corner cases.
	//
	// In a corner case where a VM first boot failed to bootstrap with Cloud-Init, VM Operator sets Instance ID
	// the same with the first boot Instance ID to prevent Cloud-Init from treating this VM as first boot
	// due to different Instance ID. This annotation is used in upgrade script.
	InstanceIDAnnotation = GroupName + "/cloud-init-instance-id"

	// FirstBootDoneAnnotation is an annotation that indicates the VM has been
	// booted at least once. This annotation cannot be set by users and will not
	// be removed once set until the VM is deleted.
	FirstBootDoneAnnotation = "virtualmachine." + GroupName + "/first-boot-done"
)
View Source
const (
	// ManagedByExtensionKey and ManagedByExtensionType represent the ManagedBy
	// field on the VM. They are used to differentiate VM Service managed VMs
	// from traditional vSphere VMs.
	ManagedByExtensionKey  = "com.vmware.vcenter.wcp"
	ManagedByExtensionType = "VirtualMachine"
)
View Source
const (
	// VirtualMachinePublishRequestConditionSourceValid is the Type for a
	// VirtualMachinePublishRequest resource's status condition.
	//
	// The condition's status is set to true only when the information
	// that describes the source side of the publication has been validated.
	VirtualMachinePublishRequestConditionSourceValid = "SourceValid"

	// VirtualMachinePublishRequestConditionTargetValid is the Type for a
	// VirtualMachinePublishRequest resource's status condition.
	//
	// The condition's status is set to true only when the information
	// that describes the target side of the publication has been
	// validated.
	VirtualMachinePublishRequestConditionTargetValid = "TargetValid"

	// VirtualMachinePublishRequestConditionUploaded is the Type for a
	// VirtualMachinePublishRequest resource's status condition.
	//
	// The condition's status is set to true only when the VM being
	// published has been successfully uploaded.
	VirtualMachinePublishRequestConditionUploaded = "Uploaded"

	// VirtualMachinePublishRequestConditionImageAvailable is the Type for a
	// VirtualMachinePublishRequest resource's status condition.
	//
	// The condition's status is set to true only when a new
	// VirtualMachineImage resource has been realized from the published
	// VM.
	VirtualMachinePublishRequestConditionImageAvailable = "ImageAvailable"

	// VirtualMachinePublishRequestConditionComplete is the Type for a
	// VirtualMachinePublishRequest resource's status condition.
	//
	// The condition's status is set to true only when all other conditions
	// present on the resource have a truthy status.
	VirtualMachinePublishRequestConditionComplete = "Complete"
)
View Source
const (
	// SourceVirtualMachineNotExistReason documents that the source VM of
	// the VirtualMachinePublishRequest doesn't exist.
	SourceVirtualMachineNotExistReason = "SourceVirtualMachineNotExist"

	// SourceVirtualMachineNotCreatedReason documents that the source VM of
	// the VirtualMachinePublishRequest hasn't been created.
	SourceVirtualMachineNotCreatedReason = "SourceVirtualMachineNotCreated"

	// TargetContentLibraryNotExistReason documents that the target content
	// library of the VirtualMachinePublishRequest doesn't exist.
	TargetContentLibraryNotExistReason = "TargetContentLibraryNotExist"

	// TargetContentLibraryNotWritableReason documents that the target content
	// library of the VirtualMachinePublishRequest isn't writable.
	TargetContentLibraryNotWritableReason = "TargetContentLibraryNotWritable"

	// TargetContentLibraryNotReadyReason documents that the target content
	// library of the VirtualMachinePublishRequest isn't ready.
	TargetContentLibraryNotReadyReason = "TargetContentLibraryNotReady"

	// TargetItemAlreadyExistsReason documents that an item with the same name
	// as the VirtualMachinePublishRequest's target item name exists in
	// the target content library.
	TargetItemAlreadyExistsReason = "TargetItemAlreadyExists"

	// TargetVirtualMachineImageNotFoundReason documents that the expected
	// VirtualMachineImage resource corresponding to the VirtualMachinePublishRequest's
	// target item is not found in the namespace.
	TargetVirtualMachineImageNotFoundReason = "VirtualMachineImageNotFound"

	// UploadTaskNotStartedReason documents that the VM publish task hasn't started.
	UploadTaskNotStartedReason = "NotStarted"

	// UploadTaskQueuedReason documents that the VM publish task is in queued status.
	UploadTaskQueuedReason = "Queued"

	// UploadingReason documents that the VM publish task is in running status
	// and the published item is being uploaded to the target location.
	UploadingReason = "Uploading"

	// UploadItemIDInvalidReason documents that the VM publish task result
	// returns an invalid Item id.
	UploadItemIDInvalidReason = "ItemIDInvalid"

	// UploadFailureReason documents that uploading published item to the
	// target location failed.
	UploadFailureReason = "UploadFailure"

	// HasNotBeenUploadedReason documents that the VirtualMachinePublishRequest
	// hasn't completed because the published item hasn't been uploaded
	// to the target location.
	HasNotBeenUploadedReason = "HasNotBeenUploaded"

	// ImageUnavailableReason documents that the VirtualMachinePublishRequest
	// hasn't been completed because the expected VirtualMachineImage resource
	// isn't available yet.
	ImageUnavailableReason = "ImageUnavailable"
)

Condition.Reason for Conditions related to VirtualMachinePublishRequest.

View Source
const GroupName = "vmoperator.vmware.com"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Convert_common_LocalObjectRef_To_v1alpha1_ContentProviderReference

func Convert_common_LocalObjectRef_To_v1alpha1_ContentProviderReference(
	in *common.LocalObjectRef, out *ContentProviderReference, s apiconversion.Scope) error

func Convert_v1_Condition_To_v1alpha1_Condition

func Convert_v1_Condition_To_v1alpha1_Condition(in *metav1.Condition, out *Condition, s apiconversion.Scope) error

func Convert_v1alpha1_ClusterVirtualMachineImageList_To_v1alpha2_ClusterVirtualMachineImageList

func Convert_v1alpha1_ClusterVirtualMachineImageList_To_v1alpha2_ClusterVirtualMachineImageList(in *ClusterVirtualMachineImageList, out *v1alpha2.ClusterVirtualMachineImageList, s conversion.Scope) error

Convert_v1alpha1_ClusterVirtualMachineImageList_To_v1alpha2_ClusterVirtualMachineImageList is an autogenerated conversion function.

func Convert_v1alpha1_ClusterVirtualMachineImage_To_v1alpha2_ClusterVirtualMachineImage

func Convert_v1alpha1_ClusterVirtualMachineImage_To_v1alpha2_ClusterVirtualMachineImage(in *ClusterVirtualMachineImage, out *v1alpha2.ClusterVirtualMachineImage, s conversion.Scope) error

Convert_v1alpha1_ClusterVirtualMachineImage_To_v1alpha2_ClusterVirtualMachineImage is an autogenerated conversion function.

func Convert_v1alpha1_Condition_To_v1_Condition

func Convert_v1alpha1_Condition_To_v1_Condition(in *Condition, out *metav1.Condition, s apiconversion.Scope) error

func Convert_v1alpha1_ContentProviderReference_To_common_LocalObjectRef

func Convert_v1alpha1_ContentProviderReference_To_common_LocalObjectRef(
	in *ContentProviderReference, out *common.LocalObjectRef, s apiconversion.Scope) error

func Convert_v1alpha1_DynamicDirectPathIODevice_To_v1alpha2_DynamicDirectPathIODevice

func Convert_v1alpha1_DynamicDirectPathIODevice_To_v1alpha2_DynamicDirectPathIODevice(in *DynamicDirectPathIODevice, out *v1alpha2.DynamicDirectPathIODevice, s conversion.Scope) error

Convert_v1alpha1_DynamicDirectPathIODevice_To_v1alpha2_DynamicDirectPathIODevice is an autogenerated conversion function.

func Convert_v1alpha1_GuestHeartbeatAction_To_v1alpha2_GuestHeartbeatAction

func Convert_v1alpha1_GuestHeartbeatAction_To_v1alpha2_GuestHeartbeatAction(in *GuestHeartbeatAction, out *v1alpha2.GuestHeartbeatAction, s conversion.Scope) error

Convert_v1alpha1_GuestHeartbeatAction_To_v1alpha2_GuestHeartbeatAction is an autogenerated conversion function.

func Convert_v1alpha1_InstanceStorageVolume_To_v1alpha2_InstanceStorageVolume

func Convert_v1alpha1_InstanceStorageVolume_To_v1alpha2_InstanceStorageVolume(in *InstanceStorageVolume, out *v1alpha2.InstanceStorageVolume, s conversion.Scope) error

Convert_v1alpha1_InstanceStorageVolume_To_v1alpha2_InstanceStorageVolume is an autogenerated conversion function.

func Convert_v1alpha1_InstanceStorage_To_v1alpha2_InstanceStorage

func Convert_v1alpha1_InstanceStorage_To_v1alpha2_InstanceStorage(in *InstanceStorage, out *v1alpha2.InstanceStorage, s conversion.Scope) error

Convert_v1alpha1_InstanceStorage_To_v1alpha2_InstanceStorage is an autogenerated conversion function.

func Convert_v1alpha1_InstanceVolumeClaimVolumeSource_To_v1alpha2_InstanceVolumeClaimVolumeSource

func Convert_v1alpha1_InstanceVolumeClaimVolumeSource_To_v1alpha2_InstanceVolumeClaimVolumeSource(in *InstanceVolumeClaimVolumeSource, out *v1alpha2.InstanceVolumeClaimVolumeSource, s conversion.Scope) error

Convert_v1alpha1_InstanceVolumeClaimVolumeSource_To_v1alpha2_InstanceVolumeClaimVolumeSource is an autogenerated conversion function.

func Convert_v1alpha1_LoadBalancerIngress_To_v1alpha2_LoadBalancerIngress

func Convert_v1alpha1_LoadBalancerIngress_To_v1alpha2_LoadBalancerIngress(in *LoadBalancerIngress, out *v1alpha2.LoadBalancerIngress, s conversion.Scope) error

Convert_v1alpha1_LoadBalancerIngress_To_v1alpha2_LoadBalancerIngress is an autogenerated conversion function.

func Convert_v1alpha1_LoadBalancerStatus_To_v1alpha2_LoadBalancerStatus

func Convert_v1alpha1_LoadBalancerStatus_To_v1alpha2_LoadBalancerStatus(in *LoadBalancerStatus, out *v1alpha2.LoadBalancerStatus, s conversion.Scope) error

Convert_v1alpha1_LoadBalancerStatus_To_v1alpha2_LoadBalancerStatus is an autogenerated conversion function.

func Convert_v1alpha1_NetworkDeviceStatus_To_v1alpha2_NetworkDeviceStatus

func Convert_v1alpha1_NetworkDeviceStatus_To_v1alpha2_NetworkDeviceStatus(in *NetworkDeviceStatus, out *v1alpha2.NetworkDeviceStatus, s conversion.Scope) error

Convert_v1alpha1_NetworkDeviceStatus_To_v1alpha2_NetworkDeviceStatus is an autogenerated conversion function.

func Convert_v1alpha1_NetworkStatus_To_v1alpha2_NetworkStatus

func Convert_v1alpha1_NetworkStatus_To_v1alpha2_NetworkStatus(in *NetworkStatus, out *v1alpha2.NetworkStatus, s conversion.Scope) error

Convert_v1alpha1_NetworkStatus_To_v1alpha2_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha1_PersistentVolumeClaimVolumeSource_To_v1alpha2_PersistentVolumeClaimVolumeSource

func Convert_v1alpha1_PersistentVolumeClaimVolumeSource_To_v1alpha2_PersistentVolumeClaimVolumeSource(in *PersistentVolumeClaimVolumeSource, out *v1alpha2.PersistentVolumeClaimVolumeSource, s conversion.Scope) error

Convert_v1alpha1_PersistentVolumeClaimVolumeSource_To_v1alpha2_PersistentVolumeClaimVolumeSource is an autogenerated conversion function.

func Convert_v1alpha1_Probe_To_v1alpha2_VirtualMachineReadinessProbeSpec added in v1.8.5

func Convert_v1alpha1_Probe_To_v1alpha2_VirtualMachineReadinessProbeSpec(in *Probe, out *v1alpha2.VirtualMachineReadinessProbeSpec, s apiconversion.Scope) error

func Convert_v1alpha1_ResourcePoolSpec_To_v1alpha2_ResourcePoolSpec

func Convert_v1alpha1_ResourcePoolSpec_To_v1alpha2_ResourcePoolSpec(in *ResourcePoolSpec, out *v1alpha2.ResourcePoolSpec, s conversion.Scope) error

Convert_v1alpha1_ResourcePoolSpec_To_v1alpha2_ResourcePoolSpec is an autogenerated conversion function.

func Convert_v1alpha1_TCPSocketAction_To_v1alpha2_TCPSocketAction

func Convert_v1alpha1_TCPSocketAction_To_v1alpha2_TCPSocketAction(in *TCPSocketAction, out *v1alpha2.TCPSocketAction, s conversion.Scope) error

Convert_v1alpha1_TCPSocketAction_To_v1alpha2_TCPSocketAction is an autogenerated conversion function.

func Convert_v1alpha1_VGPUDevice_To_v1alpha2_VGPUDevice

func Convert_v1alpha1_VGPUDevice_To_v1alpha2_VGPUDevice(in *VGPUDevice, out *v1alpha2.VGPUDevice, s conversion.Scope) error

Convert_v1alpha1_VGPUDevice_To_v1alpha2_VGPUDevice is an autogenerated conversion function.

func Convert_v1alpha1_VirtualDevices_To_v1alpha2_VirtualDevices

func Convert_v1alpha1_VirtualDevices_To_v1alpha2_VirtualDevices(in *VirtualDevices, out *v1alpha2.VirtualDevices, s conversion.Scope) error

Convert_v1alpha1_VirtualDevices_To_v1alpha2_VirtualDevices is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassHardware_To_v1alpha2_VirtualMachineClassHardware

func Convert_v1alpha1_VirtualMachineClassHardware_To_v1alpha2_VirtualMachineClassHardware(in *VirtualMachineClassHardware, out *v1alpha2.VirtualMachineClassHardware, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassHardware_To_v1alpha2_VirtualMachineClassHardware is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassList_To_v1alpha2_VirtualMachineClassList

func Convert_v1alpha1_VirtualMachineClassList_To_v1alpha2_VirtualMachineClassList(in *VirtualMachineClassList, out *v1alpha2.VirtualMachineClassList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassList_To_v1alpha2_VirtualMachineClassList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassPolicies_To_v1alpha2_VirtualMachineClassPolicies

func Convert_v1alpha1_VirtualMachineClassPolicies_To_v1alpha2_VirtualMachineClassPolicies(in *VirtualMachineClassPolicies, out *v1alpha2.VirtualMachineClassPolicies, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassPolicies_To_v1alpha2_VirtualMachineClassPolicies is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassResources_To_v1alpha2_VirtualMachineClassResources

func Convert_v1alpha1_VirtualMachineClassResources_To_v1alpha2_VirtualMachineClassResources(in *VirtualMachineClassResources, out *v1alpha2.VirtualMachineClassResources, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassResources_To_v1alpha2_VirtualMachineClassResources is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassSpec_To_v1alpha2_VirtualMachineClassSpec

func Convert_v1alpha1_VirtualMachineClassSpec_To_v1alpha2_VirtualMachineClassSpec(in *VirtualMachineClassSpec, out *v1alpha2.VirtualMachineClassSpec, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassSpec_To_v1alpha2_VirtualMachineClassSpec is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClassStatus_To_v1alpha2_VirtualMachineClassStatus

func Convert_v1alpha1_VirtualMachineClassStatus_To_v1alpha2_VirtualMachineClassStatus(in *VirtualMachineClassStatus, out *v1alpha2.VirtualMachineClassStatus, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClassStatus_To_v1alpha2_VirtualMachineClassStatus is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineClass_To_v1alpha2_VirtualMachineClass

func Convert_v1alpha1_VirtualMachineClass_To_v1alpha2_VirtualMachineClass(in *VirtualMachineClass, out *v1alpha2.VirtualMachineClass, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineClass_To_v1alpha2_VirtualMachineClass is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineImageList_To_v1alpha2_VirtualMachineImageList

func Convert_v1alpha1_VirtualMachineImageList_To_v1alpha2_VirtualMachineImageList(in *VirtualMachineImageList, out *v1alpha2.VirtualMachineImageList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineImageList_To_v1alpha2_VirtualMachineImageList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineImageOSInfo_To_v1alpha2_VirtualMachineImageOSInfo

func Convert_v1alpha1_VirtualMachineImageOSInfo_To_v1alpha2_VirtualMachineImageOSInfo(in *VirtualMachineImageOSInfo, out *v1alpha2.VirtualMachineImageOSInfo, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineImageOSInfo_To_v1alpha2_VirtualMachineImageOSInfo is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineImageProductInfo_To_v1alpha2_VirtualMachineImageProductInfo

func Convert_v1alpha1_VirtualMachineImageProductInfo_To_v1alpha2_VirtualMachineImageProductInfo(in *VirtualMachineImageProductInfo, out *v1alpha2.VirtualMachineImageProductInfo, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineImageProductInfo_To_v1alpha2_VirtualMachineImageProductInfo is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineImageSpec_To_v1alpha2_VirtualMachineImageSpec

func Convert_v1alpha1_VirtualMachineImageSpec_To_v1alpha2_VirtualMachineImageSpec(
	in *VirtualMachineImageSpec, out *v1alpha2.VirtualMachineImageSpec, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachineImageStatus_To_v1alpha2_VirtualMachineImageStatus

func Convert_v1alpha1_VirtualMachineImageStatus_To_v1alpha2_VirtualMachineImageStatus(
	in *VirtualMachineImageStatus, out *v1alpha2.VirtualMachineImageStatus, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachineImage_To_v1alpha2_VirtualMachineImage

func Convert_v1alpha1_VirtualMachineImage_To_v1alpha2_VirtualMachineImage(in *VirtualMachineImage, out *v1alpha2.VirtualMachineImage, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineImage_To_v1alpha2_VirtualMachineImage is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineList_To_v1alpha2_VirtualMachineList

func Convert_v1alpha1_VirtualMachineList_To_v1alpha2_VirtualMachineList(in *VirtualMachineList, out *v1alpha2.VirtualMachineList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineList_To_v1alpha2_VirtualMachineList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestList_To_v1alpha2_VirtualMachinePublishRequestList

func Convert_v1alpha1_VirtualMachinePublishRequestList_To_v1alpha2_VirtualMachinePublishRequestList(in *VirtualMachinePublishRequestList, out *v1alpha2.VirtualMachinePublishRequestList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestList_To_v1alpha2_VirtualMachinePublishRequestList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestSource_To_v1alpha2_VirtualMachinePublishRequestSource

func Convert_v1alpha1_VirtualMachinePublishRequestSource_To_v1alpha2_VirtualMachinePublishRequestSource(in *VirtualMachinePublishRequestSource, out *v1alpha2.VirtualMachinePublishRequestSource, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestSource_To_v1alpha2_VirtualMachinePublishRequestSource is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestSpec_To_v1alpha2_VirtualMachinePublishRequestSpec

func Convert_v1alpha1_VirtualMachinePublishRequestSpec_To_v1alpha2_VirtualMachinePublishRequestSpec(in *VirtualMachinePublishRequestSpec, out *v1alpha2.VirtualMachinePublishRequestSpec, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestSpec_To_v1alpha2_VirtualMachinePublishRequestSpec is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestStatus_To_v1alpha2_VirtualMachinePublishRequestStatus

func Convert_v1alpha1_VirtualMachinePublishRequestStatus_To_v1alpha2_VirtualMachinePublishRequestStatus(in *VirtualMachinePublishRequestStatus, out *v1alpha2.VirtualMachinePublishRequestStatus, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestStatus_To_v1alpha2_VirtualMachinePublishRequestStatus is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestTargetItem_To_v1alpha2_VirtualMachinePublishRequestTargetItem

func Convert_v1alpha1_VirtualMachinePublishRequestTargetItem_To_v1alpha2_VirtualMachinePublishRequestTargetItem(in *VirtualMachinePublishRequestTargetItem, out *v1alpha2.VirtualMachinePublishRequestTargetItem, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestTargetItem_To_v1alpha2_VirtualMachinePublishRequestTargetItem is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestTargetLocation_To_v1alpha2_VirtualMachinePublishRequestTargetLocation

func Convert_v1alpha1_VirtualMachinePublishRequestTargetLocation_To_v1alpha2_VirtualMachinePublishRequestTargetLocation(in *VirtualMachinePublishRequestTargetLocation, out *v1alpha2.VirtualMachinePublishRequestTargetLocation, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestTargetLocation_To_v1alpha2_VirtualMachinePublishRequestTargetLocation is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequestTarget_To_v1alpha2_VirtualMachinePublishRequestTarget

func Convert_v1alpha1_VirtualMachinePublishRequestTarget_To_v1alpha2_VirtualMachinePublishRequestTarget(in *VirtualMachinePublishRequestTarget, out *v1alpha2.VirtualMachinePublishRequestTarget, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequestTarget_To_v1alpha2_VirtualMachinePublishRequestTarget is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachinePublishRequest_To_v1alpha2_VirtualMachinePublishRequest

func Convert_v1alpha1_VirtualMachinePublishRequest_To_v1alpha2_VirtualMachinePublishRequest(in *VirtualMachinePublishRequest, out *v1alpha2.VirtualMachinePublishRequest, s conversion.Scope) error

Convert_v1alpha1_VirtualMachinePublishRequest_To_v1alpha2_VirtualMachinePublishRequest is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineResourceSpec_To_v1alpha2_VirtualMachineResourceSpec

func Convert_v1alpha1_VirtualMachineResourceSpec_To_v1alpha2_VirtualMachineResourceSpec(in *VirtualMachineResourceSpec, out *v1alpha2.VirtualMachineResourceSpec, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineResourceSpec_To_v1alpha2_VirtualMachineResourceSpec is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineServiceList_To_v1alpha2_VirtualMachineServiceList

func Convert_v1alpha1_VirtualMachineServiceList_To_v1alpha2_VirtualMachineServiceList(in *VirtualMachineServiceList, out *v1alpha2.VirtualMachineServiceList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineServiceList_To_v1alpha2_VirtualMachineServiceList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineServicePort_To_v1alpha2_VirtualMachineServicePort

func Convert_v1alpha1_VirtualMachineServicePort_To_v1alpha2_VirtualMachineServicePort(in *VirtualMachineServicePort, out *v1alpha2.VirtualMachineServicePort, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineServicePort_To_v1alpha2_VirtualMachineServicePort is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineServiceSpec_To_v1alpha2_VirtualMachineServiceSpec

func Convert_v1alpha1_VirtualMachineServiceSpec_To_v1alpha2_VirtualMachineServiceSpec(in *VirtualMachineServiceSpec, out *v1alpha2.VirtualMachineServiceSpec, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineServiceSpec_To_v1alpha2_VirtualMachineServiceSpec is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineServiceStatus_To_v1alpha2_VirtualMachineServiceStatus

func Convert_v1alpha1_VirtualMachineServiceStatus_To_v1alpha2_VirtualMachineServiceStatus(in *VirtualMachineServiceStatus, out *v1alpha2.VirtualMachineServiceStatus, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineServiceStatus_To_v1alpha2_VirtualMachineServiceStatus is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineService_To_v1alpha2_VirtualMachineService

func Convert_v1alpha1_VirtualMachineService_To_v1alpha2_VirtualMachineService(in *VirtualMachineService, out *v1alpha2.VirtualMachineService, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineService_To_v1alpha2_VirtualMachineService is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineSetResourcePolicyList_To_v1alpha2_VirtualMachineSetResourcePolicyList

func Convert_v1alpha1_VirtualMachineSetResourcePolicyList_To_v1alpha2_VirtualMachineSetResourcePolicyList(in *VirtualMachineSetResourcePolicyList, out *v1alpha2.VirtualMachineSetResourcePolicyList, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineSetResourcePolicyList_To_v1alpha2_VirtualMachineSetResourcePolicyList is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineSetResourcePolicyStatus_To_v1alpha2_VirtualMachineSetResourcePolicyStatus

func Convert_v1alpha1_VirtualMachineSetResourcePolicyStatus_To_v1alpha2_VirtualMachineSetResourcePolicyStatus(in *VirtualMachineSetResourcePolicyStatus, out *v1alpha2.VirtualMachineSetResourcePolicyStatus, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineSetResourcePolicyStatus_To_v1alpha2_VirtualMachineSetResourcePolicyStatus is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineSetResourcePolicy_To_v1alpha2_VirtualMachineSetResourcePolicy

func Convert_v1alpha1_VirtualMachineSetResourcePolicy_To_v1alpha2_VirtualMachineSetResourcePolicy(in *VirtualMachineSetResourcePolicy, out *v1alpha2.VirtualMachineSetResourcePolicy, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineSetResourcePolicy_To_v1alpha2_VirtualMachineSetResourcePolicy is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineSpec_To_v1alpha2_VirtualMachineSpec

func Convert_v1alpha1_VirtualMachineSpec_To_v1alpha2_VirtualMachineSpec(
	in *VirtualMachineSpec, out *v1alpha2.VirtualMachineSpec, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachineStatus_To_v1alpha2_VirtualMachineStatus

func Convert_v1alpha1_VirtualMachineStatus_To_v1alpha2_VirtualMachineStatus(
	in *VirtualMachineStatus, out *v1alpha2.VirtualMachineStatus, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachineTemplate_To_v1alpha2_VirtualMachineTemplate

func Convert_v1alpha1_VirtualMachineTemplate_To_v1alpha2_VirtualMachineTemplate(in *VirtualMachineTemplate, out *v1alpha2.VirtualMachineTemplate, s conversion.Scope) error

Convert_v1alpha1_VirtualMachineTemplate_To_v1alpha2_VirtualMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha1_VirtualMachineVolumeStatus_To_v1alpha2_VirtualMachineVolumeStatus

func Convert_v1alpha1_VirtualMachineVolumeStatus_To_v1alpha2_VirtualMachineVolumeStatus(
	in *VirtualMachineVolumeStatus, out *v1alpha2.VirtualMachineVolumeStatus, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachineVolume_To_v1alpha2_VirtualMachineVolume

func Convert_v1alpha1_VirtualMachineVolume_To_v1alpha2_VirtualMachineVolume(
	in *VirtualMachineVolume, out *v1alpha2.VirtualMachineVolume, s apiconversion.Scope) error

func Convert_v1alpha1_VirtualMachine_To_v1alpha2_VirtualMachine

func Convert_v1alpha1_VirtualMachine_To_v1alpha2_VirtualMachine(in *VirtualMachine, out *v1alpha2.VirtualMachine, s conversion.Scope) error

Convert_v1alpha1_VirtualMachine_To_v1alpha2_VirtualMachine is an autogenerated conversion function.

func Convert_v1alpha2_ClusterVirtualMachineImageList_To_v1alpha1_ClusterVirtualMachineImageList

func Convert_v1alpha2_ClusterVirtualMachineImageList_To_v1alpha1_ClusterVirtualMachineImageList(in *v1alpha2.ClusterVirtualMachineImageList, out *ClusterVirtualMachineImageList, s conversion.Scope) error

Convert_v1alpha2_ClusterVirtualMachineImageList_To_v1alpha1_ClusterVirtualMachineImageList is an autogenerated conversion function.

func Convert_v1alpha2_ClusterVirtualMachineImage_To_v1alpha1_ClusterVirtualMachineImage

func Convert_v1alpha2_ClusterVirtualMachineImage_To_v1alpha1_ClusterVirtualMachineImage(in *v1alpha2.ClusterVirtualMachineImage, out *ClusterVirtualMachineImage, s conversion.Scope) error

Convert_v1alpha2_ClusterVirtualMachineImage_To_v1alpha1_ClusterVirtualMachineImage is an autogenerated conversion function.

func Convert_v1alpha2_DynamicDirectPathIODevice_To_v1alpha1_DynamicDirectPathIODevice

func Convert_v1alpha2_DynamicDirectPathIODevice_To_v1alpha1_DynamicDirectPathIODevice(in *v1alpha2.DynamicDirectPathIODevice, out *DynamicDirectPathIODevice, s conversion.Scope) error

Convert_v1alpha2_DynamicDirectPathIODevice_To_v1alpha1_DynamicDirectPathIODevice is an autogenerated conversion function.

func Convert_v1alpha2_GuestHeartbeatAction_To_v1alpha1_GuestHeartbeatAction

func Convert_v1alpha2_GuestHeartbeatAction_To_v1alpha1_GuestHeartbeatAction(in *v1alpha2.GuestHeartbeatAction, out *GuestHeartbeatAction, s conversion.Scope) error

Convert_v1alpha2_GuestHeartbeatAction_To_v1alpha1_GuestHeartbeatAction is an autogenerated conversion function.

func Convert_v1alpha2_InstanceStorageVolume_To_v1alpha1_InstanceStorageVolume

func Convert_v1alpha2_InstanceStorageVolume_To_v1alpha1_InstanceStorageVolume(in *v1alpha2.InstanceStorageVolume, out *InstanceStorageVolume, s conversion.Scope) error

Convert_v1alpha2_InstanceStorageVolume_To_v1alpha1_InstanceStorageVolume is an autogenerated conversion function.

func Convert_v1alpha2_InstanceStorage_To_v1alpha1_InstanceStorage

func Convert_v1alpha2_InstanceStorage_To_v1alpha1_InstanceStorage(in *v1alpha2.InstanceStorage, out *InstanceStorage, s conversion.Scope) error

Convert_v1alpha2_InstanceStorage_To_v1alpha1_InstanceStorage is an autogenerated conversion function.

func Convert_v1alpha2_InstanceVolumeClaimVolumeSource_To_v1alpha1_InstanceVolumeClaimVolumeSource

func Convert_v1alpha2_InstanceVolumeClaimVolumeSource_To_v1alpha1_InstanceVolumeClaimVolumeSource(in *v1alpha2.InstanceVolumeClaimVolumeSource, out *InstanceVolumeClaimVolumeSource, s conversion.Scope) error

Convert_v1alpha2_InstanceVolumeClaimVolumeSource_To_v1alpha1_InstanceVolumeClaimVolumeSource is an autogenerated conversion function.

func Convert_v1alpha2_LoadBalancerIngress_To_v1alpha1_LoadBalancerIngress

func Convert_v1alpha2_LoadBalancerIngress_To_v1alpha1_LoadBalancerIngress(in *v1alpha2.LoadBalancerIngress, out *LoadBalancerIngress, s conversion.Scope) error

Convert_v1alpha2_LoadBalancerIngress_To_v1alpha1_LoadBalancerIngress is an autogenerated conversion function.

func Convert_v1alpha2_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus

func Convert_v1alpha2_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in *v1alpha2.LoadBalancerStatus, out *LoadBalancerStatus, s conversion.Scope) error

Convert_v1alpha2_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus is an autogenerated conversion function.

func Convert_v1alpha2_NetworkDeviceStatus_To_v1alpha1_NetworkDeviceStatus

func Convert_v1alpha2_NetworkDeviceStatus_To_v1alpha1_NetworkDeviceStatus(in *v1alpha2.NetworkDeviceStatus, out *NetworkDeviceStatus, s conversion.Scope) error

Convert_v1alpha2_NetworkDeviceStatus_To_v1alpha1_NetworkDeviceStatus is an autogenerated conversion function.

func Convert_v1alpha2_NetworkStatus_To_v1alpha1_NetworkStatus

func Convert_v1alpha2_NetworkStatus_To_v1alpha1_NetworkStatus(in *v1alpha2.NetworkStatus, out *NetworkStatus, s conversion.Scope) error

Convert_v1alpha2_NetworkStatus_To_v1alpha1_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha2_PersistentVolumeClaimVolumeSource_To_v1alpha1_PersistentVolumeClaimVolumeSource

func Convert_v1alpha2_PersistentVolumeClaimVolumeSource_To_v1alpha1_PersistentVolumeClaimVolumeSource(in *v1alpha2.PersistentVolumeClaimVolumeSource, out *PersistentVolumeClaimVolumeSource, s conversion.Scope) error

Convert_v1alpha2_PersistentVolumeClaimVolumeSource_To_v1alpha1_PersistentVolumeClaimVolumeSource is an autogenerated conversion function.

func Convert_v1alpha2_ResourcePoolSpec_To_v1alpha1_ResourcePoolSpec

func Convert_v1alpha2_ResourcePoolSpec_To_v1alpha1_ResourcePoolSpec(in *v1alpha2.ResourcePoolSpec, out *ResourcePoolSpec, s conversion.Scope) error

Convert_v1alpha2_ResourcePoolSpec_To_v1alpha1_ResourcePoolSpec is an autogenerated conversion function.

func Convert_v1alpha2_TCPSocketAction_To_v1alpha1_TCPSocketAction

func Convert_v1alpha2_TCPSocketAction_To_v1alpha1_TCPSocketAction(in *v1alpha2.TCPSocketAction, out *TCPSocketAction, s conversion.Scope) error

Convert_v1alpha2_TCPSocketAction_To_v1alpha1_TCPSocketAction is an autogenerated conversion function.

func Convert_v1alpha2_VGPUDevice_To_v1alpha1_VGPUDevice

func Convert_v1alpha2_VGPUDevice_To_v1alpha1_VGPUDevice(in *v1alpha2.VGPUDevice, out *VGPUDevice, s conversion.Scope) error

Convert_v1alpha2_VGPUDevice_To_v1alpha1_VGPUDevice is an autogenerated conversion function.

func Convert_v1alpha2_VirtualDevices_To_v1alpha1_VirtualDevices

func Convert_v1alpha2_VirtualDevices_To_v1alpha1_VirtualDevices(in *v1alpha2.VirtualDevices, out *VirtualDevices, s conversion.Scope) error

Convert_v1alpha2_VirtualDevices_To_v1alpha1_VirtualDevices is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassHardware_To_v1alpha1_VirtualMachineClassHardware

func Convert_v1alpha2_VirtualMachineClassHardware_To_v1alpha1_VirtualMachineClassHardware(in *v1alpha2.VirtualMachineClassHardware, out *VirtualMachineClassHardware, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClassHardware_To_v1alpha1_VirtualMachineClassHardware is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassList_To_v1alpha1_VirtualMachineClassList

func Convert_v1alpha2_VirtualMachineClassList_To_v1alpha1_VirtualMachineClassList(in *v1alpha2.VirtualMachineClassList, out *VirtualMachineClassList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClassList_To_v1alpha1_VirtualMachineClassList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassPolicies_To_v1alpha1_VirtualMachineClassPolicies

func Convert_v1alpha2_VirtualMachineClassPolicies_To_v1alpha1_VirtualMachineClassPolicies(in *v1alpha2.VirtualMachineClassPolicies, out *VirtualMachineClassPolicies, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClassPolicies_To_v1alpha1_VirtualMachineClassPolicies is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassResources_To_v1alpha1_VirtualMachineClassResources

func Convert_v1alpha2_VirtualMachineClassResources_To_v1alpha1_VirtualMachineClassResources(in *v1alpha2.VirtualMachineClassResources, out *VirtualMachineClassResources, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClassResources_To_v1alpha1_VirtualMachineClassResources is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassSpec_To_v1alpha1_VirtualMachineClassSpec

func Convert_v1alpha2_VirtualMachineClassSpec_To_v1alpha1_VirtualMachineClassSpec(in *v1alpha2.VirtualMachineClassSpec, out *VirtualMachineClassSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClassSpec_To_v1alpha1_VirtualMachineClassSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClassStatus_To_v1alpha1_VirtualMachineClassStatus

func Convert_v1alpha2_VirtualMachineClassStatus_To_v1alpha1_VirtualMachineClassStatus(
	in *v1alpha2.VirtualMachineClassStatus, out *VirtualMachineClassStatus, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineClass_To_v1alpha1_VirtualMachineClass

func Convert_v1alpha2_VirtualMachineClass_To_v1alpha1_VirtualMachineClass(in *v1alpha2.VirtualMachineClass, out *VirtualMachineClass, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClass_To_v1alpha1_VirtualMachineClass is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineImageList_To_v1alpha1_VirtualMachineImageList

func Convert_v1alpha2_VirtualMachineImageList_To_v1alpha1_VirtualMachineImageList(in *v1alpha2.VirtualMachineImageList, out *VirtualMachineImageList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineImageList_To_v1alpha1_VirtualMachineImageList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineImageOSInfo_To_v1alpha1_VirtualMachineImageOSInfo

func Convert_v1alpha2_VirtualMachineImageOSInfo_To_v1alpha1_VirtualMachineImageOSInfo(
	in *v1alpha2.VirtualMachineImageOSInfo, out *VirtualMachineImageOSInfo, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineImageProductInfo_To_v1alpha1_VirtualMachineImageProductInfo

func Convert_v1alpha2_VirtualMachineImageProductInfo_To_v1alpha1_VirtualMachineImageProductInfo(in *v1alpha2.VirtualMachineImageProductInfo, out *VirtualMachineImageProductInfo, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineImageProductInfo_To_v1alpha1_VirtualMachineImageProductInfo is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineImageSpec_To_v1alpha1_VirtualMachineImageSpec

func Convert_v1alpha2_VirtualMachineImageSpec_To_v1alpha1_VirtualMachineImageSpec(in *v1alpha2.VirtualMachineImageSpec, out *VirtualMachineImageSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineImageSpec_To_v1alpha1_VirtualMachineImageSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineImageStatus_To_v1alpha1_VirtualMachineImageStatus

func Convert_v1alpha2_VirtualMachineImageStatus_To_v1alpha1_VirtualMachineImageStatus(
	in *v1alpha2.VirtualMachineImageStatus, out *VirtualMachineImageStatus, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineImage_To_v1alpha1_VirtualMachineImage

func Convert_v1alpha2_VirtualMachineImage_To_v1alpha1_VirtualMachineImage(in *v1alpha2.VirtualMachineImage, out *VirtualMachineImage, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineImage_To_v1alpha1_VirtualMachineImage is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineList_To_v1alpha1_VirtualMachineList

func Convert_v1alpha2_VirtualMachineList_To_v1alpha1_VirtualMachineList(in *v1alpha2.VirtualMachineList, out *VirtualMachineList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineList_To_v1alpha1_VirtualMachineList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestList_To_v1alpha1_VirtualMachinePublishRequestList

func Convert_v1alpha2_VirtualMachinePublishRequestList_To_v1alpha1_VirtualMachinePublishRequestList(in *v1alpha2.VirtualMachinePublishRequestList, out *VirtualMachinePublishRequestList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestList_To_v1alpha1_VirtualMachinePublishRequestList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestSource_To_v1alpha1_VirtualMachinePublishRequestSource

func Convert_v1alpha2_VirtualMachinePublishRequestSource_To_v1alpha1_VirtualMachinePublishRequestSource(in *v1alpha2.VirtualMachinePublishRequestSource, out *VirtualMachinePublishRequestSource, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestSource_To_v1alpha1_VirtualMachinePublishRequestSource is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestSpec_To_v1alpha1_VirtualMachinePublishRequestSpec

func Convert_v1alpha2_VirtualMachinePublishRequestSpec_To_v1alpha1_VirtualMachinePublishRequestSpec(in *v1alpha2.VirtualMachinePublishRequestSpec, out *VirtualMachinePublishRequestSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestSpec_To_v1alpha1_VirtualMachinePublishRequestSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestStatus_To_v1alpha1_VirtualMachinePublishRequestStatus

func Convert_v1alpha2_VirtualMachinePublishRequestStatus_To_v1alpha1_VirtualMachinePublishRequestStatus(in *v1alpha2.VirtualMachinePublishRequestStatus, out *VirtualMachinePublishRequestStatus, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestStatus_To_v1alpha1_VirtualMachinePublishRequestStatus is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestTargetItem_To_v1alpha1_VirtualMachinePublishRequestTargetItem

func Convert_v1alpha2_VirtualMachinePublishRequestTargetItem_To_v1alpha1_VirtualMachinePublishRequestTargetItem(in *v1alpha2.VirtualMachinePublishRequestTargetItem, out *VirtualMachinePublishRequestTargetItem, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestTargetItem_To_v1alpha1_VirtualMachinePublishRequestTargetItem is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestTargetLocation_To_v1alpha1_VirtualMachinePublishRequestTargetLocation

func Convert_v1alpha2_VirtualMachinePublishRequestTargetLocation_To_v1alpha1_VirtualMachinePublishRequestTargetLocation(in *v1alpha2.VirtualMachinePublishRequestTargetLocation, out *VirtualMachinePublishRequestTargetLocation, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestTargetLocation_To_v1alpha1_VirtualMachinePublishRequestTargetLocation is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequestTarget_To_v1alpha1_VirtualMachinePublishRequestTarget

func Convert_v1alpha2_VirtualMachinePublishRequestTarget_To_v1alpha1_VirtualMachinePublishRequestTarget(in *v1alpha2.VirtualMachinePublishRequestTarget, out *VirtualMachinePublishRequestTarget, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequestTarget_To_v1alpha1_VirtualMachinePublishRequestTarget is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePublishRequest_To_v1alpha1_VirtualMachinePublishRequest

func Convert_v1alpha2_VirtualMachinePublishRequest_To_v1alpha1_VirtualMachinePublishRequest(in *v1alpha2.VirtualMachinePublishRequest, out *VirtualMachinePublishRequest, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePublishRequest_To_v1alpha1_VirtualMachinePublishRequest is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineReadinessProbeSpec_To_v1alpha1_Probe added in v1.8.5

func Convert_v1alpha2_VirtualMachineReadinessProbeSpec_To_v1alpha1_Probe(in *v1alpha2.VirtualMachineReadinessProbeSpec, out *Probe, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineResourceSpec_To_v1alpha1_VirtualMachineResourceSpec

func Convert_v1alpha2_VirtualMachineResourceSpec_To_v1alpha1_VirtualMachineResourceSpec(in *v1alpha2.VirtualMachineResourceSpec, out *VirtualMachineResourceSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineResourceSpec_To_v1alpha1_VirtualMachineResourceSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineServiceList_To_v1alpha1_VirtualMachineServiceList

func Convert_v1alpha2_VirtualMachineServiceList_To_v1alpha1_VirtualMachineServiceList(in *v1alpha2.VirtualMachineServiceList, out *VirtualMachineServiceList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineServiceList_To_v1alpha1_VirtualMachineServiceList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineServicePort_To_v1alpha1_VirtualMachineServicePort

func Convert_v1alpha2_VirtualMachineServicePort_To_v1alpha1_VirtualMachineServicePort(in *v1alpha2.VirtualMachineServicePort, out *VirtualMachineServicePort, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineServicePort_To_v1alpha1_VirtualMachineServicePort is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineServiceSpec_To_v1alpha1_VirtualMachineServiceSpec

func Convert_v1alpha2_VirtualMachineServiceSpec_To_v1alpha1_VirtualMachineServiceSpec(in *v1alpha2.VirtualMachineServiceSpec, out *VirtualMachineServiceSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineServiceSpec_To_v1alpha1_VirtualMachineServiceSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineServiceStatus_To_v1alpha1_VirtualMachineServiceStatus

func Convert_v1alpha2_VirtualMachineServiceStatus_To_v1alpha1_VirtualMachineServiceStatus(in *v1alpha2.VirtualMachineServiceStatus, out *VirtualMachineServiceStatus, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineServiceStatus_To_v1alpha1_VirtualMachineServiceStatus is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineService_To_v1alpha1_VirtualMachineService

func Convert_v1alpha2_VirtualMachineService_To_v1alpha1_VirtualMachineService(in *v1alpha2.VirtualMachineService, out *VirtualMachineService, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineService_To_v1alpha1_VirtualMachineService is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineSetResourcePolicyList_To_v1alpha1_VirtualMachineSetResourcePolicyList

func Convert_v1alpha2_VirtualMachineSetResourcePolicyList_To_v1alpha1_VirtualMachineSetResourcePolicyList(in *v1alpha2.VirtualMachineSetResourcePolicyList, out *VirtualMachineSetResourcePolicyList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineSetResourcePolicyList_To_v1alpha1_VirtualMachineSetResourcePolicyList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineSetResourcePolicyStatus_To_v1alpha1_VirtualMachineSetResourcePolicyStatus

func Convert_v1alpha2_VirtualMachineSetResourcePolicyStatus_To_v1alpha1_VirtualMachineSetResourcePolicyStatus(in *v1alpha2.VirtualMachineSetResourcePolicyStatus, out *VirtualMachineSetResourcePolicyStatus, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineSetResourcePolicyStatus_To_v1alpha1_VirtualMachineSetResourcePolicyStatus is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineSetResourcePolicy_To_v1alpha1_VirtualMachineSetResourcePolicy

func Convert_v1alpha2_VirtualMachineSetResourcePolicy_To_v1alpha1_VirtualMachineSetResourcePolicy(in *v1alpha2.VirtualMachineSetResourcePolicy, out *VirtualMachineSetResourcePolicy, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineSetResourcePolicy_To_v1alpha1_VirtualMachineSetResourcePolicy is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec

func Convert_v1alpha2_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec(
	in *v1alpha2.VirtualMachineSpec, out *VirtualMachineSpec, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus

func Convert_v1alpha2_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus(
	in *v1alpha2.VirtualMachineStatus, out *VirtualMachineStatus, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineTemplate_To_v1alpha1_VirtualMachineTemplate

func Convert_v1alpha2_VirtualMachineTemplate_To_v1alpha1_VirtualMachineTemplate(in *v1alpha2.VirtualMachineTemplate, out *VirtualMachineTemplate, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineTemplate_To_v1alpha1_VirtualMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineVolumeStatus_To_v1alpha1_VirtualMachineVolumeStatus

func Convert_v1alpha2_VirtualMachineVolumeStatus_To_v1alpha1_VirtualMachineVolumeStatus(
	in *v1alpha2.VirtualMachineVolumeStatus, out *VirtualMachineVolumeStatus, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachineVolume_To_v1alpha1_VirtualMachineVolume

func Convert_v1alpha2_VirtualMachineVolume_To_v1alpha1_VirtualMachineVolume(
	in *v1alpha2.VirtualMachineVolume, out *VirtualMachineVolume, s apiconversion.Scope) error

func Convert_v1alpha2_VirtualMachine_To_v1alpha1_VirtualMachine

func Convert_v1alpha2_VirtualMachine_To_v1alpha1_VirtualMachine(in *v1alpha2.VirtualMachine, out *VirtualMachine, s conversion.Scope) error

Convert_v1alpha2_VirtualMachine_To_v1alpha1_VirtualMachine is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type ClassReference

type ClassReference struct {
	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`
	// Kind is the type of resource being referenced.
	Kind string `json:"kind,omitempty"`
	// Name is the name of resource being referenced.
	Name string `json:"name"`
}

ClassReference contains info to locate a Kind VirtualMachineClass object.

func (*ClassReference) DeepCopy

func (in *ClassReference) DeepCopy() *ClassReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassReference.

func (*ClassReference) DeepCopyInto

func (in *ClassReference) DeepCopyInto(out *ClassReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterModuleSpec

type ClusterModuleSpec struct {
	// GroupName describes the name of the ClusterModule Group.
	GroupName string `json:"groupname"`
}

ClusterModuleSpec defines a grouping of VirtualMachines that are to be grouped together as a logical unit by the infrastructure provider. Within vSphere, the ClusterModuleSpec maps directly to a vSphere ClusterModule.

func (*ClusterModuleSpec) DeepCopy

func (in *ClusterModuleSpec) DeepCopy() *ClusterModuleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterModuleSpec.

func (*ClusterModuleSpec) DeepCopyInto

func (in *ClusterModuleSpec) DeepCopyInto(out *ClusterModuleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterModuleStatus

type ClusterModuleStatus struct {
	GroupName   string `json:"groupname"`
	ModuleUuid  string `json:"moduleUUID"` //nolint:revive,stylecheck
	ClusterMoID string `json:"clusterMoID"`
}

func (*ClusterModuleStatus) DeepCopy

func (in *ClusterModuleStatus) DeepCopy() *ClusterModuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterModuleStatus.

func (*ClusterModuleStatus) DeepCopyInto

func (in *ClusterModuleStatus) DeepCopyInto(out *ClusterModuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterVirtualMachineImage

type ClusterVirtualMachineImage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineImageSpec   `json:"spec,omitempty"`
	Status VirtualMachineImageStatus `json:"status,omitempty"`
}

ClusterVirtualMachineImage is the schema for the clustervirtualmachineimage API A ClusterVirtualMachineImage represents the desired specification and the observed status of a ClusterVirtualMachineImage instance.

func (*ClusterVirtualMachineImage) ConvertFrom

func (dst *ClusterVirtualMachineImage) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this ClusterVirtualMachineImage.

func (*ClusterVirtualMachineImage) ConvertTo

func (src *ClusterVirtualMachineImage) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this ClusterVirtualMachineImage to the Hub version.

func (*ClusterVirtualMachineImage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImage.

func (*ClusterVirtualMachineImage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterVirtualMachineImage) DeepCopyObject

func (in *ClusterVirtualMachineImage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterVirtualMachineImage) GetConditions

func (clusterVirtualMachineImage *ClusterVirtualMachineImage) GetConditions() Conditions

func (*ClusterVirtualMachineImage) SetConditions

func (clusterVirtualMachineImage *ClusterVirtualMachineImage) SetConditions(conditions Conditions)

func (*ClusterVirtualMachineImage) SetupWebhookWithManager

func (r *ClusterVirtualMachineImage) SetupWebhookWithManager(mgr ctrl.Manager) error

type ClusterVirtualMachineImageList

type ClusterVirtualMachineImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterVirtualMachineImage `json:"items"`
}

ClusterVirtualMachineImageList contains a list of ClusterVirtualMachineImage.

func (*ClusterVirtualMachineImageList) ConvertFrom

func (dst *ClusterVirtualMachineImageList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this ClusterVirtualMachineImageList.

func (*ClusterVirtualMachineImageList) ConvertTo

func (src *ClusterVirtualMachineImageList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this ClusterVirtualMachineImageList to the Hub version.

func (*ClusterVirtualMachineImageList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImageList.

func (*ClusterVirtualMachineImageList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterVirtualMachineImageList) DeepCopyObject

func (in *ClusterVirtualMachineImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Condition

type Condition struct {
	// Type of condition in CamelCase or in foo.example.com/CamelCase.
	// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
	// can be useful (see .node.status.conditions), the ability to disambiguate is important.
	// +required
	Type ConditionType `json:"type"`

	// Status of the condition, one of True, False, Unknown.
	// +required
	Status corev1.ConditionStatus `json:"status"`

	// Severity provides an explicit classification of Reason code, so the users or machines can immediately
	// understand the current situation and act accordingly.
	// The Severity field MUST be set only when Status=False.
	// +optional
	Severity ConditionSeverity `json:"severity,omitempty"`

	// Last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed. If that is not known, then using the time when
	// the API field changed is acceptable.
	// +required
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

	// The reason for the condition's last transition in CamelCase.
	// The specific API may choose whether or not this field is considered a guaranteed API.
	// This field may not be empty.
	// +optional
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	// This field may be empty.
	// +optional
	Message string `json:"message,omitempty"`
}

Condition defines an observation of a VM Operator API resource operational state.

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionSeverity

type ConditionSeverity string

ConditionSeverity expresses the severity of a Condition Type failing.

const (
	// ConditionSeverityError specifies that a condition with `Status=False` is an error.
	ConditionSeverityError ConditionSeverity = "Error"

	// ConditionSeverityWarning specifies that a condition with `Status=False` is a warning.
	ConditionSeverityWarning ConditionSeverity = "Warning"

	// ConditionSeverityInfo specifies that a condition with `Status=False` is informative.
	ConditionSeverityInfo ConditionSeverity = "Info"

	// ConditionSeverityNone should apply only to conditions with `Status=True`.
	ConditionSeverityNone ConditionSeverity = ""
)

type ConditionType

type ConditionType string

ConditionType is a valid value for Condition.Type.

const (
	// Deprecated
	// VirtualMachineImageOSTypeSupportedCondition denotes that the OS type in the VirtualMachineImage object is
	// supported by VMService. A VirtualMachineImageOsTypeSupportedCondition is marked true:
	// - If OS Type is of Linux Family
	// - If OS Type is supported by hosts in the cluster.
	VirtualMachineImageOSTypeSupportedCondition ConditionType = "VirtualMachineImageOSTypeSupported"

	// VirtualMachineImageV1Alpha1CompatibleCondition denotes image compatibility with VMService. VMService expects
	// VirtualMachineImage to be prepared by VMware specifically for VMService v1alpha1.
	VirtualMachineImageV1Alpha1CompatibleCondition ConditionType = "VirtualMachineImageV1Alpha1Compatible"

	// VirtualMachineImageSyncedCondition denotes that the image is synced with the vSphere content library item
	// that contains the source of this image's information.
	VirtualMachineImageSyncedCondition ConditionType = "VirtualMachineImageSynced"

	// VirtualMachineImageProviderReadyCondition denotes readiness of the VirtualMachineImage provider.
	VirtualMachineImageProviderReadyCondition ConditionType = "VirtualMachineImageProviderReady"

	// VirtualMachineImageProviderSecurityComplianceCondition denotes security compliance of the library item provider.
	VirtualMachineImageProviderSecurityComplianceCondition ConditionType = "VirtualMachineImageProviderSecurityCompliance"
)

Conditions related to the VirtualMachineImages.

const (
	// GuestBootstrapCondition exposes the status of guest bootstrap from within
	// the guest OS, when available.
	GuestBootstrapCondition ConditionType = "GuestBootstrap"
)
const (
	// ReadyCondition defines the Ready condition type that summarizes the operational state of a VM Operator API object.
	ReadyCondition ConditionType = "Ready"
)

Common ConditionTypes used by VM Operator API objects.

type Conditions

type Conditions []Condition

Conditions provide observations of the operational state of a VM Operator API resource.

func (Conditions) DeepCopy

func (in Conditions) DeepCopy() Conditions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.

func (Conditions) DeepCopyInto

func (in Conditions) DeepCopyInto(out *Conditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentLibraryProvider

type ContentLibraryProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ContentLibraryProviderSpec   `json:"spec,omitempty"`
	Status ContentLibraryProviderStatus `json:"status,omitempty"`
}

ContentLibraryProvider is the Schema for the contentlibraryproviders API.

func (*ContentLibraryProvider) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryProvider.

func (*ContentLibraryProvider) DeepCopyInto

func (in *ContentLibraryProvider) DeepCopyInto(out *ContentLibraryProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentLibraryProvider) DeepCopyObject

func (in *ContentLibraryProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentLibraryProviderList

type ContentLibraryProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContentLibraryProvider `json:"items"`
}

ContentLibraryProviderList contains a list of ContentLibraryProvider.

func (*ContentLibraryProviderList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryProviderList.

func (*ContentLibraryProviderList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentLibraryProviderList) DeepCopyObject

func (in *ContentLibraryProviderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentLibraryProviderSpec

type ContentLibraryProviderSpec struct {
	// UUID describes the UUID of a vSphere content library. It is the unique identifier for a
	// vSphere content library.
	UUID string `json:"uuid,omitempty"`
}

ContentLibraryProviderSpec defines the desired state of ContentLibraryProvider.

func (*ContentLibraryProviderSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryProviderSpec.

func (*ContentLibraryProviderSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentLibraryProviderStatus

type ContentLibraryProviderStatus struct {
}

ContentLibraryProviderStatus defines the observed state of ContentLibraryProvider Can include fields indicating when was the last time VM images were updated from a library.

func (*ContentLibraryProviderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryProviderStatus.

func (*ContentLibraryProviderStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentProviderReference

type ContentProviderReference struct {
	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`
	// Kind is the type of resource being referenced.
	Kind string `json:"kind"`
	// Name is the name of resource being referenced.
	Name string `json:"name"`
	// Namespace of the resource being referenced. If empty, cluster scoped resource is assumed.
	Namespace string `json:"namespace,omitempty"`
}

ContentProviderReference contains the info to locate a content provider resource.

func (*ContentProviderReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentProviderReference.

func (*ContentProviderReference) DeepCopyInto

func (in *ContentProviderReference) DeepCopyInto(out *ContentProviderReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentSource

type ContentSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ContentSourceSpec   `json:"spec,omitempty"`
	Status ContentSourceStatus `json:"status,omitempty"`
}

ContentSource is the Schema for the contentsources API. A ContentSource represents the desired specification and the observed status of a ContentSource instance.

func (*ContentSource) DeepCopy

func (in *ContentSource) DeepCopy() *ContentSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSource.

func (*ContentSource) DeepCopyInto

func (in *ContentSource) DeepCopyInto(out *ContentSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentSource) DeepCopyObject

func (in *ContentSource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentSourceBinding

type ContentSourceBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// ContentSourceRef is a reference to a ContentSource object.
	ContentSourceRef ContentSourceReference `json:"contentSourceRef,omitempty"`
}

ContentSourceBinding is an object that represents a ContentSource to Namespace mapping.

func (*ContentSourceBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceBinding.

func (*ContentSourceBinding) DeepCopyInto

func (in *ContentSourceBinding) DeepCopyInto(out *ContentSourceBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentSourceBinding) DeepCopyObject

func (in *ContentSourceBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentSourceBindingList

type ContentSourceBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContentSourceBinding `json:"items"`
}

ContentSourceBindingList contains a list of ContentSourceBinding.

func (*ContentSourceBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceBindingList.

func (*ContentSourceBindingList) DeepCopyInto

func (in *ContentSourceBindingList) DeepCopyInto(out *ContentSourceBindingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentSourceBindingList) DeepCopyObject

func (in *ContentSourceBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentSourceList

type ContentSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContentSource `json:"items"`
}

ContentSourceList contains a list of ContentSource.

func (*ContentSourceList) DeepCopy

func (in *ContentSourceList) DeepCopy() *ContentSourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceList.

func (*ContentSourceList) DeepCopyInto

func (in *ContentSourceList) DeepCopyInto(out *ContentSourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContentSourceList) DeepCopyObject

func (in *ContentSourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentSourceReference

type ContentSourceReference struct {
	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`
	// Kind is the type of resource being referenced.
	Kind string `json:"kind,omitempty"`
	// Name is the name of resource being referenced.
	Name string `json:"name"`
}

ContentSourceReference contains info to locate a Kind ContentSource object.

func (*ContentSourceReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceReference.

func (*ContentSourceReference) DeepCopyInto

func (in *ContentSourceReference) DeepCopyInto(out *ContentSourceReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentSourceSpec

type ContentSourceSpec struct {
	// ProviderRef is a reference to a content provider object that describes a provider.
	ProviderRef ContentProviderReference `json:"providerRef,omitempty"`
}

ContentSourceSpec defines the desired state of ContentSource.

func (*ContentSourceSpec) DeepCopy

func (in *ContentSourceSpec) DeepCopy() *ContentSourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceSpec.

func (*ContentSourceSpec) DeepCopyInto

func (in *ContentSourceSpec) DeepCopyInto(out *ContentSourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentSourceStatus

type ContentSourceStatus struct {
}

ContentSourceStatus defines the observed state of ContentSource.

func (*ContentSourceStatus) DeepCopy

func (in *ContentSourceStatus) DeepCopy() *ContentSourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentSourceStatus.

func (*ContentSourceStatus) DeepCopyInto

func (in *ContentSourceStatus) DeepCopyInto(out *ContentSourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicDirectPathIODevice

type DynamicDirectPathIODevice struct {
	VendorID int `json:"vendorID"`
	DeviceID int `json:"deviceID"`
	// +optional
	CustomLabel string `json:"customLabel,omitempty"`
}

DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.

func (*DynamicDirectPathIODevice) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicDirectPathIODevice.

func (*DynamicDirectPathIODevice) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FolderSpec

type FolderSpec struct {
	// Name describes the name of the Folder
	// +optional
	Name string `json:"name,omitempty"`
}

FolderSpec defines a Folder.

func (*FolderSpec) DeepCopy

func (in *FolderSpec) DeepCopy() *FolderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSpec.

func (*FolderSpec) DeepCopyInto

func (in *FolderSpec) DeepCopyInto(out *FolderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GuestHeartbeatAction

type GuestHeartbeatAction struct {
	// ThresholdStatus is the value that the guest heartbeat status must be at or above to be
	// considered successful.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=green
	// +kubebuilder:validation:Enum=yellow;green
	ThresholdStatus GuestHeartbeatStatus `json:"thresholdStatus,omitempty"`
}

GuestHeartbeatAction describes an action based on the guest heartbeat.

func (*GuestHeartbeatAction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestHeartbeatAction.

func (*GuestHeartbeatAction) DeepCopyInto

func (in *GuestHeartbeatAction) DeepCopyInto(out *GuestHeartbeatAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GuestHeartbeatStatus

type GuestHeartbeatStatus string

GuestHeartbeatStatus is the status type for a GuestHeartbeat.

const (
	// VMware Tools are not installed or not running.
	GrayHeartbeatStatus GuestHeartbeatStatus = "gray"
	// No heartbeat. Guest operating system may have stopped responding.
	RedHeartbeatStatus GuestHeartbeatStatus = "red"
	// Intermittent heartbeat. May be due to guest load.
	YellowHeartbeatStatus GuestHeartbeatStatus = "yellow"
	// Guest operating system is responding normally.
	GreenHeartbeatStatus GuestHeartbeatStatus = "green"
)

See govmomi.vim25.types.ManagedEntityStatus.

type InstanceStorage

type InstanceStorage struct {
	// StorageClass refers to the name of a StorageClass resource used to
	// provide the storage for the configured instance storage volumes.
	// The value of this field has no relationship to or bearing on the field
	// virtualMachine.spec.storageClass. Please note the referred StorageClass
	// must be available in the same namespace as the VirtualMachineClass that
	// uses it for configuring instance storage.
	StorageClass string `json:"storageClass,omitempty"`

	// Volumes describes instance storage volumes created for a VirtualMachine
	// instance that use this VirtualMachineClass.
	Volumes []InstanceStorageVolume `json:"volumes,omitempty"`
}

InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.

func (*InstanceStorage) DeepCopy

func (in *InstanceStorage) DeepCopy() *InstanceStorage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStorage.

func (*InstanceStorage) DeepCopyInto

func (in *InstanceStorage) DeepCopyInto(out *InstanceStorage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceStorageVolume

type InstanceStorageVolume struct {
	Size resource.Quantity `json:"size"`
}

InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.

func (*InstanceStorageVolume) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStorageVolume.

func (*InstanceStorageVolume) DeepCopyInto

func (in *InstanceStorageVolume) DeepCopyInto(out *InstanceStorageVolume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceVolumeClaimVolumeSource

type InstanceVolumeClaimVolumeSource struct {
	// StorageClass is the name of the Kubernetes StorageClass that provides
	// the backing storage for this instance storage volume.
	StorageClass string `json:"storageClass"`

	// Size is the size of the requested instance storage volume.
	Size resource.Quantity `json:"size"`
}

InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.

func (*InstanceVolumeClaimVolumeSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceVolumeClaimVolumeSource.

func (*InstanceVolumeClaimVolumeSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadBalancerIngress

type LoadBalancerIngress struct {
	// IP is set for load balancer ingress points that are specified by an IP address.
	// +optional
	IP string `json:"ip,omitempty"`

	// Hostname is set for load balancer ingress points that are specified by a DNS address.
	// +optional
	Hostname string `json:"hostname,omitempty"`
}

LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.

func (*LoadBalancerIngress) DeepCopy

func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress.

func (*LoadBalancerIngress) DeepCopyInto

func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadBalancerStatus

type LoadBalancerStatus struct {
	// Ingress is a list containing ingress addresses for the load balancer.
	// Traffic intended for the service should be sent to any of these ingress points.
	// +optional
	Ingress []LoadBalancerIngress `json:"ingress,omitempty"`
}

LoadBalancerStatus represents the status of a load balancer.

func (*LoadBalancerStatus) DeepCopy

func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.

func (*LoadBalancerStatus) DeepCopyInto

func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkDeviceStatus

type NetworkDeviceStatus struct {
	// Gateway4 is the gateway for the IPv4 address family for this device.
	// +optional
	Gateway4 string

	// MacAddress is the MAC address of the network device.
	// +optional
	MacAddress string

	// IpAddresses represents one or more IP addresses assigned to the network
	// device in CIDR notation, ex. "192.0.2.1/16".
	// +optional
	IPAddresses []string
}

NetworkDeviceStatus defines the network interface IP configuration including gateway, subnetmask and IP address as seen by OVF properties.

func (*NetworkDeviceStatus) DeepCopy

func (in *NetworkDeviceStatus) DeepCopy() *NetworkDeviceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDeviceStatus.

func (*NetworkDeviceStatus) DeepCopyInto

func (in *NetworkDeviceStatus) DeepCopyInto(out *NetworkDeviceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkInterfaceProviderReference

type NetworkInterfaceProviderReference struct {
	// APIGroup is the group for the resource being referenced.
	APIGroup string `json:"apiGroup"`
	// Kind is the type of resource being referenced
	Kind string `json:"kind"`
	// Name is the name of resource being referenced
	Name string `json:"name"`
	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`
}

NetworkInterfaceProviderReference contains info to locate a network interface provider object.

func (*NetworkInterfaceProviderReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceProviderReference.

func (*NetworkInterfaceProviderReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkInterfaceStatus

type NetworkInterfaceStatus struct {
	// Connected represents whether the network interface is connected or not.
	Connected bool `json:"connected"`

	// MAC address of the network adapter
	MacAddress string `json:"macAddress,omitempty"`

	// IpAddresses represents zero, one or more IP addresses assigned to the network interface in CIDR notation.
	// For eg, "192.0.2.1/16".
	IpAddresses []string `json:"ipAddresses,omitempty"` //nolint:revive,stylecheck
}

NetworkInterfaceStatus defines the observed state of network interfaces attached to the VirtualMachine as seen by the Guest OS and VMware tools.

func (*NetworkInterfaceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus.

func (*NetworkInterfaceStatus) DeepCopyInto

func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkStatus

type NetworkStatus struct {
	// Devices describe a list of current status information for each
	// network interface that is desired to be attached to the
	// VirtualMachineTemplate.
	// +optional
	Devices []NetworkDeviceStatus

	// Nameservers describe a list of the DNS servers accessible by one of the
	// VM's configured network devices.
	// +optional
	Nameservers []string
}

NetworkStatus describes the observed state of the VM's network configuration.

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OvfProperty

type OvfProperty struct {
	// Key describes the key of the ovf property.
	Key string `json:"key"`

	// Type describes the type of the ovf property.
	Type string `json:"type"`

	// Default describes the default value of the ovf key.
	// +optional
	Default *string `json:"default,omitempty"`

	// Description contains the value of the OVF property's optional
	// "Description" element.
	//
	// +optional
	Description string `json:"description,omitempty"`

	// Label contains the value of the OVF property's optional
	// "Label" element.
	//
	// +optional
	Label string `json:"label,omitempty"`
}

OvfProperty describes information related to a user configurable property element that is supported by VirtualMachineImage and can be customized during VirtualMachine creation.

func (*OvfProperty) DeepCopy

func (in *OvfProperty) DeepCopy() *OvfProperty

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvfProperty.

func (*OvfProperty) DeepCopyInto

func (in *OvfProperty) DeepCopyInto(out *OvfProperty)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PersistentVolumeClaimVolumeSource

type PersistentVolumeClaimVolumeSource struct {
	corev1.PersistentVolumeClaimVolumeSource `json:",inline" yaml:",inline"`

	// InstanceVolumeClaim is set if the PVC is backed by instance storage.
	// +optional
	InstanceVolumeClaim *InstanceVolumeClaimVolumeSource `json:"instanceVolumeClaim,omitempty"`
}

PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.

func (*PersistentVolumeClaimVolumeSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource.

func (*PersistentVolumeClaimVolumeSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Probe

type Probe struct {
	// TCPSocket specifies an action involving a TCP port.
	//
	// Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments.
	// This field will be removed in a later API version.
	// +optional
	TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty"`

	// GuestHeartbeat specifies an action involving the guest heartbeat status.
	// +optional
	GuestHeartbeat *GuestHeartbeatAction `json:"guestHeartbeat,omitempty"`

	// TimeoutSeconds specifies a number of seconds after which the probe times out.
	// Defaults to 10 seconds. Minimum value is 1.
	// +optional
	// +kubebuilder:validation:Minimum:=1
	// +kubebuilder:validation:Maximum:=60
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`

	// PeriodSeconds specifics how often (in seconds) to perform the probe.
	// Defaults to 10 seconds. Minimum value is 1.
	// +optional
	// +kubebuilder:validation:Minimum:=1
	PeriodSeconds int32 `json:"periodSeconds,omitempty"`
}

Probe describes a health check to be performed against a VirtualMachine to determine whether it is alive or ready to receive traffic. Only one probe action can be specified.

func (*Probe) DeepCopy

func (in *Probe) DeepCopy() *Probe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.

func (*Probe) DeepCopyInto

func (in *Probe) DeepCopyInto(out *Probe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePoolSpec

type ResourcePoolSpec struct {
	// Name describes the name of the ResourcePool grouping.
	// +optional
	Name string `json:"name,omitempty"`

	// Reservations describes the guaranteed resources reserved for the ResourcePool.
	// +optional
	Reservations VirtualMachineResourceSpec `json:"reservations,omitempty"`

	// Limits describes the limit to resources available to the ResourcePool.
	// +optional
	Limits VirtualMachineResourceSpec `json:"limits,omitempty"`
}

ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.

func (*ResourcePoolSpec) DeepCopy

func (in *ResourcePoolSpec) DeepCopy() *ResourcePoolSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolSpec.

func (*ResourcePoolSpec) DeepCopyInto

func (in *ResourcePoolSpec) DeepCopyInto(out *ResourcePoolSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TCPSocketAction

type TCPSocketAction struct {
	// Port specifies a number or name of the port to access on the VirtualMachine.
	// If the format of port is a number, it must be in the range 1 to 65535.
	// If the format of name is a string, it must be an IANA_SVC_NAME.
	Port intstr.IntOrString `json:"port"`

	// Host is an optional host name to connect to.  Host defaults to the VirtualMachine IP.
	// +optional
	Host string `json:"host,omitempty"`
}

TCPSocketAction describes an action based on opening a socket.

func (*TCPSocketAction) DeepCopy

func (in *TCPSocketAction) DeepCopy() *TCPSocketAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction.

func (*TCPSocketAction) DeepCopyInto

func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VGPUDevice

type VGPUDevice struct {
	ProfileName string `json:"profileName"`
}

VGPUDevice contains the configuration corresponding to a vGPU device.

func (*VGPUDevice) DeepCopy

func (in *VGPUDevice) DeepCopy() *VGPUDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VGPUDevice.

func (*VGPUDevice) DeepCopyInto

func (in *VGPUDevice) DeepCopyInto(out *VGPUDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VMStatusPhase

type VMStatusPhase string

VMStatusPhase is used to indicate the phase of a VirtualMachine's lifecycle.

const (
	// Creating phase indicates that the VirtualMachine is being created by the backing infrastructure provider.
	Creating VMStatusPhase = "Creating"

	// Created phase indicates that the VirtualMachine has been already been created by the backing infrastructure
	// provider.
	Created VMStatusPhase = "Created"

	// Deleting phase indicates that the VirtualMachine is being deleted by the backing infrastructure provider.
	Deleting VMStatusPhase = "Deleting"

	// Deleted phase indicates that the VirtualMachine has been deleted by the backing infrastructure provider.
	Deleted VMStatusPhase = "Deleted"

	// Unknown phase indicates that the VirtualMachine status cannot be determined from the backing infrastructure
	// provider.
	Unknown VMStatusPhase = "Unknown"
)

type VirtualDevices

type VirtualDevices struct {
	// +optional
	VGPUDevices []VGPUDevice `json:"vgpuDevices,omitempty" patchStrategy:"merge" patchMergeKey:"profileName"`
	// +optional
	DynamicDirectPathIODevices []DynamicDirectPathIODevice `json:"dynamicDirectPathIODevices,omitempty"`
}

VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.

func (*VirtualDevices) DeepCopy

func (in *VirtualDevices) DeepCopy() *VirtualDevices

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualDevices.

func (*VirtualDevices) DeepCopyInto

func (in *VirtualDevices) DeepCopyInto(out *VirtualDevices)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachine

type VirtualMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineSpec   `json:"spec,omitempty"`
	Status VirtualMachineStatus `json:"status,omitempty"`
}

VirtualMachine is the Schema for the virtualmachines API. A VirtualMachine represents the desired specification and the observed status of a VirtualMachine instance. A VirtualMachine is realized by the VirtualMachine controller on a backing Virtual Infrastructure provider such as vSphere.

func (*VirtualMachine) ConvertFrom

func (dst *VirtualMachine) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachine.

func (*VirtualMachine) ConvertTo

func (src *VirtualMachine) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachine to the Hub version.

func (*VirtualMachine) DeepCopy

func (in *VirtualMachine) DeepCopy() *VirtualMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine.

func (*VirtualMachine) DeepCopyInto

func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachine) DeepCopyObject

func (in *VirtualMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMachine) GetConditions

func (vm *VirtualMachine) GetConditions() Conditions

func (VirtualMachine) NamespacedName

func (vm VirtualMachine) NamespacedName() string

func (*VirtualMachine) SetConditions

func (vm *VirtualMachine) SetConditions(conditions Conditions)

func (*VirtualMachine) SetupWebhookWithManager

func (r *VirtualMachine) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachineAdvancedOptions

type VirtualMachineAdvancedOptions struct {
	// DefaultProvisioningOptions specifies the provisioning type to be used by default for VirtualMachine volumes exclusively
	// owned by this VirtualMachine. This does not apply to PersistentVolumeClaim volumes that are created and managed externally.
	DefaultVolumeProvisioningOptions *VirtualMachineVolumeProvisioningOptions `json:"defaultVolumeProvisioningOptions,omitempty"`

	// ChangeBlockTracking specifies the enablement of incremental backup support for this VirtualMachine, which can be utilized
	// by external backup systems such as VMware Data Recovery.
	ChangeBlockTracking *bool `json:"changeBlockTracking,omitempty"`
}

VirtualMachineAdvancedOptions describes a set of optional, advanced options for configuring a VirtualMachine.

func (*VirtualMachineAdvancedOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineAdvancedOptions.

func (*VirtualMachineAdvancedOptions) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineClass

type VirtualMachineClass struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineClassSpec   `json:"spec,omitempty"`
	Status VirtualMachineClassStatus `json:"status,omitempty"`
}

VirtualMachineClass is the Schema for the virtualmachineclasses API. A VirtualMachineClass represents the desired specification and the observed status of a VirtualMachineClass instance. A VirtualMachineClass represents a policy and configuration resource which defines a set of attributes to be used in the configuration of a VirtualMachine instance. A VirtualMachine resource references a VirtualMachineClass as a required input.

func (*VirtualMachineClass) ConvertFrom

func (dst *VirtualMachineClass) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineClass.

func (*VirtualMachineClass) ConvertTo

func (src *VirtualMachineClass) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineClass to the Hub version.

func (*VirtualMachineClass) DeepCopy

func (in *VirtualMachineClass) DeepCopy() *VirtualMachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClass.

func (*VirtualMachineClass) DeepCopyInto

func (in *VirtualMachineClass) DeepCopyInto(out *VirtualMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineClass) DeepCopyObject

func (in *VirtualMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMachineClass) SetupWebhookWithManager

func (r *VirtualMachineClass) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachineClassBinding

type VirtualMachineClassBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// ClassReference is a reference to a VirtualMachineClass object
	ClassRef ClassReference `json:"classRef,omitempty"`
}

VirtualMachineClassBinding is a binding object responsible for defining a VirtualMachineClass and a Namespace associated with it.

func (*VirtualMachineClassBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassBinding.

func (*VirtualMachineClassBinding) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineClassBinding) DeepCopyObject

func (in *VirtualMachineClassBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineClassBindingList

type VirtualMachineClassBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachineClassBinding `json:"items"`
}

VirtualMachineClassBindingList contains a list of VirtualMachineClassBinding.

func (*VirtualMachineClassBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassBindingList.

func (*VirtualMachineClassBindingList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineClassBindingList) DeepCopyObject

func (in *VirtualMachineClassBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineClassHardware

type VirtualMachineClassHardware struct {
	Cpus   int64             `json:"cpus,omitempty"`
	Memory resource.Quantity `json:"memory,omitempty"`
	// +optional
	Devices VirtualDevices `json:"devices,omitempty"`
	// +optional
	InstanceStorage InstanceStorage `json:"instanceStorage,omitempty"`
}

VirtualMachineClassHardware describes a virtual hardware resource specification.

func (*VirtualMachineClassHardware) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassHardware.

func (*VirtualMachineClassHardware) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineClassList

type VirtualMachineClassList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachineClass `json:"items"`
}

VirtualMachineClassList contains a list of VirtualMachineClass.

func (*VirtualMachineClassList) ConvertFrom

func (dst *VirtualMachineClassList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineClassList.

func (*VirtualMachineClassList) ConvertTo

func (src *VirtualMachineClassList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineClassList to the Hub version.

func (*VirtualMachineClassList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassList.

func (*VirtualMachineClassList) DeepCopyInto

func (in *VirtualMachineClassList) DeepCopyInto(out *VirtualMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineClassList) DeepCopyObject

func (in *VirtualMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineClassPolicies

type VirtualMachineClassPolicies struct {
	Resources VirtualMachineClassResources `json:"resources,omitempty"`
}

VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.

func (*VirtualMachineClassPolicies) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassPolicies.

func (*VirtualMachineClassPolicies) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineClassResources

type VirtualMachineClassResources struct {
	Requests VirtualMachineResourceSpec `json:"requests,omitempty"`
	Limits   VirtualMachineResourceSpec `json:"limits,omitempty"`
}

VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.

func (*VirtualMachineClassResources) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassResources.

func (*VirtualMachineClassResources) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineClassSpec

type VirtualMachineClassSpec struct {
	// ControllerName describes the name of the controller responsible for
	// reconciling VirtualMachine resources that are realized from this
	// VirtualMachineClass.
	//
	// When omitted, controllers reconciling VirtualMachine resources determine
	// the default controller name from the environment variable
	// DEFAULT_VM_CLASS_CONTROLLER_NAME. If this environment variable is not
	// defined or empty, it defaults to vmoperator.vmware.com/vsphere.
	//
	// Once a non-empty value is assigned to this field, attempts to set this
	// field to an empty value will be silently ignored.
	//
	// +optional
	ControllerName string `json:"controllerName,omitempty"`

	// Hardware describes the configuration of the VirtualMachineClass attributes related to virtual hardware.  The
	// configuration specified in this field is used to customize the virtual hardware characteristics of any VirtualMachine
	// associated with this VirtualMachineClass.
	Hardware VirtualMachineClassHardware `json:"hardware,omitempty"`

	// Policies describes the configuration of the VirtualMachineClass attributes related to virtual infrastructure
	// policy.  The configuration specified in this field is used to customize various policies related to
	// infrastructure resource consumption.
	Policies VirtualMachineClassPolicies `json:"policies,omitempty"`

	// Description describes the configuration of the VirtualMachineClass which is not related to virtual hardware
	// or infrastructure policy. This field is used to address remaining specs about this VirtualMachineClass.
	// +optional
	Description string `json:"description,omitempty"`

	// ConfigSpec describes additional configuration information for a
	// VirtualMachine.
	// The contents of this field are the VirtualMachineConfigSpec data object
	// (https://bit.ly/3HDtiRu) marshaled to JSON using the discriminator
	// field "_typeName" to preserve type information.
	//
	// +optional
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:validation:Type=object
	// +kubebuilder:pruning:PreserveUnknownFields
	ConfigSpec json.RawMessage `json:"configSpec,omitempty"`
}

VirtualMachineClassSpec defines the desired state of VirtualMachineClass.

func (*VirtualMachineClassSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassSpec.

func (*VirtualMachineClassSpec) DeepCopyInto

func (in *VirtualMachineClassSpec) DeepCopyInto(out *VirtualMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineClassStatus

type VirtualMachineClassStatus struct {
}

VirtualMachineClassStatus defines the observed state of VirtualMachineClass. VirtualMachineClasses are immutable, non-dynamic resources, so this status is currently unused.

func (*VirtualMachineClassStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClassStatus.

func (*VirtualMachineClassStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineImage

type VirtualMachineImage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineImageSpec   `json:"spec,omitempty"`
	Status VirtualMachineImageStatus `json:"status,omitempty"`
}

VirtualMachineImage is the Schema for the virtualmachineimages API A VirtualMachineImage represents a VirtualMachine image (e.g. VM template) that can be used as the base image for creating a VirtualMachine instance. The VirtualMachineImage is a required field of the VirtualMachine spec. Currently, VirtualMachineImages are immutable to end users.

func (*VirtualMachineImage) ConvertFrom

func (dst *VirtualMachineImage) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineImage.

func (*VirtualMachineImage) ConvertTo

func (src *VirtualMachineImage) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineImage to the Hub version.

func (*VirtualMachineImage) DeepCopy

func (in *VirtualMachineImage) DeepCopy() *VirtualMachineImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImage.

func (*VirtualMachineImage) DeepCopyInto

func (in *VirtualMachineImage) DeepCopyInto(out *VirtualMachineImage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineImage) DeepCopyObject

func (in *VirtualMachineImage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMachineImage) GetConditions

func (vmImage *VirtualMachineImage) GetConditions() Conditions

func (*VirtualMachineImage) SetConditions

func (vmImage *VirtualMachineImage) SetConditions(conditions Conditions)

func (*VirtualMachineImage) SetupWebhookWithManager

func (r *VirtualMachineImage) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachineImageList

type VirtualMachineImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachineImage `json:"items"`
}

VirtualMachineImageList contains a list of VirtualMachineImage.

func (*VirtualMachineImageList) ConvertFrom

func (dst *VirtualMachineImageList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineImageList.

func (*VirtualMachineImageList) ConvertTo

func (src *VirtualMachineImageList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineImageList to the Hub version.

func (*VirtualMachineImageList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageList.

func (*VirtualMachineImageList) DeepCopyInto

func (in *VirtualMachineImageList) DeepCopyInto(out *VirtualMachineImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineImageList) DeepCopyObject

func (in *VirtualMachineImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineImageOSInfo

type VirtualMachineImageOSInfo struct {
	// Version typically describes the version of the guest operating system.
	// +optional
	Version string `json:"version,omitempty"`

	// Type typically describes the type of the guest operating system.
	// +optional
	Type string `json:"type,omitempty"`
}

VirtualMachineImageOSInfo describes optional information related to the image operating system that can be added to an image template. This information can be used by the image author to communicate details of the operating system associated with the image.

func (*VirtualMachineImageOSInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageOSInfo.

func (*VirtualMachineImageOSInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineImageProductInfo

type VirtualMachineImageProductInfo struct {
	// Product typically describes the type of product contained in the image.
	// +optional
	Product string `json:"product,omitempty"`

	// Vendor typically describes the name of the vendor that is producing the image.
	// +optional
	Vendor string `json:"vendor,omitempty"`

	// Version typically describes a short-form version of the image.
	// +optional
	Version string `json:"version,omitempty"`

	// FullVersion typically describes a long-form version of the image.
	// +optional
	FullVersion string `json:"fullVersion,omitempty"`
}

VirtualMachineImageProductInfo describes optional product-related information that can be added to an image template. This information can be used by the image author to communicate details of the product contained in the image.

func (*VirtualMachineImageProductInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageProductInfo.

func (*VirtualMachineImageProductInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineImageSpec

type VirtualMachineImageSpec struct {
	// Type describes the type of the VirtualMachineImage. Currently, the only supported image is "OVF"
	Type string `json:"type"`

	// ImageSourceType describes the type of content source of the VirtualMachineImage.  The only Content Source
	// supported currently is the vSphere Content Library.
	// +optional
	ImageSourceType string `json:"imageSourceType,omitempty"`

	// ImageID is a unique identifier exposed by the provider of this VirtualMachineImage.
	ImageID string `json:"imageID"`

	// ProviderRef is a reference to a content provider object that describes a provider.
	ProviderRef ContentProviderReference `json:"providerRef"`

	// ProductInfo describes the attributes of the VirtualMachineImage relating to the product contained in the
	// image.
	// +optional
	ProductInfo VirtualMachineImageProductInfo `json:"productInfo,omitempty"`

	// OSInfo describes the attributes of the VirtualMachineImage relating to the Operating System contained in the
	// image.
	// +optional
	OSInfo VirtualMachineImageOSInfo `json:"osInfo,omitempty"`

	// OVFEnv describes the user configurable customization parameters of the VirtualMachineImage.
	// +optional
	OVFEnv map[string]OvfProperty `json:"ovfEnv,omitempty"`

	// HardwareVersion describes the virtual hardware version of the image
	// +optional
	HardwareVersion int32 `json:"hwVersion,omitempty"`
}

VirtualMachineImageSpec defines the desired state of VirtualMachineImage.

func (*VirtualMachineImageSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageSpec.

func (*VirtualMachineImageSpec) DeepCopyInto

func (in *VirtualMachineImageSpec) DeepCopyInto(out *VirtualMachineImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineImageStatus

type VirtualMachineImageStatus struct {
	// Deprecated
	Uuid string `json:"uuid,omitempty"` //nolint:revive,stylecheck

	// Deprecated
	InternalId string `json:"internalId,omitempty"` //nolint:revive,stylecheck

	// Deprecated
	PowerState string `json:"powerState,omitempty"`

	// ImageName describes the display name of this image.
	// +optional
	ImageName string `json:"imageName,omitempty"`

	// ImageSupported indicates whether the VirtualMachineImage is supported by VMService.
	// A VirtualMachineImage is supported by VMService if the following conditions are true:
	// - VirtualMachineImageV1Alpha1CompatibleCondition
	// +optional
	ImageSupported *bool `json:"imageSupported,omitempty"`

	// Conditions describes the current condition information of the VirtualMachineImage object. e.g. if the OS type
	// is supported or image is supported by VMService
	// +optional
	Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	// ContentLibraryRef is a reference to the source ContentLibrary/ClusterContentLibrary resource.
	//
	// Deprecated: This field is provider specific but the VirtualMachineImage types are intended to be provider generic.
	// This field does not exist in later API versions. Instead, the Spec.ProviderRef field should be used to look up the
	// provider. For images provided by a Content Library, the ProviderRef will point to either a ContentLibraryItem or
	// ClusterContentLibraryItem that contains a reference to the Content Library.
	// +optional
	ContentLibraryRef *corev1.TypedLocalObjectReference `json:"contentLibraryRef,omitempty"`

	// ContentVersion describes the observed content version of this VirtualMachineImage that was last successfully
	// synced with the vSphere content library item.
	// +optional
	ContentVersion string `json:"contentVersion,omitempty"`

	// Firmware describe the firmware type used by this VirtualMachineImage.
	// eg: bios, efi.
	// +optional
	Firmware string `json:"firmware,omitempty"`
}

VirtualMachineImageStatus defines the observed state of VirtualMachineImage.

func (*VirtualMachineImageStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageStatus.

func (*VirtualMachineImageStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineList

type VirtualMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachine `json:"items"`
}

VirtualMachineList contains a list of VirtualMachine.

+kubebuilder:object:root=true

func (*VirtualMachineList) ConvertFrom

func (dst *VirtualMachineList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineList.

func (*VirtualMachineList) ConvertTo

func (src *VirtualMachineList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineList to the Hub version.

func (*VirtualMachineList) DeepCopy

func (in *VirtualMachineList) DeepCopy() *VirtualMachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList.

func (*VirtualMachineList) DeepCopyInto

func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineList) DeepCopyObject

func (in *VirtualMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineMetadata

type VirtualMachineMetadata struct {
	// ConfigMapName describes the name of the ConfigMap, in the same Namespace as the VirtualMachine, that should be
	// used for VirtualMachine metadata.  The contents of the Data field of the ConfigMap is used as the VM Metadata.
	// The format of the contents of the VM Metadata are not parsed or interpreted by the VirtualMachine controller.
	// Please note, this field and SecretName are mutually exclusive.
	// +optional
	ConfigMapName string `json:"configMapName,omitempty"`

	// SecretName describes the name of the Secret, in the same Namespace as the VirtualMachine, that should be used
	// for VirtualMachine metadata. The contents of the Data field of the Secret is used as the VM Metadata.
	// The format of the contents of the VM Metadata are not parsed or interpreted by the VirtualMachine controller.
	// Please note, this field and ConfigMapName are mutually exclusive.
	// +optional
	SecretName string `json:"secretName,omitempty"`

	// Transport describes the name of a supported VirtualMachineMetadata transport protocol.  Currently, the only supported
	// transport protocols are "ExtraConfig", "OvfEnv" and "CloudInit".
	Transport VirtualMachineMetadataTransport `json:"transport,omitempty"`
}

VirtualMachineMetadata defines any metadata that should be passed to the VirtualMachine instance. A typical use case is for this metadata to be used for Guest Customization, however the intended use of the metadata is agnostic to the VirtualMachine controller. VirtualMachineMetadata is read from a configured ConfigMap or a Secret and then propagated to the VirtualMachine instance using a desired "Transport" mechanism.

func (*VirtualMachineMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineMetadata.

func (*VirtualMachineMetadata) DeepCopyInto

func (in *VirtualMachineMetadata) DeepCopyInto(out *VirtualMachineMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineMetadataTransport

type VirtualMachineMetadataTransport string

VirtualMachineMetadataTransport is used to indicate the transport used by VirtualMachineMetadata Valid values are "ExtraConfig", "OvfEnv", "vAppConfig", "CloudInit", and "Sysprep". +kubebuilder:validation:Enum=ExtraConfig;OvfEnv;vAppConfig;CloudInit;Sysprep

const (
	// VirtualMachineMetadataExtraConfigTransport indicates that the data set in
	// the VirtualMachineMetadata Transport Resource, i.e., a ConfigMap or Secret,
	// will be extraConfig key value fields on the VM.
	// Only keys prefixed with "guestinfo." will be set.
	VirtualMachineMetadataExtraConfigTransport VirtualMachineMetadataTransport = "ExtraConfig"

	// VirtualMachineMetadataOvfEnvTransport indicates that the data set in
	// the VirtualMachineMetadata Transport Resource, i.e., a ConfigMap or Secret,
	// will be vApp properties on the VM, which will be exposed as OvfEnv to the Guest VM.
	// Only properties marked userConfigurable and already present in either
	// OVF Properties of a VirtualMachineImage or as vApp properties on an existing VM
	// or VMTX will be set, all others will be ignored.
	//
	// This transport uses Guest OS customization for networking.
	VirtualMachineMetadataOvfEnvTransport VirtualMachineMetadataTransport = "OvfEnv"

	// VirtualMachineMetadataVAppConfigTransport indicates that the data set in
	// the VirtualMachineMetadata Transport Resource, i.e., a ConfigMap or Secret,
	// will be vApp properties on the VM, which will be exposed as vAppConfig to the Guest VM.
	// Only properties marked userConfigurable and already present in either
	// OVF Properties of a VirtualMachineImage or as vApp properties on an existing VM
	// or VMTX will be set, all others will be ignored.
	//
	// Selecting this transport means the guest's network is not automatically
	// configured by vm-tools. This transport should only be selected if the image
	// exposes OVF/vApp properties that are used by the guest to bootstrap
	// its networking configuration.
	VirtualMachineMetadataVAppConfigTransport VirtualMachineMetadataTransport = "vAppConfig"

	// VirtualMachineMetadataCloudInitTransport indicates the data set in
	// the VirtualMachineMetadata Transport Resource, i.e., a ConfigMap or Secret,
	// in the "user-data" key is cloud-init userdata.
	//
	// Please note that, despite the name, VirtualMachineMetadata has no
	// relationship to cloud-init instance metadata.
	//
	// For more information, please refer to cloud-init's official documentation.
	VirtualMachineMetadataCloudInitTransport VirtualMachineMetadataTransport = "CloudInit"

	// VirtualMachineMetadataSysprepTransport indicates the data set in
	// the VirtualMachineMetadata Transport Resource, i.e., a ConfigMap or Secret,
	// in the "unattend" key is an XML, Sysprep answers file.
	//
	// For more information, please refer to Microsoft's documentation on
	// "Answer files (unattend.xml)" and "Unattended Windows Setup Reference".
	VirtualMachineMetadataSysprepTransport VirtualMachineMetadataTransport = "Sysprep"
)

type VirtualMachineNetworkInterface

type VirtualMachineNetworkInterface struct {
	// NetworkType describes the type of VirtualNetwork that is referenced by the NetworkName. Currently, the supported
	// NetworkTypes are "nsx-t", "nsx-t-subnet", "nsx-t-subnetset" and "vsphere-distributed".
	// +optional
	NetworkType string `json:"networkType,omitempty"`

	// NetworkName describes the name of an existing virtual network that this interface should be added to.
	// For "nsx-t" NetworkType, this is the name of a pre-existing NSX-T VirtualNetwork. If unspecified,
	// the default network for the namespace will be used. For "vsphere-distributed" NetworkType, the
	// NetworkName must be specified.
	// +optional
	NetworkName string `json:"networkName,omitempty"`

	// ProviderRef is reference to a network interface provider object that specifies the network interface configuration.
	// If unset, default configuration is assumed.
	// +optional
	ProviderRef *NetworkInterfaceProviderReference `json:"providerRef,omitempty"`

	// EthernetCardType describes an optional ethernet card that should be used by the VirtualNetworkInterface (vNIC)
	// associated with this network integration.  The default is "vmxnet3".
	// +optional
	EthernetCardType string `json:"ethernetCardType,omitempty"`
}

VirtualMachineNetworkInterface defines the properties of a network interface to attach to a VirtualMachine instance. A VirtualMachineNetworkInterface describes network interface configuration that is used by the VirtualMachine controller when integrating the VirtualMachine into a VirtualNetwork. Currently, only NSX-T and vSphere Distributed Switch (VDS) type network integrations are supported using this VirtualMachineNetworkInterface structure.

func (*VirtualMachineNetworkInterface) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNetworkInterface.

func (*VirtualMachineNetworkInterface) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePort

type VirtualMachinePort struct {
	Port     int             `json:"port"`
	Ip       string          `json:"ip"` //nolint:revive,stylecheck
	Name     string          `json:"name"`
	Protocol corev1.Protocol `json:"protocol"`
}

VirtualMachinePort is unused and can be considered deprecated.

func (*VirtualMachinePort) DeepCopy

func (in *VirtualMachinePort) DeepCopy() *VirtualMachinePort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePort.

func (*VirtualMachinePort) DeepCopyInto

func (in *VirtualMachinePort) DeepCopyInto(out *VirtualMachinePort)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePowerOpMode

type VirtualMachinePowerOpMode string

VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM. +kubebuilder:validation:Enum=hard;soft;trySoft

const (
	// VirtualMachinePowerOpModeHard indicates to halt a VM when powering it
	// off or when suspending a VM to not involve the guest.
	VirtualMachinePowerOpModeHard VirtualMachinePowerOpMode = "hard"

	// VirtualMachinePowerOpModeSoft indicates to ask VM Tools running
	// inside of a VM's guest to shutdown the guest gracefully when powering
	// off a VM or when suspending a VM to allow the guest to participate.
	//
	// If this mode is set on a VM whose guest does not have VM Tools or if
	// VM Tools is present but the operation fails, the VM may never realize
	// the desired power state. This can prevent a VM from being deleted as well
	// as many other unexpected issues. It is recommended to use trySoft
	// instead.
	VirtualMachinePowerOpModeSoft VirtualMachinePowerOpMode = "soft"

	// VirtualMachinePowerOpModeTrySoft indicates to first attempt a Soft
	// operation and fall back to hard if VM Tools is not present in the guest,
	// if the soft operation fails, or if the VM is not in the desired power
	// state within five minutes.
	VirtualMachinePowerOpModeTrySoft VirtualMachinePowerOpMode = "trySoft"
)

type VirtualMachinePowerState

type VirtualMachinePowerState string

VirtualMachinePowerState represents the power state of a VirtualMachine. +kubebuilder:validation:Enum=poweredOn;poweredOff;suspended

const (
	// VirtualMachinePoweredOff indicates to shut down a VM and/or it is
	// shut down.
	VirtualMachinePoweredOff VirtualMachinePowerState = "poweredOff"

	// VirtualMachinePoweredOn indicates to power on a VM and/or it is
	// powered on.
	VirtualMachinePoweredOn VirtualMachinePowerState = "poweredOn"

	// VirtualMachineSuspended indicates to suspend a VM and/or it is
	// suspended.
	VirtualMachineSuspended VirtualMachinePowerState = "suspended"
)

type VirtualMachinePublishRequest

type VirtualMachinePublishRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachinePublishRequestSpec   `json:"spec,omitempty"`
	Status VirtualMachinePublishRequestStatus `json:"status,omitempty"`
}

VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.

func (*VirtualMachinePublishRequest) ConvertFrom

func (dst *VirtualMachinePublishRequest) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachinePublishRequest.

func (*VirtualMachinePublishRequest) ConvertTo

func (src *VirtualMachinePublishRequest) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachinePublishRequest to the Hub version.

func (*VirtualMachinePublishRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequest.

func (*VirtualMachinePublishRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachinePublishRequest) DeepCopyObject

func (in *VirtualMachinePublishRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMachinePublishRequest) GetConditions

func (vmpr *VirtualMachinePublishRequest) GetConditions() Conditions

func (*VirtualMachinePublishRequest) SetConditions

func (vmpr *VirtualMachinePublishRequest) SetConditions(conditions Conditions)

func (*VirtualMachinePublishRequest) SetupWebhookWithManager

func (r *VirtualMachinePublishRequest) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachinePublishRequestList

type VirtualMachinePublishRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachinePublishRequest `json:"items"`
}

VirtualMachinePublishRequestList contains a list of VirtualMachinePublishRequest resources.

func (*VirtualMachinePublishRequestList) ConvertFrom

func (dst *VirtualMachinePublishRequestList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachinePublishRequestList.

func (*VirtualMachinePublishRequestList) ConvertTo

func (src *VirtualMachinePublishRequestList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachinePublishRequestList to the Hub version.

func (*VirtualMachinePublishRequestList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestList.

func (*VirtualMachinePublishRequestList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachinePublishRequestList) DeepCopyObject

func (in *VirtualMachinePublishRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachinePublishRequestSource

type VirtualMachinePublishRequestSource struct {
	// Name is the name of the referenced object.
	//
	// If omitted this value defaults to the name of the
	// VirtualMachinePublishRequest resource.
	//
	// +optional
	Name string `json:"name,omitempty"`

	// APIVersion is the API version of the referenced object.
	//
	// +kubebuilder:default=vmoperator.vmware.com/v1alpha1
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is the kind of referenced object.
	//
	// +kubebuilder:default=VirtualMachine
	// +optional
	Kind string `json:"kind,omitempty"`
}

VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.

func (*VirtualMachinePublishRequestSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestSource.

func (*VirtualMachinePublishRequestSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePublishRequestSpec

type VirtualMachinePublishRequestSpec struct {
	// Source is the source of the publication request, ex. a VirtualMachine
	// resource.
	//
	// If this value is omitted then the publication controller checks to
	// see if there is a resource with the same name as this
	// VirtualMachinePublishRequest resource, an API version equal to
	// spec.source.apiVersion, and a kind equal to spec.source.kind. If such
	// a resource exists, then it is the source of the publication.
	//
	// +optional
	Source VirtualMachinePublishRequestSource `json:"source,omitempty"`

	// Target is the target of the publication request, ex. item
	// information and a ContentLibrary resource.
	//
	// If this value is omitted, the controller uses spec.source.name + "-image"
	// as the name of the published item. Additionally, when omitted the
	// controller attempts to identify the target location by matching a
	// resource with an API version equal to spec.target.location.apiVersion, a
	// kind equal to spec.target.location.kind, w/ the label
	// "imageregistry.vmware.com/default".
	//
	// Please note that while optional, if a VirtualMachinePublishRequest sans
	// target information is applied to a namespace without a default
	// publication target, then the VirtualMachinePublishRequest resource
	// will be marked in error.
	//
	// +optional
	Target VirtualMachinePublishRequestTarget `json:"target,omitempty"`

	// TTLSecondsAfterFinished is the time-to-live duration for how long this
	// resource will be allowed to exist once the publication operation
	// completes. After the TTL expires, the resource will be automatically
	// deleted without the user having to take any direct action.
	//
	// If this field is unset then the request resource will not be
	// automatically deleted. If this field is set to zero then the request
	// resource is eligible for deletion immediately after it finishes.
	//
	// +optional
	// +kubebuilder:validation:Minimum=0
	TTLSecondsAfterFinished *int64 `json:"ttlSecondsAfterFinished,omitempty"`
}

VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.

All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.

func (*VirtualMachinePublishRequestSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestSpec.

func (*VirtualMachinePublishRequestSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePublishRequestStatus

type VirtualMachinePublishRequestStatus struct {
	// SourceRef is the reference to the source of the publication request,
	// ex. a VirtualMachine resource.
	//
	// +optional
	SourceRef *VirtualMachinePublishRequestSource `json:"sourceRef,omitempty"`

	// TargetRef is the reference to the target of the publication request,
	// ex. item information and a ContentLibrary resource.
	//
	//
	// +optional
	TargetRef *VirtualMachinePublishRequestTarget `json:"targetRef,omitempty"`

	// CompletionTime represents time when the request was completed. It is not
	// guaranteed to be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	//
	// The value of this field should be equal to the value of the
	// LastTransitionTime for the status condition Type=Complete.
	//
	// +optional
	CompletionTime metav1.Time `json:"completionTime,omitempty"`

	// StartTime represents time when the request was acknowledged by the
	// controller. It is not guaranteed to be set in happens-before order
	// across separate operations. It is represented in RFC3339 form and is
	// in UTC.
	//
	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`

	// Attempts represents the number of times the request to publish the VM
	// has been attempted.
	//
	// +optional
	Attempts int64 `json:"attempts,omitempty"`

	// LastAttemptTime represents the time when the latest request was sent.
	//
	// +optional
	LastAttemptTime metav1.Time `json:"lastAttemptTime,omitempty"`

	// ImageName is the name of the VirtualMachineImage resource that is
	// eventually realized in the same namespace as the VM and publication
	// request after the publication operation completes.
	//
	// This field will not be set until the VirtualMachineImage resource
	// is realized.
	//
	// +optional
	ImageName string `json:"imageName,omitempty"`

	// Ready is set to true only when the VM has been published successfully
	// and the new VirtualMachineImage resource is ready.
	//
	// Readiness is determined by waiting until there is status condition
	// Type=Complete and ensuring it and all other status conditions present
	// have a Status=True. The conditions present will be:
	//
	//   * SourceValid
	//   * TargetValid
	//   * Uploaded
	//   * ImageAvailable
	//   * Complete
	//
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Conditions is a list of the latest, available observations of the
	// request's current state.
	//
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.

func (*VirtualMachinePublishRequestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestStatus.

func (*VirtualMachinePublishRequestStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePublishRequestTarget

type VirtualMachinePublishRequestTarget struct {
	// Item contains information about the name of the object to which
	// the VM is published.
	//
	// Please note this value is optional and if omitted, the controller
	// will use spec.source.name + "-image" as the name of the published
	// item.
	//
	// +optional
	Item VirtualMachinePublishRequestTargetItem `json:"item,omitempty"`

	// Location contains information about the location to which to publish
	// the VM.
	//
	// +optional
	Location VirtualMachinePublishRequestTargetLocation `json:"location,omitempty"`
}

VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.

func (*VirtualMachinePublishRequestTarget) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestTarget.

func (*VirtualMachinePublishRequestTarget) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePublishRequestTargetItem

type VirtualMachinePublishRequestTargetItem struct {
	// Name is the display name of the published object.
	//
	// If the spec.target.location.apiVersion equals
	// imageregistry.vmware.com/v1alpha1 and the spec.target.location.kind
	// equals ContentLibrary, then this should be the name that will
	// show up in vCenter Content Library, not the custom resource name
	// in the namespace.
	//
	// If omitted then the controller will use spec.source.name + "-image".
	//
	// +optional
	Name string `json:"name,omitempty"`

	// Description is the description to assign to the published object.
	//
	// +optional
	Description string `json:"description,omitempty"`
}

VirtualMachinePublishRequestTargetItem is the item part of a publication request's target.

func (*VirtualMachinePublishRequestTargetItem) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestTargetItem.

func (*VirtualMachinePublishRequestTargetItem) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachinePublishRequestTargetLocation

type VirtualMachinePublishRequestTargetLocation struct {
	// Name is the name of the referenced object.
	//
	// Please note an error will be returned if this field is not
	// set in a namespace that lacks a default publication target.
	//
	// A default publication target is a resource with an API version
	// equal to spec.target.location.apiVersion, a kind equal to
	// spec.target.location.kind, and has the label
	// "imageregistry.vmware.com/default".
	//
	// +optional
	Name string `json:"name,omitempty"`

	// APIVersion is the API version of the referenced object.
	//
	// +kubebuilder:default=imageregistry.vmware.com/v1alpha1
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is the kind of referenced object.
	//
	// +kubebuilder:default=ContentLibrary
	// +optional
	Kind string `json:"kind,omitempty"`
}

VirtualMachinePublishRequestTargetLocation is the location part of a publication request's target.

func (*VirtualMachinePublishRequestTargetLocation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePublishRequestTargetLocation.

func (*VirtualMachinePublishRequestTargetLocation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineResourceSpec

type VirtualMachineResourceSpec struct {
	Cpu    resource.Quantity `json:"cpu,omitempty"` //nolint:stylecheck,revive
	Memory resource.Quantity `json:"memory,omitempty"`
}

VirtualMachineResourceSpec describes a virtual hardware policy specification.

func (*VirtualMachineResourceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineResourceSpec.

func (*VirtualMachineResourceSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineService

type VirtualMachineService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineServiceSpec   `json:"spec,omitempty"`
	Status VirtualMachineServiceStatus `json:"status,omitempty"`
}

VirtualMachineService is the Schema for the virtualmachineservices API. A VirtualMachineService represents the desired specification and the observed status of a VirtualMachineService instance. A VirtualMachineService represents a network service, provided by one or more VirtualMachines, that is desired to be exposed to other workloads both internal and external to the cluster.

func (*VirtualMachineService) ConvertFrom

func (dst *VirtualMachineService) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineService.

func (*VirtualMachineService) ConvertTo

func (src *VirtualMachineService) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineService to the Hub version.

func (*VirtualMachineService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineService.

func (*VirtualMachineService) DeepCopyInto

func (in *VirtualMachineService) DeepCopyInto(out *VirtualMachineService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineService) DeepCopyObject

func (in *VirtualMachineService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VirtualMachineService) NamespacedName

func (s *VirtualMachineService) NamespacedName() string

func (*VirtualMachineService) SetupWebhookWithManager

func (r *VirtualMachineService) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachineServiceList

type VirtualMachineServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachineService `json:"items"`
}

VirtualMachineServiceList contains a list of VirtualMachineService.

func (*VirtualMachineServiceList) ConvertFrom

func (dst *VirtualMachineServiceList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineServiceList.

func (*VirtualMachineServiceList) ConvertTo

func (src *VirtualMachineServiceList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineServiceList to the Hub version.

func (*VirtualMachineServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineServiceList.

func (*VirtualMachineServiceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineServiceList) DeepCopyObject

func (in *VirtualMachineServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineServicePort

type VirtualMachineServicePort struct {
	// Name describes the name to be used to identify this VirtualMachineServicePort
	Name string `json:"name"`

	// Protocol describes the Layer 4 transport protocol for this port. Supports "TCP", "UDP", and "SCTP".
	Protocol string `json:"protocol"`

	// Port describes the external port that will be exposed by the service.
	Port int32 `json:"port"`

	// TargetPort describes the internal port open on a VirtualMachine that should be mapped to the external Port.
	TargetPort int32 `json:"targetPort"`
}

VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.

func (*VirtualMachineServicePort) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineServicePort.

func (*VirtualMachineServicePort) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineServiceSpec

type VirtualMachineServiceSpec struct {
	// Type specifies a desired VirtualMachineServiceType for this VirtualMachineService. Supported types
	// are ClusterIP, LoadBalancer, ExternalName.
	Type VirtualMachineServiceType `json:"type"`

	// Ports specifies a list of VirtualMachineServicePort to expose with this VirtualMachineService. Each of these ports
	// will be an accessible network entry point to access this service by.
	Ports []VirtualMachineServicePort `json:"ports,omitempty"`

	// Selector specifies a map of key-value pairs, also known as a Label Selector, that is used to match this
	// VirtualMachineService with the set of VirtualMachines that should back this VirtualMachineService.
	// +optional
	Selector map[string]string `json:"selector,omitempty"`

	// Only applies to VirtualMachineService Type: LoadBalancer
	// LoadBalancer will get created with the IP specified in this field.
	// This feature depends on whether the underlying load balancer provider supports specifying
	// the loadBalancerIP when a load balancer is created.
	// This field will be ignored if the provider does not support the feature.
	// Deprecated: This field was under-specified and its meaning varies across implementations.
	// Using it is non-portable and it may not support dual-stack.
	// Users are encouraged to use implementation-specific annotations when available.
	// +optional
	LoadBalancerIP string `json:"loadBalancerIP,omitempty"`

	// LoadBalancerSourceRanges is an array of IP addresses in the format of
	// CIDRs, for example: 103.21.244.0/22 and 10.0.0.0/24.
	// If specified and supported by the load balancer provider, this will restrict
	// ingress traffic to the specified client IPs. This field will be ignored if the
	// provider does not support the feature.
	// +optional
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"`

	// clusterIP is the IP address of the service and is usually assigned
	// randomly by the master. If an address is specified manually and is not in
	// use by others, it will be allocated to the service; otherwise, creation
	// of the service will fail. This field can not be changed through updates.
	// Valid values are "None", empty string (""), or a valid IP address. "None"
	// can be specified for headless services when proxying is not required.
	// Only applies to types ClusterIP and LoadBalancer.
	// Ignored if type is ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	ClusterIP string `json:"clusterIp,omitempty"`

	// externalName is the external reference that kubedns or equivalent will
	// return as a CNAME record for this service. No proxying will be involved.
	// Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123)
	// and requires Type to be ExternalName.
	// +optional
	ExternalName string `json:"externalName,omitempty"`
}

VirtualMachineServiceSpec defines the desired state of VirtualMachineService. Each VirtualMachineService exposes a set of TargetPorts on a set of VirtualMachine instances as a network endpoint within or outside of the Kubernetes cluster. The VirtualMachineService is loosely coupled to the VirtualMachines that are backing it through the use of a Label Selector. In Kubernetes, a Label Selector enables matching of a resource using a set of key-value pairs, aka Labels. By using a Label Selector, the VirtualMachineService can be generically defined to apply to any VirtualMachine in the same namespace that has the appropriate set of labels.

func (*VirtualMachineServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineServiceSpec.

func (*VirtualMachineServiceSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineServiceStatus

type VirtualMachineServiceStatus struct {
	// LoadBalancer contains the current status of the load balancer,
	// if one is present.
	// +optional
	LoadBalancer LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

VirtualMachineServiceStatus defines the observed state of VirtualMachineService.

func (*VirtualMachineServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineServiceStatus.

func (*VirtualMachineServiceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineServiceType

type VirtualMachineServiceType string

VirtualMachineServiceType string describes ingress methods for a service.

const (
	// VirtualMachineServiceTypeClusterIP means a service will only be accessible inside the
	// cluster, via the cluster IP.
	VirtualMachineServiceTypeClusterIP VirtualMachineServiceType = "ClusterIP"

	// VirtualMachineServiceTypeLoadBalancer means a service will be exposed via an
	// external load balancer (if the cloud provider supports it), in addition
	// to 'NodePort' type.
	VirtualMachineServiceTypeLoadBalancer VirtualMachineServiceType = "LoadBalancer"

	// VirtualMachineServiceTypeExternalName means a service consists of only a reference to
	// an external name that kubedns or equivalent will return as a CNAME
	// record, with no exposing or proxying of any VirtualMachines involved.
	VirtualMachineServiceTypeExternalName VirtualMachineServiceType = "ExternalName"
)

These types correspond to a subset of the core Service Types.

type VirtualMachineSetResourcePolicy

type VirtualMachineSetResourcePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualMachineSetResourcePolicySpec   `json:"spec,omitempty"`
	Status VirtualMachineSetResourcePolicyStatus `json:"status,omitempty"`
}

VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.

func (*VirtualMachineSetResourcePolicy) ConvertFrom

func (dst *VirtualMachineSetResourcePolicy) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineSetResourcePolicy.

func (*VirtualMachineSetResourcePolicy) ConvertTo

func (src *VirtualMachineSetResourcePolicy) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VirtualMachineSetResourcePolicy to the Hub version.

func (*VirtualMachineSetResourcePolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetResourcePolicy.

func (*VirtualMachineSetResourcePolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineSetResourcePolicy) DeepCopyObject

func (in *VirtualMachineSetResourcePolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (VirtualMachineSetResourcePolicy) NamespacedName

func (res VirtualMachineSetResourcePolicy) NamespacedName() string

func (*VirtualMachineSetResourcePolicy) SetupWebhookWithManager

func (r *VirtualMachineSetResourcePolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

type VirtualMachineSetResourcePolicyList

type VirtualMachineSetResourcePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualMachineSetResourcePolicy `json:"items"`
}

VirtualMachineSetResourcePolicyList contains a list of VirtualMachineSetResourcePolicy.

func (*VirtualMachineSetResourcePolicyList) ConvertFrom

func (dst *VirtualMachineSetResourcePolicyList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the hub version to this VirtualMachineSetResourcePolicyList.

func (*VirtualMachineSetResourcePolicyList) ConvertTo

ConvertTo converts this VirtualMachineSetResourcePolicyList to the Hub version.

func (*VirtualMachineSetResourcePolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetResourcePolicyList.

func (*VirtualMachineSetResourcePolicyList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VirtualMachineSetResourcePolicyList) DeepCopyObject

func (in *VirtualMachineSetResourcePolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VirtualMachineSetResourcePolicySpec

type VirtualMachineSetResourcePolicySpec struct {
	ResourcePool   ResourcePoolSpec    `json:"resourcepool,omitempty"`
	Folder         FolderSpec          `json:"folder,omitempty"`
	ClusterModules []ClusterModuleSpec `json:"clustermodules,omitempty"`
}

VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.

func (*VirtualMachineSetResourcePolicySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetResourcePolicySpec.

func (*VirtualMachineSetResourcePolicySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineSetResourcePolicyStatus

type VirtualMachineSetResourcePolicyStatus struct {
	ClusterModules []ClusterModuleStatus `json:"clustermodules,omitempty"`
}

VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.

func (*VirtualMachineSetResourcePolicyStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetResourcePolicyStatus.

func (*VirtualMachineSetResourcePolicyStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineSpec

type VirtualMachineSpec struct {
	// ImageName describes the name of the image resource used to deploy this
	// VM.
	//
	// This field may be used to specify the name of a VirtualMachineImage
	// or ClusterVirtualMachineImage resource. The resolver first checks to see
	// if there is a VirtualMachineImage with the specified name. If no
	// such resource exists, the resolver then checks to see if there is a
	// ClusterVirtualMachineImage resource with the specified name in the same
	// Namespace as the VM being deployed.
	//
	// This field may also be used to specify the display name (vSphere name) of
	// a VirtualMachineImage or ClusterVirtualMachineImage resource. If the
	// display name unambiguously resolves to a distinct VM image (among all
	// existing VirtualMachineImages in the VM's namespace and all existing
	// ClusterVirtualMachineImages), then a mutation webhook updates this field
	// with the VM image resource name. If the display name resolves to multiple
	// or no VM images, then the mutation webhook denies the request and outputs
	// an error message accordingly.
	ImageName string `json:"imageName"`

	// ClassName describes the name of a VirtualMachineClass that is to be used as the overlaid resource configuration
	// of VirtualMachine.  A VirtualMachineClass is used to further customize the attributes of the VirtualMachine
	// instance.  See VirtualMachineClass for more description.
	ClassName string `json:"className"`

	// PowerState describes the desired power state of a VirtualMachine.
	//
	// Please note this field may be omitted when creating a new VM and will
	// default to "poweredOn." However, once the field is set to a non-empty
	// value, it may no longer be set to an empty value.
	//
	// Additionally, setting this value to "suspended" is not supported when
	// creating a new VM. The valid values when creating a new VM are
	// "poweredOn" and "poweredOff." An empty value is also allowed on create
	// since this value defaults to "poweredOn" for new VMs.
	//
	// +optional
	PowerState VirtualMachinePowerState `json:"powerState,omitempty"`

	// PowerOffMode describes the desired behavior when powering off a VM.
	//
	// There are three, supported power off modes: hard, soft, and
	// trySoft. The first mode, hard, is the equivalent of a physical
	// system's power cord being ripped from the wall. The soft mode
	// requires the VM's guest to have VM Tools installed and attempts to
	// gracefully shutdown the VM. Its variant, trySoft, first attempts
	// a graceful shutdown, and if that fails or the VM is not in a powered off
	// state after five minutes, the VM is halted.
	//
	// If omitted, the mode defaults to hard.
	//
	// +optional
	// +kubebuilder:default=hard
	PowerOffMode VirtualMachinePowerOpMode `json:"powerOffMode,omitempty"`

	// SuspendMode describes the desired behavior when suspending a VM.
	//
	// There are three, supported suspend modes: hard, soft, and
	// trySoft. The first mode, hard, is where vSphere suspends the VM to
	// disk without any interaction inside of the guest. The soft mode
	// requires the VM's guest to have VM Tools installed and attempts to
	// gracefully suspend the VM. Its variant, trySoft, first attempts
	// a graceful suspend, and if that fails or the VM is not in a put into
	// standby by the guest after five minutes, the VM is suspended.
	//
	// If omitted, the mode defaults to hard.
	//
	// +optional
	// +kubebuilder:default=hard
	SuspendMode VirtualMachinePowerOpMode `json:"suspendMode,omitempty"`

	// NextRestartTime may be used to restart the VM, in accordance with
	// RestartMode, by setting the value of this field to "now"
	// (case-insensitive).
	//
	// A mutating webhook changes this value to the current time (UTC), which
	// the VM controller then uses to determine the VM should be restarted by
	// comparing the value to the timestamp of the last time the VM was
	// restarted.
	//
	// Please note it is not possible to schedule future restarts using this
	// field. The only value that users may set is the string "now"
	// (case-insensitive).
	//
	// +optional
	NextRestartTime string `json:"nextRestartTime,omitempty"`

	// RestartMode describes the desired behavior for restarting a VM when
	// spec.nextRestartTime is set to "now" (case-insensitive).
	//
	// There are three, supported suspend modes: hard, soft, and
	// trySoft. The first mode, hard, is where vSphere resets the VM without any
	// interaction inside of the guest. The soft mode requires the VM's guest to
	// have VM Tools installed and asks the guest to restart the VM. Its
	// variant, trySoft, first attempts a soft restart, and if that fails or
	// does not complete within five minutes, the VM is hard reset.
	//
	// If omitted, the mode defaults to hard.
	//
	// +optional
	// +kubebuilder:default=hard
	RestartMode VirtualMachinePowerOpMode `json:"restartMode,omitempty"`

	// Ports is currently unused and can be considered deprecated.
	// +optional
	Ports []VirtualMachinePort `json:"ports,omitempty"`

	// VmMetadata describes any optional metadata that should be passed to the Guest OS.
	// +optional
	VmMetadata *VirtualMachineMetadata `json:"vmMetadata,omitempty"` //nolint:revive,stylecheck

	// StorageClass describes the name of a StorageClass that should be used to configure storage-related attributes of the VirtualMachine
	// instance.
	// +optional
	StorageClass string `json:"storageClass,omitempty"`

	// NetworkInterfaces describes a list of VirtualMachineNetworkInterfaces to be configured on the VirtualMachine instance.
	// Each of these VirtualMachineNetworkInterfaces describes external network integration configurations that are to be
	// used by the VirtualMachine controller when integrating the VirtualMachine into one or more external networks.
	//
	// The maximum number of network interface allowed is 10 because of the limit built into vSphere.
	//
	// +optional
	// +kubebuilder:validation:MaxItems=10
	NetworkInterfaces []VirtualMachineNetworkInterface `json:"networkInterfaces,omitempty"`

	// ResourcePolicyName describes the name of a VirtualMachineSetResourcePolicy to be used when creating the
	// VirtualMachine instance.
	// +optional
	ResourcePolicyName string `json:"resourcePolicyName"`

	// Volumes describes the list of VirtualMachineVolumes that are desired to be attached to the VirtualMachine.  Each of
	// these volumes specifies a volume identity that the VirtualMachine controller will attempt to satisfy, potentially
	// with an external Volume Management service.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	Volumes []VirtualMachineVolume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name"`

	// ReadinessProbe describes a network probe that can be used to determine if the VirtualMachine is available and
	// responding to the probe.
	// +optional
	ReadinessProbe *Probe `json:"readinessProbe,omitempty"`

	// AdvancedOptions describes a set of optional, advanced options for configuring a VirtualMachine
	AdvancedOptions *VirtualMachineAdvancedOptions `json:"advancedOptions,omitempty"`

	// MinHardwareVersion specifies the desired minimum hardware version
	// for this VM.
	//
	// Usually the VM's hardware version is derived from:
	// 1. the VirtualMachineClass used to deploy the VM provided by the ClassName field
	// 2. the datacenter/cluster/host default hardware version
	// Setting this field will ensure that the hardware version of the VM
	// is at least set to the specified value. To enforce this, it will override
	// the value from the VirtualMachineClass.
	//
	// This field is never updated to reflect the derived hardware version.
	// Instead, VirtualMachineStatus.HardwareVersion surfaces
	// the observed hardware version.
	//
	// Please note, setting this field's value to N ensures a VM's hardware
	// version is equal to or greater than N. For example, if a VM's observed
	// hardware version is 10 and this field's value is 13, then the VM will be
	// upgraded to hardware version 13. However, if the observed hardware
	// version is 17 and this field's value is 13, no change will occur.
	//
	// Several features are hardware version dependent, for example:
	//
	// * NVMe Controllers                >= 14
	// * Dynamic Direct Path I/O devices >= 17
	//
	// Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM
	// hardware versions.
	//
	// It is important to remember that a VM's hardware version may not be
	// downgraded and upgrading a VM deployed from an image based on an older
	// hardware version to a more recent one may result in unpredictable
	// behavior. In other words, please be careful when choosing to upgrade a
	// VM to a newer hardware version.
	//
	// +optional
	// +kubebuilder:validation:Minimum=13
	MinHardwareVersion int32 `json:"minHardwareVersion,omitempty"`
}

VirtualMachineSpec defines the desired state of a VirtualMachine.

func (*VirtualMachineSpec) DeepCopy

func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec.

func (*VirtualMachineSpec) DeepCopyInto

func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineStatus

type VirtualMachineStatus struct {
	// Host describes the hostname or IP address of the infrastructure host that the VirtualMachine is executing on.
	// +optional
	Host string `json:"host,omitempty"`

	// PowerState describes the current power state of the VirtualMachine.
	// +optional
	PowerState VirtualMachinePowerState `json:"powerState,omitempty"`

	// Phase describes the current phase information of the VirtualMachine.
	// +optional
	Phase VMStatusPhase `json:"phase,omitempty"`

	// Conditions describes the current condition information of the VirtualMachine.
	// +optional
	Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	// VmIp describes the Primary IP address assigned to the guest operating system, if known.
	// Multiple IPs can be available for the VirtualMachine. Refer to networkInterfaces in the VirtualMachine
	// status for additional IPs
	// +optional
	VmIp string `json:"vmIp,omitempty"` //nolint:revive,stylecheck

	// UniqueID describes a unique identifier that is provided by the underlying infrastructure provider, such as
	// vSphere.
	// +optional
	UniqueID string `json:"uniqueID,omitempty"`

	// BiosUUID describes a unique identifier provided by the underlying infrastructure provider that is exposed to the
	// Guest OS BIOS as a unique hardware identifier.
	// +optional
	BiosUUID string `json:"biosUUID,omitempty"`

	// InstanceUUID describes the unique instance UUID provided by the underlying infrastructure provider, such as vSphere.
	// +optional
	InstanceUUID string `json:"instanceUUID,omitempty"`

	// Volumes describes a list of current status information for each Volume that is desired to be attached to the
	// VirtualMachine.
	// +optional
	Volumes []VirtualMachineVolumeStatus `json:"volumes,omitempty"`

	// ChangeBlockTracking describes the CBT enablement status on the VirtualMachine.
	// +optional
	ChangeBlockTracking *bool `json:"changeBlockTracking,omitempty"`

	// NetworkInterfaces describes a list of current status information for each network interface that is desired to
	// be attached to the VirtualMachine.
	// +optional
	NetworkInterfaces []NetworkInterfaceStatus `json:"networkInterfaces,omitempty"`

	// Zone describes the availability zone where the VirtualMachine has been scheduled.
	// Please note this field may be empty when the cluster is not zone-aware.
	// +optional
	Zone string `json:"zone,omitempty"`

	// LastRestartTime describes the last time the VM was restarted.
	// +optional
	LastRestartTime *metav1.Time `json:"lastRestartTime,omitempty"`

	// HardwareVersion describes the VirtualMachine resource's observed
	// hardware version.
	//
	// Please refer to VirtualMachineSpec.MinHardwareVersion for more
	// information on the topic of a VM's hardware version.
	//
	// +optional
	HardwareVersion int32 `json:"hardwareVersion,omitempty"`
}

VirtualMachineStatus defines the observed state of a VirtualMachine instance.

func (*VirtualMachineStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus.

func (*VirtualMachineStatus) DeepCopyInto

func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineTemplate

type VirtualMachineTemplate struct {
	// Net describes the observed state of the VM's network configuration.
	// +optional
	Net NetworkStatus

	// VM represents a pointer to a VirtualMachine instance that consist of the
	// desired specification and the observed status
	VM *VirtualMachine
}

VirtualMachineTemplate defines the specification for configuring VirtualMachine Template. A Virtual Machine Template is created during VM customization to populate OVF properties. Then by utilizing Golang-based templating, Virtual Machine Template provides access to dynamic configuration data.

func (*VirtualMachineTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplate.

func (*VirtualMachineTemplate) DeepCopyInto

func (in *VirtualMachineTemplate) DeepCopyInto(out *VirtualMachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineVolume

type VirtualMachineVolume struct {
	// Name specifies the name of the VirtualMachineVolume.  Each volume within the scope of a VirtualMachine must
	// have a unique name.
	Name string `json:"name"`

	// PersistentVolumeClaim represents a reference to a PersistentVolumeClaim
	// in the same namespace. The PersistentVolumeClaim must match one of the
	// following:
	//
	//   * A volume provisioned (either statically or dynamically) by the
	//     cluster's CSI provider.
	//
	//   * An instance volume with a lifecycle coupled to the VM.
	// +optional
	PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"`

	// VsphereVolume represents a reference to a VsphereVolumeSource in the same namespace. Only one of PersistentVolumeClaim or
	// VsphereVolume can be specified. This is enforced via a webhook
	// +optional
	VsphereVolume *VsphereVolumeSource `json:"vSphereVolume,omitempty"`
}

VirtualMachineVolume describes a Volume that should be attached to a specific VirtualMachine. Only one of PersistentVolumeClaim, VsphereVolume should be specified.

func (*VirtualMachineVolume) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineVolume.

func (*VirtualMachineVolume) DeepCopyInto

func (in *VirtualMachineVolume) DeepCopyInto(out *VirtualMachineVolume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineVolumeProvisioningOptions

type VirtualMachineVolumeProvisioningOptions struct {
	// ThinProvisioned specifies whether to use thin provisioning for the VirtualMachineVolume.
	// This means a sparse (allocate on demand) format with additional space optimizations.
	ThinProvisioned *bool `json:"thinProvisioned,omitempty"`

	// EagerZeroed specifies whether to use eager zero provisioning for the VirtualMachineVolume.
	// An eager zeroed thick disk has all space allocated and wiped clean of any previous contents
	// on the physical media at creation time. Such disks may take longer time during creation
	// compared to other disk formats.
	// EagerZeroed is only applicable if ThinProvisioned is false. This is validated by the webhook.
	EagerZeroed *bool `json:"eagerZeroed,omitempty"`
}

VirtualMachineVolumeProvisioningOptions specifies the provisioning options for a VirtualMachineVolume.

func (*VirtualMachineVolumeProvisioningOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineVolumeProvisioningOptions.

func (*VirtualMachineVolumeProvisioningOptions) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VirtualMachineVolumeStatus

type VirtualMachineVolumeStatus struct {
	// Name is the name of the volume in a VirtualMachine.
	Name string `json:"name"`

	// Attached represents whether a volume has been successfully attached to the VirtualMachine or not.
	Attached bool `json:"attached"`

	// DiskUuid represents the underlying virtual disk UUID and is present when attachment succeeds.
	DiskUuid string `json:"diskUUID"` //nolint:revive,stylecheck

	// Error represents the last error seen when attaching or detaching a volume.  Error will be empty if attachment succeeds.
	Error string `json:"error"`
}

VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.

func (*VirtualMachineVolumeStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineVolumeStatus.

func (*VirtualMachineVolumeStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VsphereVolumeSource

type VsphereVolumeSource struct {
	// A description of the virtual volume's resources and capacity
	// +optional
	Capacity corev1.ResourceList `json:"capacity,omitempty"`

	// Device key of vSphere disk.
	// +optional
	DeviceKey *int `json:"deviceKey,omitempty"`
}

VsphereVolumeSource describes a volume source that represent static disks that belong to a VirtualMachine.

func (*VsphereVolumeSource) DeepCopy

func (in *VsphereVolumeSource) DeepCopy() *VsphereVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVolumeSource.

func (*VsphereVolumeSource) DeepCopyInto

func (in *VsphereVolumeSource) DeepCopyInto(out *VsphereVolumeSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebConsoleRequest

type WebConsoleRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WebConsoleRequestSpec   `json:"spec,omitempty"`
	Status WebConsoleRequestStatus `json:"status,omitempty"`
}

WebConsoleRequest allows the creation of a one-time web console ticket that can be used to interact with the VM.

func (*WebConsoleRequest) DeepCopy

func (in *WebConsoleRequest) DeepCopy() *WebConsoleRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebConsoleRequest.

func (*WebConsoleRequest) DeepCopyInto

func (in *WebConsoleRequest) DeepCopyInto(out *WebConsoleRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebConsoleRequest) DeepCopyObject

func (in *WebConsoleRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WebConsoleRequest) NamespacedName

func (s *WebConsoleRequest) NamespacedName() string

type WebConsoleRequestList

type WebConsoleRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WebConsoleRequest `json:"items"`
}

WebConsoleRequestList contains a list of WebConsoleRequests.

func (*WebConsoleRequestList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebConsoleRequestList.

func (*WebConsoleRequestList) DeepCopyInto

func (in *WebConsoleRequestList) DeepCopyInto(out *WebConsoleRequestList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebConsoleRequestList) DeepCopyObject

func (in *WebConsoleRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WebConsoleRequestSpec

type WebConsoleRequestSpec struct {
	// VirtualMachineName is the VM in the same namespace, for which the web console is requested.
	VirtualMachineName string `json:"virtualMachineName"`
	// PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format.
	PublicKey string `json:"publicKey"`
}

WebConsoleRequestSpec describes the specification for used to request a web console request.

func (*WebConsoleRequestSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebConsoleRequestSpec.

func (*WebConsoleRequestSpec) DeepCopyInto

func (in *WebConsoleRequestSpec) DeepCopyInto(out *WebConsoleRequestSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebConsoleRequestStatus

type WebConsoleRequestStatus struct {
	// Response will be the authenticated ticket corresponding to this web console request.
	Response string `json:"response,omitempty"`
	// ExpiryTime is when the ticket referenced in Response will expire.
	ExpiryTime metav1.Time `json:"expiryTime,omitempty"`
	// ProxyAddr describes the host address and optional port used to access
	// the VM's web console.
	// The value could be a DNS entry, IPv4, or IPv6 address, followed by an
	// optional port. For example, valid values include:
	//
	//     DNS
	//         * host.com
	//         * host.com:6443
	//
	//     IPv4
	//         * 1.2.3.4
	//         * 1.2.3.4:6443
	//
	//     IPv6
	//         * 1234:1234:1234:1234:1234:1234:1234:1234
	//         * [1234:1234:1234:1234:1234:1234:1234:1234]:6443
	//         * 1234:1234:1234:0000:0000:0000:1234:1234
	//         * 1234:1234:1234::::1234:1234
	//         * [1234:1234:1234::::1234:1234]:6443
	//
	// In other words, the field may be set to any value that is parsable
	// by Go's https://pkg.go.dev/net#ResolveIPAddr and
	// https://pkg.go.dev/net#ParseIP functions.
	ProxyAddr string `json:"proxyAddr,omitempty"`
}

WebConsoleRequestStatus defines the observed state, which includes the web console request itself.

func (*WebConsoleRequestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebConsoleRequestStatus.

func (*WebConsoleRequestStatus) DeepCopyInto

func (in *WebConsoleRequestStatus) DeepCopyInto(out *WebConsoleRequestStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
Package install installs the API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the API group, making it available as an option to all of the API encoding/decoding machinery.

Jump to

Keyboard shortcuts

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