v1alpha2

package
v0.0.0-...-94fac98 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha2 is the v1alpha2 version of the API. +groupName=virtualization.deckhouse.io

Index

Constants

View Source
const (
	ClusterVirtualImageKind     = "ClusterVirtualImage"
	ClusterVirtualImageResource = "clustervirtualimages"
)
View Source
const (
	// ReasonErrUnknownState is event reason that VMI has unexpected state
	ReasonErrUnknownState = "UnknownState"

	// ReasonErrWrongPVCSize is event reason that PVC has wrong size
	ReasonErrWrongPVCSize = "WrongPVCSize"

	// ReasonErrImportFailed is event reason that importer/uploader Pod is failed
	ReasonErrImportFailed = "ImportFailed"

	// ReasonErrGetProgressFailed is event reason about the failure of getting progress.
	ReasonErrGetProgressFailed = "GetProgressFailed"

	// ReasonClaimNotAvailable is event reason that VM cannot use defined claim.
	ReasonClaimNotAvailable = "ClaimNotAvailable"

	// ReasonClaimNotAssigned is event reason that claimed IP is not assigned in the guest VM.
	ReasonClaimNotAssigned = "ClaimNotAssigned"

	// ReasonCPUModelNotFound is event reason that defined cpu model not found.
	ReasonCPUModelNotFound = "CPUModelNotFound"

	// ReasonImportSucceeded is event reason that the import is successfully completed
	ReasonImportSucceeded = "ImportSucceeded"

	// ReasonImportSucceededToPVC is event reason that the import is successfully completed to PVC
	ReasonImportSucceededToPVC = "ImportSucceededToPVC"

	// ReasonHotplugPostponed is event reason that disk hotplug is not possible at the moment.
	ReasonHotplugPostponed = "HotplugPostponed"

	// ReasonVMWaitForBlockDevices is event reason that block devices used by VM are not ready yet.
	ReasonVMWaitForBlockDevices = "WaitForBlockDevices"

	// ReasonVMChangesApplied is event reason that changes applied from VM to underlying KVVM.
	ReasonVMChangesApplied = "ChangesApplied"

	// ReasonVMRestarted is event reason that VM restarted.
	ReasonVMRestarted = "VMRestarted"

	// ReasonVMLastAppliedSpecInvalid is event reason that JSON in last-applied-spec annotation is invalid.
	ReasonVMLastAppliedSpecInvalid = "VMLastAppliedSpecInvalid"

	// ReasonErrUploaderWaitDurationExpired is event reason that uploading time expired.
	ReasonErrUploaderWaitDurationExpired = "UploaderWaitDurationExpired"

	// ReasonErrVmNotSynced is event reason that vm is not synced.
	ReasonErrVmNotSynced = "VirtualMachineNotSynced "

	// ReasonErrVMOPNotPermitted is event reason that vmop is not permitted.
	ReasonErrVMOPNotPermitted = "VirtualMachineOperationNotPermitted"

	// ReasonErrVMOPFailed is event reason that operation is failed
	ReasonErrVMOPFailed = "VirtualMachineOperationFailed"

	// ReasonVMOPSucceeded is event reason that the operation is successfully completed
	ReasonVMOPSucceeded = "VirtualMachineOperationSucceeded"
)
View Source
const (
	FinalizerPodProtection     = "virtualization.deckhouse.io/pod-protection"
	FinalizerServiceProtection = "virtualization.deckhouse.io/svc-protection"
	FinalizerIngressProtection = "virtualization.deckhouse.io/ingress-protection"
	FinalizerSecretProtection  = "virtualization.deckhouse.io/secret-protection"
	FinalizerDVProtection      = "virtualization.deckhouse.io/dv-protection"
	FinalizerPVCProtection     = "virtualization.deckhouse.io/pvc-protection"
	FinalizerPVProtection      = "virtualization.deckhouse.io/pv-protection"

	FinalizerCVMIProtection  = "virtualization.deckhouse.io/cvi-protection"
	FinalizerVMIProtection   = "virtualization.deckhouse.io/vi-protection"
	FinalizerVMDProtection   = "virtualization.deckhouse.io/vd-protection"
	FinalizerKVVMProtection  = "virtualization.deckhouse.io/kvvm-protection"
	FinalizerVMOPProtection  = "virtualization.deckhouse.io/vmop-protection"
	FinalizerVMCPUProtection = "virtualization.deckhouse.io/vmcpu-protection"

	FinalizerCVMICleanup           = "virtualization.deckhouse.io/cvi-cleanup"
	FinalizerVMICleanup            = "virtualization.deckhouse.io/vi-cleanup"
	FinalizerVMDCleanup            = "virtualization.deckhouse.io/vd-cleanup"
	FinalizerVMCleanup             = "virtualization.deckhouse.io/vm-cleanup"
	FinalizerIPAddressClaimCleanup = "virtualization.deckhouse.io/vmip-cleanup"
	FinalizerIPAddressLeaseCleanup = "virtualization.deckhouse.io/vmipl-cleanup"
	FinalizerVMBDACleanup          = "virtualization.deckhouse.io/vmbda-cleanup"
	FinalizerVMOPCleanup           = "virtualization.deckhouse.io/vmop-cleanup"
)
View Source
const (
	VirtualDiskKind     = "VirtualDisk"
	VirtualDiskResource = "virtualdisks"
)
View Source
const (
	VirtualImageKind     = "VirtualImage"
	VirtualImageResource = "virtualimages"
)
View Source
const (
	VirtualMachineKind     = "VirtualMachine"
	VirtualMachineResource = "virtualmachines"
)
View Source
const (
	VMBDAKind     = "VirtualMachineBlockDeviceAttachment"
	VMBDAResource = "virtualmachineblockdeviceattachments"
)
View Source
const (
	VMCPUKind     = "VirtualMachineCPUModel"
	VMCPUResource = "virtualmachinecpumodels"
)
View Source
const (
	VMOPKind     = "VirtualMachineOperation"
	VMOPResource = "virtualmachineoperations"
)
View Source
const Version = "v1alpha2"

Variables

View Source
var (
	// SchemeBuilder tbd
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme tbd
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var ClusterVirtualImageGVK = schema.GroupVersionKind{Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ClusterVirtualImageKind}

ClusterVirtualImageGVK is group version kind for ClusterVirtualImage

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

VirtualDiskGVK is group version kind for VirtualDisk

VirtualImageGVK is group version kind for VirtualImage

Functions

func GroupVersionResource

func GroupVersionResource(resource string) schema.GroupVersionResource

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func NewAffinityFromVMAffinity

func NewAffinityFromVMAffinity(vmAffinity *VMAffinity) *corev1.Affinity

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BlockDeviceAttachmentPhase

type BlockDeviceAttachmentPhase string
const (
	BlockDeviceAttachmentPhaseInProgress BlockDeviceAttachmentPhase = "InProgress"
	BlockDeviceAttachmentPhaseAttached   BlockDeviceAttachmentPhase = "Attached"
	BlockDeviceAttachmentPhaseFailed     BlockDeviceAttachmentPhase = "Failed"
)

type BlockDeviceKind

type BlockDeviceKind string
const (
	ClusterImageDevice BlockDeviceKind = "ClusterVirtualImage"
	ImageDevice        BlockDeviceKind = "VirtualImage"
	DiskDevice         BlockDeviceKind = "VirtualDisk"
)

type BlockDeviceSpecRef

type BlockDeviceSpecRef struct {
	Kind BlockDeviceKind `json:"kind"`
	Name string          `json:"name"`
}

func (*BlockDeviceSpecRef) DeepCopy

func (in *BlockDeviceSpecRef) DeepCopy() *BlockDeviceSpecRef

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

func (*BlockDeviceSpecRef) DeepCopyInto

func (in *BlockDeviceSpecRef) DeepCopyInto(out *BlockDeviceSpecRef)

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

type BlockDeviceStatusRef

type BlockDeviceStatusRef struct {
	Kind         BlockDeviceKind `json:"kind"`
	Name         string          `json:"name"`
	Hotpluggable bool            `json:"hotpluggable"`
	Target       string          `json:"target"`
	Size         string          `json:"size"`
}

func (*BlockDeviceStatusRef) DeepCopy

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

func (*BlockDeviceStatusRef) DeepCopyInto

func (in *BlockDeviceStatusRef) DeepCopyInto(out *BlockDeviceStatusRef)

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

type BootloaderType

type BootloaderType string
const (
	BIOS              BootloaderType = "BIOS"
	EFI               BootloaderType = "EFI"
	EFIWithSecureBoot BootloaderType = "EFIWithSecureBoot"
)

type CPUSpec

type CPUSpec struct {
	VirtualMachineCPUModel string `json:"virtualMachineCPUModel"`
	Cores                  int    `json:"cores"`
	CoreFraction           string `json:"coreFraction"`
}

func (*CPUSpec) DeepCopy

func (in *CPUSpec) DeepCopy() *CPUSpec

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

func (*CPUSpec) DeepCopyInto

func (in *CPUSpec) DeepCopyInto(out *CPUSpec)

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

type Checksum

type Checksum struct {
	MD5    string `json:"md5,omitempty"`
	SHA256 string `json:"sha256,omitempty"`
}

func (*Checksum) DeepCopy

func (in *Checksum) DeepCopy() *Checksum

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

func (*Checksum) DeepCopyInto

func (in *Checksum) DeepCopyInto(out *Checksum)

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

type ClusterVirtualImage

type ClusterVirtualImage struct {
	metav1.TypeMeta `json:",inline"`

	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ClusterVirtualImageSpec `json:"spec"`

	Status ClusterVirtualImageStatus `json:"status,omitempty"`
}

ClusterVirtualImage is a cluster wide available image for virtual machines. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterVirtualImage) DeepCopy

func (in *ClusterVirtualImage) DeepCopy() *ClusterVirtualImage

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

func (*ClusterVirtualImage) DeepCopyInto

func (in *ClusterVirtualImage) DeepCopyInto(out *ClusterVirtualImage)

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

func (*ClusterVirtualImage) DeepCopyObject

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

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

type ClusterVirtualImageDataSource

type ClusterVirtualImageDataSource struct {
	Type           DataSourceType                `json:"type,omitempty"`
	HTTP           *DataSourceHTTP               `json:"http,omitempty"`
	ContainerImage *DataSourceContainerRegistry  `json:"containerImage,omitempty"`
	ObjectRef      *ClusterVirtualImageObjectRef `json:"objectRef,omitempty"`
}

func (*ClusterVirtualImageDataSource) DeepCopy

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

func (*ClusterVirtualImageDataSource) DeepCopyInto

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

type ClusterVirtualImageList

type ClusterVirtualImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of CDIs
	Items []ClusterVirtualImage `json:"items"`
}

ClusterVirtualImageList provides the needed parameters to do request a list of ClusterVirtualImages from the system. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterVirtualImageList) DeepCopy

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

func (*ClusterVirtualImageList) DeepCopyInto

func (in *ClusterVirtualImageList) DeepCopyInto(out *ClusterVirtualImageList)

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

func (*ClusterVirtualImageList) DeepCopyObject

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

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

type ClusterVirtualImageObjectRef

type ClusterVirtualImageObjectRef struct {
	Kind      ClusterVirtualImageObjectRefKind `json:"kind,omitempty"`
	Name      string                           `json:"name,omitempty"`
	Namespace string                           `json:"namespace,omitempty"`
}

func (*ClusterVirtualImageObjectRef) DeepCopy

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

func (*ClusterVirtualImageObjectRef) DeepCopyInto

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

type ClusterVirtualImageObjectRefKind

type ClusterVirtualImageObjectRefKind string
const (
	ClusterVirtualImageObjectRefKindVirtualImage        ClusterVirtualImageObjectRefKind = "VirtualImage"
	ClusterVirtualImageObjectRefKindClusterVirtualImage ClusterVirtualImageObjectRefKind = "ClusterVirtualImage"
)

type ClusterVirtualImageSpec

type ClusterVirtualImageSpec struct {
	DataSource ClusterVirtualImageDataSource `json:"dataSource"`
}

func (*ClusterVirtualImageSpec) DeepCopy

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

func (*ClusterVirtualImageSpec) DeepCopyInto

func (in *ClusterVirtualImageSpec) DeepCopyInto(out *ClusterVirtualImageSpec)

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

type ClusterVirtualImageStatus

type ClusterVirtualImageStatus struct {
	ImageStatus `json:",inline"`
}

func (*ClusterVirtualImageStatus) DeepCopy

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

func (*ClusterVirtualImageStatus) DeepCopyInto

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

type DataSourceContainerRegistry

type DataSourceContainerRegistry struct {
	Image           string          `json:"image"`
	ImagePullSecret ImagePullSecret `json:"imagePullSecret"`
	CABundle        []byte          `json:"caBundle"`
}

func (*DataSourceContainerRegistry) DeepCopy

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

func (*DataSourceContainerRegistry) DeepCopyInto

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

type DataSourceHTTP

type DataSourceHTTP struct {
	URL      string    `json:"url"`
	CABundle []byte    `json:"caBundle"`
	Checksum *Checksum `json:"checksum,omitempty"`
}

func (*DataSourceHTTP) DeepCopy

func (in *DataSourceHTTP) DeepCopy() *DataSourceHTTP

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

func (*DataSourceHTTP) DeepCopyInto

func (in *DataSourceHTTP) DeepCopyInto(out *DataSourceHTTP)

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

type DataSourceType

type DataSourceType string
const (
	DataSourceTypeHTTP                  DataSourceType = "HTTP"
	DataSourceTypeContainerImage        DataSourceType = "ContainerImage"
	DataSourceTypeObjectRef             DataSourceType = "ObjectRef"
	DataSourceTypeUpload                DataSourceType = "Upload"
	DataSourceTypeVirtualDiskSnapshot   DataSourceType = "VirtualDiskSnapshot"
	DataSourceTypePersistentVolumeClaim DataSourceType = "PersistentVolumeClaim"
)

type DiskPhase

type DiskPhase string
const (
	DiskPending           DiskPhase = "Pending"
	DiskWaitForUserUpload DiskPhase = "WaitForUserUpload"
	DiskProvisioning      DiskPhase = "Provisioning"
	DiskReady             DiskPhase = "Ready"
	DiskFailed            DiskPhase = "Failed"
	DiskPVCLost           DiskPhase = "PVCLost"
	DiskUnknown           DiskPhase = "Unknown"
)

type DiskTarget

type DiskTarget struct {
	PersistentVolumeClaim string `json:"persistentVolumeClaim"`
}

func (*DiskTarget) DeepCopy

func (in *DiskTarget) DeepCopy() *DiskTarget

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

func (*DiskTarget) DeepCopyInto

func (in *DiskTarget) DeepCopyInto(out *DiskTarget)

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

type Disruptions

type Disruptions struct {
	// RestartApprovalMode defines a restart approving mode: Manual or Automatic.
	RestartApprovalMode RestartApprovalMode `json:"restartApprovalMode"`
}

func (*Disruptions) DeepCopy

func (in *Disruptions) DeepCopy() *Disruptions

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

func (*Disruptions) DeepCopyInto

func (in *Disruptions) DeepCopyInto(out *Disruptions)

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

type ImagePhase

type ImagePhase string
const (
	ImagePending           ImagePhase = "Pending"
	ImageWaitForUserUpload ImagePhase = "WaitForUserUpload"
	ImageProvisioning      ImagePhase = "Provisioning"
	ImageReady             ImagePhase = "Ready"
	ImageFailed            ImagePhase = "Failed"
	ImagePVCLost           ImagePhase = "PVCLost"
	ImageUnknown           ImagePhase = "Unknown"
)

type ImagePullSecret

type ImagePullSecret struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*ImagePullSecret) DeepCopy

func (in *ImagePullSecret) DeepCopy() *ImagePullSecret

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

func (*ImagePullSecret) DeepCopyInto

func (in *ImagePullSecret) DeepCopyInto(out *ImagePullSecret)

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

type ImageStatus

type ImageStatus struct {
	DownloadSpeed ImageStatusSpeed `json:"downloadSpeed"`
	Size          ImageStatusSize  `json:"size"`
	Format        string           `json:"format"`
	// FIXME: create ClusterImageStatus without Capacity and PersistentVolumeClaim
	Capacity       string            `json:"capacity,omitempty"`
	CDROM          bool              `json:"cdrom"`
	Target         ImageStatusTarget `json:"target"`
	Phase          ImagePhase        `json:"phase"`
	Progress       string            `json:"progress,omitempty"`
	UploadCommand  string            `json:"uploadCommand,omitempty"`
	FailureReason  string            `json:"failureReason"`
	FailureMessage string            `json:"failureMessage"`
}

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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

type ImageStatusSize

type ImageStatusSize struct {
	Stored        string `json:"stored"`
	StoredBytes   string `json:"storedBytes"`
	Unpacked      string `json:"unpacked"`
	UnpackedBytes string `json:"unpackedBytes"`
}

func (*ImageStatusSize) DeepCopy

func (in *ImageStatusSize) DeepCopy() *ImageStatusSize

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

func (*ImageStatusSize) DeepCopyInto

func (in *ImageStatusSize) DeepCopyInto(out *ImageStatusSize)

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

type ImageStatusSpeed

type ImageStatusSpeed struct {
	Avg          string `json:"avg,omitempty"`
	AvgBytes     string `json:"avgBytes,omitempty"`
	Current      string `json:"current,omitempty"`
	CurrentBytes string `json:"currentBytes,omitempty"`
}

func (*ImageStatusSpeed) DeepCopy

func (in *ImageStatusSpeed) DeepCopy() *ImageStatusSpeed

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

func (*ImageStatusSpeed) DeepCopyInto

func (in *ImageStatusSpeed) DeepCopyInto(out *ImageStatusSpeed)

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

type ImageStatusTarget

type ImageStatusTarget struct {
	RegistryURL string `json:"registryURL"`
	// FIXME: create ClusterImageStatus without Capacity and PersistentVolumeClaim
	PersistentVolumeClaim string `json:"persistentVolumeClaimName,omitempty"`
}

func (*ImageStatusTarget) DeepCopy

func (in *ImageStatusTarget) DeepCopy() *ImageStatusTarget

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

func (*ImageStatusTarget) DeepCopyInto

func (in *ImageStatusTarget) DeepCopyInto(out *ImageStatusTarget)

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

type MachinePhase

type MachinePhase string
const (
	MachineScheduling  MachinePhase = "Scheduling"
	MachinePending     MachinePhase = "Pending"
	MachineRunning     MachinePhase = "Running"
	MachineFailed      MachinePhase = "Failed"
	MachineTerminating MachinePhase = "Terminating"
	MachineStopped     MachinePhase = "Stopped"
	MachineStopping    MachinePhase = "Stopping"
	MachineStarting    MachinePhase = "Starting"
	MachineMigrating   MachinePhase = "Migrating"
	MachinePause       MachinePhase = "Pause"
)

type MemorySpec

type MemorySpec struct {
	Size string `json:"size"`
}

func (*MemorySpec) DeepCopy

func (in *MemorySpec) DeepCopy() *MemorySpec

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

func (*MemorySpec) DeepCopyInto

func (in *MemorySpec) DeepCopyInto(out *MemorySpec)

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

type OsType

type OsType string
const (
	Windows       OsType = "Windows"
	LegacyWindows OsType = "LegacyWindows"
	GenericOs     OsType = "Generic"
)

type Provisioning

type Provisioning struct {
	Type        ProvisioningType `json:"type"`
	UserData    string           `json:"userData,omitempty"`
	UserDataRef *UserDataRef     `json:"userDataRef,omitempty"`
	SysprepRef  *SysprepRef      `json:"sysprepRef,omitempty"`
}

func (*Provisioning) DeepCopy

func (in *Provisioning) DeepCopy() *Provisioning

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

func (*Provisioning) DeepCopyInto

func (in *Provisioning) DeepCopyInto(out *Provisioning)

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

type ProvisioningType

type ProvisioningType string
const (
	ProvisioningTypeUserData    ProvisioningType = "UserData"
	ProvisioningTypeUserDataRef ProvisioningType = "UserDataRef"
	ProvisioningTypeSysprepRef  ProvisioningType = "SysprepRef"
)

type RestartApprovalMode

type RestartApprovalMode string
const (
	Automatic RestartApprovalMode = "Automatic"
	Manual    RestartApprovalMode = "Manual"
)

type RunPolicy

type RunPolicy string
const (
	AlwaysOnPolicy                RunPolicy = "AlwaysOn"
	AlwaysOffPolicy               RunPolicy = "AlwaysOff"
	ManualPolicy                  RunPolicy = "Manual"
	AlwaysOnUnlessStoppedManually RunPolicy = "AlwaysOnUnlessStoppedManually"
)

type StorageType

type StorageType string
const (
	StorageContainerRegistry StorageType = "ContainerRegistry"
	StorageKubernetes        StorageType = "Kubernetes"
)

type SysprepRef

type SysprepRef struct {
	Kind SysprepRefKind `json:"kind"`
	Name string         `json:"name"`
}

func (*SysprepRef) DeepCopy

func (in *SysprepRef) DeepCopy() *SysprepRef

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

func (*SysprepRef) DeepCopyInto

func (in *SysprepRef) DeepCopyInto(out *SysprepRef)

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

type SysprepRefKind

type SysprepRefKind string
const (
	SysprepRefKindSecret SysprepRefKind = "Secret"
)

type UserDataRef

type UserDataRef struct {
	Kind UserDataRefKind `json:"kind"`
	Name string          `json:"name"`
}

func (*UserDataRef) DeepCopy

func (in *UserDataRef) DeepCopy() *UserDataRef

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

func (*UserDataRef) DeepCopyInto

func (in *UserDataRef) DeepCopyInto(out *UserDataRef)

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

type UserDataRefKind

type UserDataRefKind string
const (
	UserDataRefKindSecret UserDataRefKind = "Secret"
)

type VMAffinity

type VMAffinity struct {
	NodeAffinity                     *corev1.NodeAffinity              `json:"nodeAffinity,omitempty"`
	VirtualMachineAndPodAffinity     *VirtualMachineAndPodAffinity     `json:"virtualMachineAndPodAffinity,omitempty"`
	VirtualMachineAndPodAntiAffinity *VirtualMachineAndPodAntiAffinity `json:"virtualMachineAndPodAntiAffinity,omitempty"`
}

func (*VMAffinity) DeepCopy

func (in *VMAffinity) DeepCopy() *VMAffinity

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

func (*VMAffinity) DeepCopyInto

func (in *VMAffinity) DeepCopyInto(out *VMAffinity)

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

type VMBDAObjectRef

type VMBDAObjectRef struct {
	Kind VMBDAObjectRefKind `json:"kind,omitempty"`
	Name string             `json:"name,omitempty"`
}

func (*VMBDAObjectRef) DeepCopy

func (in *VMBDAObjectRef) DeepCopy() *VMBDAObjectRef

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

func (*VMBDAObjectRef) DeepCopyInto

func (in *VMBDAObjectRef) DeepCopyInto(out *VMBDAObjectRef)

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

type VMBDAObjectRefKind

type VMBDAObjectRefKind string
const (
	VMBDAObjectRefKindVirtualDisk VMBDAObjectRefKind = "VirtualDisk"
)

type VMOPOperation

type VMOPOperation string
const (
	VMOPOperationTypeRestart VMOPOperation = "Restart"
	VMOPOperationTypeStart   VMOPOperation = "Start"
	VMOPOperationTypeStop    VMOPOperation = "Stop"
)

type VMOPPhase

type VMOPPhase string
const (
	VMOPPhasePending    VMOPPhase = "Pending"
	VMOPPhaseInProgress VMOPPhase = "InProgress"
	VMOPPhaseCompleted  VMOPPhase = "Completed"
	VMOPPhaseFailed     VMOPPhase = "Failed"
)

type VirtualDisk

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

	Spec   VirtualDiskSpec   `json:"spec"`
	Status VirtualDiskStatus `json:"status,omitempty"`
}

VirtualDisk is a disk ready to be bound by a VM +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualDisk) DeepCopy

func (in *VirtualDisk) DeepCopy() *VirtualDisk

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

func (*VirtualDisk) DeepCopyInto

func (in *VirtualDisk) DeepCopyInto(out *VirtualDisk)

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

func (*VirtualDisk) DeepCopyObject

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

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

type VirtualDiskDataSource

type VirtualDiskDataSource struct {
	Type           DataSourceType               `json:"type,omitempty"`
	HTTP           *DataSourceHTTP              `json:"http,omitempty"`
	ContainerImage *DataSourceContainerRegistry `json:"containerImage,omitempty"`
	ObjectRef      *VirtualDiskObjectRef        `json:"objectRef,omitempty"`
}

func (*VirtualDiskDataSource) DeepCopy

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

func (*VirtualDiskDataSource) DeepCopyInto

func (in *VirtualDiskDataSource) DeepCopyInto(out *VirtualDiskDataSource)

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

type VirtualDiskDownloadSpeed

type VirtualDiskDownloadSpeed struct {
	Avg          string `json:"avg,omitempty"`
	AvgBytes     string `json:"avgBytes,omitempty"`
	Current      string `json:"current,omitempty"`
	CurrentBytes string `json:"currentBytes,omitempty"`
}

func (*VirtualDiskDownloadSpeed) DeepCopy

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

func (*VirtualDiskDownloadSpeed) DeepCopyInto

func (in *VirtualDiskDownloadSpeed) DeepCopyInto(out *VirtualDiskDownloadSpeed)

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

type VirtualDiskList

type VirtualDiskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []VirtualDisk `json:"items"`
}

VirtualDiskList contains a list of VirtualDisk +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualDiskList) DeepCopy

func (in *VirtualDiskList) DeepCopy() *VirtualDiskList

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

func (*VirtualDiskList) DeepCopyInto

func (in *VirtualDiskList) DeepCopyInto(out *VirtualDiskList)

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

func (*VirtualDiskList) DeepCopyObject

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

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

type VirtualDiskObjectRef

type VirtualDiskObjectRef struct {
	Kind VirtualDiskObjectRefKind `json:"kind,omitempty"`
	Name string                   `json:"name,omitempty"`
}

func (*VirtualDiskObjectRef) DeepCopy

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

func (*VirtualDiskObjectRef) DeepCopyInto

func (in *VirtualDiskObjectRef) DeepCopyInto(out *VirtualDiskObjectRef)

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

type VirtualDiskObjectRefKind

type VirtualDiskObjectRefKind string
const (
	VirtualDiskObjectRefKindVirtualImage        VirtualDiskObjectRefKind = "VirtualImage"
	VirtualDiskObjectRefKindClusterVirtualImage VirtualDiskObjectRefKind = "ClusterVirtualImage"
)

type VirtualDiskPersistentVolumeClaim

type VirtualDiskPersistentVolumeClaim struct {
	StorageClass *string            `json:"storageClass,omitempty"`
	Size         *resource.Quantity `json:"size,omitempty"`
}

func (*VirtualDiskPersistentVolumeClaim) DeepCopy

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

func (*VirtualDiskPersistentVolumeClaim) DeepCopyInto

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

type VirtualDiskSpec

type VirtualDiskSpec struct {
	DataSource            *VirtualDiskDataSource           `json:"dataSource,omitempty"`
	PersistentVolumeClaim VirtualDiskPersistentVolumeClaim `json:"persistentVolumeClaim"`
}

func (*VirtualDiskSpec) DeepCopy

func (in *VirtualDiskSpec) DeepCopy() *VirtualDiskSpec

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

func (*VirtualDiskSpec) DeepCopyInto

func (in *VirtualDiskSpec) DeepCopyInto(out *VirtualDiskSpec)

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

type VirtualDiskStatus

type VirtualDiskStatus struct {
	DownloadSpeed  VirtualDiskDownloadSpeed `json:"downloadSpeed"`
	Capacity       string                   `json:"capacity,omitempty"`
	Target         DiskTarget               `json:"target"`
	Progress       string                   `json:"progress,omitempty"`
	UploadCommand  string                   `json:"uploadCommand,omitempty"`
	Phase          DiskPhase                `json:"phase"`
	FailureReason  string                   `json:"failureReason"`
	FailureMessage string                   `json:"failureMessage"`
}

func (*VirtualDiskStatus) DeepCopy

func (in *VirtualDiskStatus) DeepCopy() *VirtualDiskStatus

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

func (*VirtualDiskStatus) DeepCopyInto

func (in *VirtualDiskStatus) DeepCopyInto(out *VirtualDiskStatus)

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

type VirtualImage

type VirtualImage struct {
	metav1.TypeMeta `json:",inline"`

	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec VirtualImageSpec `json:"spec"`

	Status VirtualImageStatus `json:"status,omitempty"`
}

VirtualImage is an image for virtual machines available in the particular namespace. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualImage) DeepCopy

func (in *VirtualImage) DeepCopy() *VirtualImage

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

func (*VirtualImage) DeepCopyInto

func (in *VirtualImage) DeepCopyInto(out *VirtualImage)

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

func (*VirtualImage) DeepCopyObject

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

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

type VirtualImageDataSource

type VirtualImageDataSource struct {
	Type           DataSourceType               `json:"type,omitempty"`
	HTTP           *DataSourceHTTP              `json:"http,omitempty"`
	ContainerImage *DataSourceContainerRegistry `json:"containerImage,omitempty"`
	ObjectRef      *VirtualImageObjectRef       `json:"objectRef,omitempty"`
}

func (*VirtualImageDataSource) DeepCopy

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

func (*VirtualImageDataSource) DeepCopyInto

func (in *VirtualImageDataSource) DeepCopyInto(out *VirtualImageDataSource)

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

type VirtualImageList

type VirtualImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of CDIs
	Items []VirtualImage `json:"items"`
}

VirtualImageList provides the needed parameters to do request a list of VirtualImages from the system. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualImageList) DeepCopy

func (in *VirtualImageList) DeepCopy() *VirtualImageList

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

func (*VirtualImageList) DeepCopyInto

func (in *VirtualImageList) DeepCopyInto(out *VirtualImageList)

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

func (*VirtualImageList) DeepCopyObject

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

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

type VirtualImageObjectRef

type VirtualImageObjectRef struct {
	Kind VirtualImageObjectRefKind `json:"kind,omitempty"`
	Name string                    `json:"name,omitempty"`
}

func (*VirtualImageObjectRef) DeepCopy

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

func (*VirtualImageObjectRef) DeepCopyInto

func (in *VirtualImageObjectRef) DeepCopyInto(out *VirtualImageObjectRef)

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

type VirtualImageObjectRefKind

type VirtualImageObjectRefKind string
const (
	VirtualImageObjectRefKindVirtualImage        VirtualImageObjectRefKind = "VirtualImage"
	VirtualImageObjectRefKindClusterVirtualImage VirtualImageObjectRefKind = "ClusterVirtualImage"
)

type VirtualImagePersistentVolumeClaim

type VirtualImagePersistentVolumeClaim struct {
	StorageClass *string `json:"storageClass,omitempty"`
}

func (*VirtualImagePersistentVolumeClaim) DeepCopy

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

func (*VirtualImagePersistentVolumeClaim) DeepCopyInto

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

type VirtualImageSpec

type VirtualImageSpec struct {
	Storage               StorageType                       `json:"storage"`
	PersistentVolumeClaim VirtualImagePersistentVolumeClaim `json:"persistentVolumeClaim"`
	DataSource            VirtualImageDataSource            `json:"dataSource"`
}

func (*VirtualImageSpec) DeepCopy

func (in *VirtualImageSpec) DeepCopy() *VirtualImageSpec

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

func (*VirtualImageSpec) DeepCopyInto

func (in *VirtualImageSpec) DeepCopyInto(out *VirtualImageSpec)

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

type VirtualImageStatus

type VirtualImageStatus struct {
	ImageStatus `json:",inline"`
}

func (*VirtualImageStatus) DeepCopy

func (in *VirtualImageStatus) DeepCopy() *VirtualImageStatus

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

func (*VirtualImageStatus) DeepCopyInto

func (in *VirtualImageStatus) DeepCopyInto(out *VirtualImageStatus)

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"`
	Status VirtualMachineStatus `json:"status,omitempty"`
}

VirtualMachine specifies configuration of the virtual machine. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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.

type VirtualMachineAndPodAffinity

type VirtualMachineAndPodAffinity struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []VirtualMachineAndPodAffinityTerm         `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedVirtualMachineAndPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

func (*VirtualMachineAndPodAffinity) DeepCopy

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

func (*VirtualMachineAndPodAffinity) DeepCopyInto

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

type VirtualMachineAndPodAffinityTerm

type VirtualMachineAndPodAffinityTerm struct {
	LabelSelector     *metav1.LabelSelector `json:"labelSelector,omitempty"`
	Namespaces        []string              `json:"namespaces,omitempty"`
	TopologyKey       string                `json:"topologyKey"`
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	MatchLabelKeys    []string              `json:"matchLabelKeys,omitempty"`
	MismatchLabelKeys []string              `json:"mismatchLabelKeys,omitempty"`
}

func (*VirtualMachineAndPodAffinityTerm) DeepCopy

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

func (*VirtualMachineAndPodAffinityTerm) DeepCopyInto

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

type VirtualMachineAndPodAntiAffinity

type VirtualMachineAndPodAntiAffinity struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []VirtualMachineAndPodAffinityTerm         `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []WeightedVirtualMachineAndPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

func (*VirtualMachineAndPodAntiAffinity) DeepCopy

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

func (*VirtualMachineAndPodAntiAffinity) DeepCopyInto

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

type VirtualMachineBlockDeviceAttachment

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

	Spec   VirtualMachineBlockDeviceAttachmentSpec   `json:"spec"`
	Status VirtualMachineBlockDeviceAttachmentStatus `json:"status"`
}

VirtualMachineBlockDeviceAttachment is a disk ready to be bound by a VM +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineBlockDeviceAttachment) DeepCopy

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

func (*VirtualMachineBlockDeviceAttachment) DeepCopyInto

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

func (*VirtualMachineBlockDeviceAttachment) DeepCopyObject

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

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

type VirtualMachineBlockDeviceAttachmentList

type VirtualMachineBlockDeviceAttachmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of CDIs
	Items []VirtualMachineBlockDeviceAttachment `json:"items"`
}

VirtualMachineBlockDeviceAttachmentList contains a list of VirtualMachineBlockDeviceAttachment +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineBlockDeviceAttachmentList) DeepCopy

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

func (*VirtualMachineBlockDeviceAttachmentList) DeepCopyInto

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

func (*VirtualMachineBlockDeviceAttachmentList) DeepCopyObject

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

type VirtualMachineBlockDeviceAttachmentObjectRefKind

type VirtualMachineBlockDeviceAttachmentObjectRefKind string
const BlockDeviceAttachmentTypeVirtualDisk VirtualMachineBlockDeviceAttachmentObjectRefKind = "VirtualDisk"

type VirtualMachineBlockDeviceAttachmentSpec

type VirtualMachineBlockDeviceAttachmentSpec struct {
	VirtualMachine string         `json:"virtualMachine"`
	BlockDeviceRef VMBDAObjectRef `json:"blockDeviceRef"`
}

func (*VirtualMachineBlockDeviceAttachmentSpec) DeepCopy

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

func (*VirtualMachineBlockDeviceAttachmentSpec) DeepCopyInto

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

type VirtualMachineBlockDeviceAttachmentStatus

type VirtualMachineBlockDeviceAttachmentStatus struct {
	VirtualMachine string                     `json:"virtualMachine,omitempty"`
	Phase          BlockDeviceAttachmentPhase `json:"phase,omitempty"`
	FailureReason  string                     `json:"failureReason,omitempty"`
	FailureMessage string                     `json:"failureMessage,omitempty"`
}

func (*VirtualMachineBlockDeviceAttachmentStatus) DeepCopy

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

func (*VirtualMachineBlockDeviceAttachmentStatus) DeepCopyInto

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

type VirtualMachineCPUModel

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

	Spec   VirtualMachineCPUModelSpec   `json:"spec"`
	Status VirtualMachineCPUModelStatus `json:"status"`
}

VirtualMachineCPUModel an immutable resource describing the processor that will be used in the VM. +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineCPUModel) DeepCopy

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

func (*VirtualMachineCPUModel) DeepCopyInto

func (in *VirtualMachineCPUModel) DeepCopyInto(out *VirtualMachineCPUModel)

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

func (*VirtualMachineCPUModel) DeepCopyObject

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

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

type VirtualMachineCPUModelList

type VirtualMachineCPUModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items provides a list of CDIs
	Items []VirtualMachineCPUModel `json:"items"`
}

VirtualMachineCPUModelList contains a list of VirtualMachineCPUModel +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineCPUModelList) DeepCopy

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

func (*VirtualMachineCPUModelList) DeepCopyInto

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

func (*VirtualMachineCPUModelList) DeepCopyObject

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

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

type VirtualMachineCPUModelSpec

type VirtualMachineCPUModelSpec struct {
	Type     VirtualMachineCPUModelSpecType `json:"type"`
	Model    string                         `json:"model"`
	Features []string                       `json:"features"`
}

func (*VirtualMachineCPUModelSpec) DeepCopy

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

func (*VirtualMachineCPUModelSpec) DeepCopyInto

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

type VirtualMachineCPUModelSpecType

type VirtualMachineCPUModelSpecType string
const (
	Host     VirtualMachineCPUModelSpecType = "Host"
	Model    VirtualMachineCPUModelSpecType = "Model"
	Features VirtualMachineCPUModelSpecType = "Features"
)

type VirtualMachineCPUModelStatus

type VirtualMachineCPUModelStatus struct {
	Features *VirtualMachineCPUModelStatusFeatures `json:"features,omitempty"`
	Nodes    *[]string                             `json:"nodes,omitempty"`
	Phase    VirtualMachineCPUModelStatusPhase     `json:"phase"`
}

func (*VirtualMachineCPUModelStatus) DeepCopy

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

func (*VirtualMachineCPUModelStatus) DeepCopyInto

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

type VirtualMachineCPUModelStatusFeatures

type VirtualMachineCPUModelStatusFeatures struct {
	Enabled          []string `json:"enabled"`
	NotEnabledCommon []string `json:"notEnabledCommon"`
}

func (*VirtualMachineCPUModelStatusFeatures) DeepCopy

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

func (*VirtualMachineCPUModelStatusFeatures) DeepCopyInto

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

type VirtualMachineCPUModelStatusPhase

type VirtualMachineCPUModelStatusPhase string
const (
	VMCPUPhasePending     VirtualMachineCPUModelStatusPhase = "Pending"
	VMCPUPhaseInProgress  VirtualMachineCPUModelStatusPhase = "InProgress"
	VMCPUPhaseReady       VirtualMachineCPUModelStatusPhase = "Ready"
	VMCPUPhaseFailed      VirtualMachineCPUModelStatusPhase = "Failed"
	VMCPUPhaseTerminating VirtualMachineCPUModelStatusPhase = "Terminating"
)

type VirtualMachineIPAddressClaim

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

	Spec   VirtualMachineIPAddressClaimSpec   `json:"spec,omitempty"`
	Status VirtualMachineIPAddressClaimStatus `json:"status,omitempty"`
}

VirtualMachineIPAddressClaim defines IP address claim for virtual machine. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineIPAddressClaim) DeepCopy

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

func (*VirtualMachineIPAddressClaim) DeepCopyInto

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

func (*VirtualMachineIPAddressClaim) DeepCopyObject

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

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

type VirtualMachineIPAddressClaimList

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

VirtualMachineIPAddressClaimList contains a list of VirtualMachineIPAddressClaim +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineIPAddressClaimList) DeepCopy

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

func (*VirtualMachineIPAddressClaimList) DeepCopyInto

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

func (*VirtualMachineIPAddressClaimList) DeepCopyObject

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

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

type VirtualMachineIPAddressClaimPhase

type VirtualMachineIPAddressClaimPhase string
const (
	VirtualMachineIPAddressClaimPhasePending  VirtualMachineIPAddressClaimPhase = "Pending"
	VirtualMachineIPAddressClaimPhaseBound    VirtualMachineIPAddressClaimPhase = "Bound"
	VirtualMachineIPAddressClaimPhaseLost     VirtualMachineIPAddressClaimPhase = "Lost"
	VirtualMachineIPAddressClaimPhaseConflict VirtualMachineIPAddressClaimPhase = "Conflict"
)

type VirtualMachineIPAddressClaimSpec

type VirtualMachineIPAddressClaimSpec struct {
	// The issued `VirtualMachineIPAddressLease`, managed automatically.
	VirtualMachineIPAddressLease string `json:"virtualMachineIPAddressLease"`
	// The requested IP address. If omitted the next available IP address will be assigned.
	Address string `json:"address"`
	// Determines the behavior of VirtualMachineIPAddressLease upon VirtualMachineIPAddressClaim deletion.
	ReclaimPolicy VirtualMachineIPAddressReclaimPolicy `json:"reclaimPolicy,omitempty"`
}

VirtualMachineIPAddressClaimSpec is the desired state of `VirtualMachineIPAddressClaim`.

func (*VirtualMachineIPAddressClaimSpec) DeepCopy

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

func (*VirtualMachineIPAddressClaimSpec) DeepCopyInto

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

type VirtualMachineIPAddressClaimStatus

type VirtualMachineIPAddressClaimStatus struct {
	// Represents the virtual machine that currently uses this IP address.
	VirtualMachine string `json:"virtualMachine,omitempty"`
	// Assigned IP address.
	Address string `json:"address,omitempty"`
	// The issued `VirtualMachineIPAddressLease`, managed automatically.
	Lease string `json:"virtualMachineIPAddressLease,omitempty"`
	// Represents the current state of IP address claim.
	Phase VirtualMachineIPAddressClaimPhase `json:"phase,omitempty"`
	// Detailed description of the error.
	ConflictMessage string `json:"conflictMessage,omitempty"`
}

VirtualMachineIPAddressClaimStatus is the observed state of `VirtualMachineIPAddressClaim`.

func (*VirtualMachineIPAddressClaimStatus) DeepCopy

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

func (*VirtualMachineIPAddressClaimStatus) DeepCopyInto

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

type VirtualMachineIPAddressLease

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

	Spec   VirtualMachineIPAddressLeaseSpec   `json:"spec,omitempty"`
	Status VirtualMachineIPAddressLeaseStatus `json:"status,omitempty"`
}

VirtualMachineIPAddressLease defines fact of issued lease for `VirtualMachineIPAddressClaim`. +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineIPAddressLease) DeepCopy

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

func (*VirtualMachineIPAddressLease) DeepCopyInto

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

func (*VirtualMachineIPAddressLease) DeepCopyObject

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

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

type VirtualMachineIPAddressLeaseClaimRef

type VirtualMachineIPAddressLeaseClaimRef struct {
	// The Namespace of the referenced `VirtualMachineIPAddressClaim`.
	Namespace string `json:"namespace"`
	// The name of the referenced `VirtualMachineIPAddressClaim`.
	Name string `json:"name"`
}

func (*VirtualMachineIPAddressLeaseClaimRef) DeepCopy

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

func (*VirtualMachineIPAddressLeaseClaimRef) DeepCopyInto

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

type VirtualMachineIPAddressLeaseList

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

VirtualMachineIPAddressLeaseList contains a list of VirtualMachineIPAddressLease +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineIPAddressLeaseList) DeepCopy

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

func (*VirtualMachineIPAddressLeaseList) DeepCopyInto

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

func (*VirtualMachineIPAddressLeaseList) DeepCopyObject

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

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

type VirtualMachineIPAddressLeasePhase

type VirtualMachineIPAddressLeasePhase string
const (
	VirtualMachineIPAddressLeasePhaseBound    VirtualMachineIPAddressLeasePhase = "Bound"
	VirtualMachineIPAddressLeasePhaseReleased VirtualMachineIPAddressLeasePhase = "Released"
)

type VirtualMachineIPAddressLeaseSpec

type VirtualMachineIPAddressLeaseSpec struct {
	// The link to existing `VirtualMachineIPAddressClaim`.
	ClaimRef *VirtualMachineIPAddressLeaseClaimRef `json:"claimRef,omitempty"`
	// Determines the behavior of VirtualMachineIPAddressLease upon VirtualMachineIPAddressClaim deletion.
	ReclaimPolicy VirtualMachineIPAddressReclaimPolicy `json:"reclaimPolicy,omitempty"`
}

VirtualMachineIPAddressLeaseSpec is the desired state of `VirtualMachineIPAddressLease`.

func (*VirtualMachineIPAddressLeaseSpec) DeepCopy

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

func (*VirtualMachineIPAddressLeaseSpec) DeepCopyInto

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

type VirtualMachineIPAddressLeaseStatus

type VirtualMachineIPAddressLeaseStatus struct {
	// Represents the current state of issued IP address lease.
	Phase VirtualMachineIPAddressLeasePhase `json:"phase,omitempty"`
}

VirtualMachineIPAddressLeaseStatus is the observed state of `VirtualMachineIPAddressLease`.

func (*VirtualMachineIPAddressLeaseStatus) DeepCopy

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

func (*VirtualMachineIPAddressLeaseStatus) DeepCopyInto

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

type VirtualMachineIPAddressReclaimPolicy

type VirtualMachineIPAddressReclaimPolicy string
const (
	VirtualMachineIPAddressReclaimPolicyDelete VirtualMachineIPAddressReclaimPolicy = "Delete"
	VirtualMachineIPAddressReclaimPolicyRetain VirtualMachineIPAddressReclaimPolicy = "Retain"
)

type VirtualMachineList

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

VirtualMachineList contains a list of VirtualMachine +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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 VirtualMachineOperation

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

	Spec   VirtualMachineOperationSpec   `json:"spec"`
	Status VirtualMachineOperationStatus `json:"status,omitempty"`
}

VirtualMachineOperation is operation performed on the VirtualMachine. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineOperation) DeepCopy

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

func (*VirtualMachineOperation) DeepCopyInto

func (in *VirtualMachineOperation) DeepCopyInto(out *VirtualMachineOperation)

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

func (*VirtualMachineOperation) DeepCopyObject

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

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

type VirtualMachineOperationList

type VirtualMachineOperationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []VirtualMachineOperation `json:"items"`
}

VirtualMachineOperationList contains a list of VirtualMachineOperation +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineOperationList) DeepCopy

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

func (*VirtualMachineOperationList) DeepCopyInto

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

func (*VirtualMachineOperationList) DeepCopyObject

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

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

type VirtualMachineOperationSpec

type VirtualMachineOperationSpec struct {
	Type           VMOPOperation `json:"type"`
	VirtualMachine string        `json:"virtualMachine"`
	Force          bool          `json:"force,omitempty"`
}

func (*VirtualMachineOperationSpec) DeepCopy

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

func (*VirtualMachineOperationSpec) DeepCopyInto

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

type VirtualMachineOperationStatus

type VirtualMachineOperationStatus struct {
	Phase          VMOPPhase `json:"phase"`
	FailureReason  string    `json:"failureReason,omitempty"`
	FailureMessage string    `json:"failureMessage,omitempty"`
}

func (*VirtualMachineOperationStatus) DeepCopy

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

func (*VirtualMachineOperationStatus) DeepCopyInto

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

type VirtualMachineSpec

type VirtualMachineSpec struct {
	// RunPolicy is a power-on behaviour of the VM.
	RunPolicy RunPolicy `json:"runPolicy"`

	// VirtualMachineIPAddressClaim specifies a name for the associated
	// `VirtualMachineIPAddressClaim` resource. Defaults to `{vm name}`.
	VirtualMachineIPAddressClaim string `json:"virtualMachineIPAddressClaim,omitempty"`

	// TopologySpreadConstraints specifies how to spread matching pods among the given topology.
	TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`

	// Affinity is a group of affinity scheduling rules.
	Affinity *VMAffinity `json:"affinity,omitempty"`

	// NodeSelector must match a node's labels for the VM to be scheduled on that node.
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// PriorityClassName
	PriorityClassName string `json:"priorityClassName"`

	// Tolerations define rules to tolerate node taints.
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	// Disruptions define an approval mode to apply disruptive (dangerous) changes.
	Disruptions *Disruptions `json:"disruptions"`

	// TerminationGracePeriodSeconds
	TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`

	// EnableParavirtualization flag disables virtio for virtual machine.
	// Default value is true, so omitempty is not specified.
	EnableParavirtualization bool `json:"enableParavirtualization"`

	OsType          OsType               `json:"osType,omitempty"`
	Bootloader      BootloaderType       `json:"bootloader,omitempty"`
	CPU             CPUSpec              `json:"cpu"`
	Memory          MemorySpec           `json:"memory"`
	BlockDeviceRefs []BlockDeviceSpecRef `json:"blockDeviceRefs"`
	Provisioning    *Provisioning        `json:"provisioning"`
}

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 {
	Phase                        MachinePhase                             `json:"phase"`
	Node                         string                                   `json:"node"`
	VirtualMachineIPAddressClaim string                                   `json:"virtualMachineIPAddressClaim"`
	IPAddress                    string                                   `json:"ipAddress"`
	BlockDeviceRefs              []BlockDeviceStatusRef                   `json:"blockDeviceRefs"`
	GuestOSInfo                  virtv1.VirtualMachineInstanceGuestOSInfo `json:"guestOSInfo"`
	Message                      string                                   `json:"message"`

	// RestartAwaitingChanges holds operations to be manually approved
	// before applying to the virtual machine spec.
	//
	// Change operation has these fields:
	//
	//	operation enum(add|remove|replace)
	//	path string
	//	currentValue any (bool|int|string|struct|array of structs)
	//	desiredValue any (bool|int|string|struct|array of structs)
	//
	// Such 'any' type can't be described using the OpenAPI v3 schema.
	// The workaround is to declare a whole change operation structure
	// using 'type: object' and 'x-kubernetes-preserve-fields: true'.
	RestartAwaitingChanges []apiextensionsv1.JSON `json:"restartAwaitingChanges,omitempty"`
}

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 WeightedVirtualMachineAndPodAffinityTerm

type WeightedVirtualMachineAndPodAffinityTerm struct {
	// weight associated with matching the corresponding vmAndPodAffinityTerm,
	// in the range 1-100.
	Weight int32 `json:"weight"`
	// Required. A vm affinity term, associated with the corresponding weight.
	VirtualMachineAndPodAffinityTerm VirtualMachineAndPodAffinityTerm `json:"virtualMachineAndPodAffinityTerm"`
}

func (*WeightedVirtualMachineAndPodAffinityTerm) DeepCopy

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

func (*WeightedVirtualMachineAndPodAffinityTerm) DeepCopyInto

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

Jump to

Keyboard shortcuts

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