Documentation ¶
Overview ¶
Package v1alpha2 is the v1alpha2 version of the API. +groupName=virtualization.deckhouse.io
Index ¶
- Constants
- Variables
- func GroupVersionResource(resource string) schema.GroupVersionResource
- func Kind(kind string) schema.GroupKind
- func NewAffinityFromVMAffinity(vmAffinity *VMAffinity) *corev1.Affinity
- func Resource(resource string) schema.GroupResource
- type BlockDeviceAttachmentPhase
- type BlockDeviceKind
- type BlockDeviceSpecRef
- type BlockDeviceStatusRef
- type BootloaderType
- type CPUSpec
- type Checksum
- type ClusterVirtualImage
- type ClusterVirtualImageDataSource
- type ClusterVirtualImageList
- type ClusterVirtualImageObjectRef
- type ClusterVirtualImageObjectRefKind
- type ClusterVirtualImageSpec
- type ClusterVirtualImageStatus
- type DataSourceContainerRegistry
- type DataSourceHTTP
- type DataSourceType
- type DiskPhase
- type DiskTarget
- type Disruptions
- type ImagePhase
- type ImagePullSecret
- type ImageStatus
- type ImageStatusSize
- type ImageStatusSpeed
- type ImageStatusTarget
- type MachinePhase
- type MemorySpec
- type OsType
- type Provisioning
- type ProvisioningType
- type RestartApprovalMode
- type RunPolicy
- type StorageType
- type SysprepRef
- type SysprepRefKind
- type UserDataRef
- type UserDataRefKind
- type VMAffinity
- type VMBDAObjectRef
- type VMBDAObjectRefKind
- type VMOPOperation
- type VMOPPhase
- type VirtualDisk
- type VirtualDiskDataSource
- type VirtualDiskDownloadSpeed
- type VirtualDiskList
- type VirtualDiskObjectRef
- type VirtualDiskObjectRefKind
- type VirtualDiskPersistentVolumeClaim
- type VirtualDiskSpec
- type VirtualDiskStatus
- type VirtualImage
- type VirtualImageDataSource
- type VirtualImageList
- type VirtualImageObjectRef
- type VirtualImageObjectRefKind
- type VirtualImagePersistentVolumeClaim
- type VirtualImageSpec
- type VirtualImageStatus
- type VirtualMachine
- type VirtualMachineAndPodAffinity
- type VirtualMachineAndPodAffinityTerm
- type VirtualMachineAndPodAntiAffinity
- type VirtualMachineBlockDeviceAttachment
- type VirtualMachineBlockDeviceAttachmentList
- type VirtualMachineBlockDeviceAttachmentObjectRefKind
- type VirtualMachineBlockDeviceAttachmentSpec
- type VirtualMachineBlockDeviceAttachmentStatus
- type VirtualMachineCPUModel
- type VirtualMachineCPUModelList
- type VirtualMachineCPUModelSpec
- type VirtualMachineCPUModelSpecType
- type VirtualMachineCPUModelStatus
- type VirtualMachineCPUModelStatusFeatures
- type VirtualMachineCPUModelStatusPhase
- type VirtualMachineIPAddressClaim
- type VirtualMachineIPAddressClaimList
- type VirtualMachineIPAddressClaimPhase
- type VirtualMachineIPAddressClaimSpec
- type VirtualMachineIPAddressClaimStatus
- type VirtualMachineIPAddressLease
- type VirtualMachineIPAddressLeaseClaimRef
- type VirtualMachineIPAddressLeaseList
- type VirtualMachineIPAddressLeasePhase
- type VirtualMachineIPAddressLeaseSpec
- type VirtualMachineIPAddressLeaseStatus
- type VirtualMachineIPAddressReclaimPolicy
- type VirtualMachineList
- type VirtualMachineOperation
- type VirtualMachineOperationList
- type VirtualMachineOperationSpec
- type VirtualMachineOperationStatus
- type VirtualMachineSpec
- type VirtualMachineStatus
- type WeightedVirtualMachineAndPodAffinityTerm
Constants ¶
const ( ClusterVirtualImageKind = "ClusterVirtualImage" ClusterVirtualImageResource = "clustervirtualimages" )
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" )
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" )
const ( VirtualDiskKind = "VirtualDisk" VirtualDiskResource = "virtualdisks" )
const ( VirtualImageKind = "VirtualImage" VirtualImageResource = "virtualimages" )
const ( VirtualMachineKind = "VirtualMachine" VirtualMachineResource = "virtualmachines" )
const ( VMBDAKind = "VirtualMachineBlockDeviceAttachment" VMBDAResource = "virtualmachineblockdeviceattachments" )
const ( VMCPUKind = "VirtualMachineCPUModel" VMCPUResource = "virtualmachinecpumodels" )
const ( VMOPKind = "VirtualMachineOperation" VMOPResource = "virtualmachineoperations" )
const Version = "v1alpha2"
Variables ¶
var ( // SchemeBuilder tbd SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme tbd AddToScheme = SchemeBuilder.AddToScheme )
var ClusterVirtualImageGVK = schema.GroupVersionKind{Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ClusterVirtualImageKind}
ClusterVirtualImageGVK is group version kind for ClusterVirtualImage
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
var VirtualDiskGVK = schema.GroupVersionKind{Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: VirtualDiskKind}
VirtualDiskGVK is group version kind for VirtualDisk
var VirtualImageGVK = schema.GroupVersionKind{Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: VirtualImageKind}
VirtualImageGVK is group version kind for VirtualImage
Functions ¶
func GroupVersionResource ¶
func GroupVersionResource(resource string) schema.GroupVersionResource
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 ¶
func (in *BlockDeviceStatusRef) DeepCopy() *BlockDeviceStatusRef
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:"virtualMachineCPUModelName"` Cores int `json:"cores"` CoreFraction string `json:"coreFraction"` }
func (*CPUSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUSpec.
func (*CPUSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Checksum ¶
func (*Checksum) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.
func (*Checksum) DeepCopyInto ¶
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 ¶
func (in *ClusterVirtualImageDataSource) DeepCopy() *ClusterVirtualImageDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualImageDataSource.
func (*ClusterVirtualImageDataSource) DeepCopyInto ¶
func (in *ClusterVirtualImageDataSource) DeepCopyInto(out *ClusterVirtualImageDataSource)
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 ¶
func (in *ClusterVirtualImageList) DeepCopy() *ClusterVirtualImageList
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 ¶
func (in *ClusterVirtualImageObjectRef) DeepCopy() *ClusterVirtualImageObjectRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualImageObjectRef.
func (*ClusterVirtualImageObjectRef) DeepCopyInto ¶
func (in *ClusterVirtualImageObjectRef) DeepCopyInto(out *ClusterVirtualImageObjectRef)
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 ¶
func (in *ClusterVirtualImageSpec) DeepCopy() *ClusterVirtualImageSpec
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 ¶
func (in *ClusterVirtualImageStatus) DeepCopy() *ClusterVirtualImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualImageStatus.
func (*ClusterVirtualImageStatus) DeepCopyInto ¶
func (in *ClusterVirtualImageStatus) DeepCopyInto(out *ClusterVirtualImageStatus)
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 ¶
func (in *DataSourceContainerRegistry) DeepCopy() *DataSourceContainerRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceContainerRegistry.
func (*DataSourceContainerRegistry) DeepCopyInto ¶
func (in *DataSourceContainerRegistry) DeepCopyInto(out *DataSourceContainerRegistry)
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 DiskTarget ¶
type DiskTarget struct {
PersistentVolumeClaim string `json:"persistentVolumeClaimName"`
}
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 ¶
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 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 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 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 ¶
func (in *VirtualDiskDataSource) DeepCopy() *VirtualDiskDataSource
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 ¶
func (in *VirtualDiskDownloadSpeed) DeepCopy() *VirtualDiskDownloadSpeed
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 ¶
func (in *VirtualDiskObjectRef) DeepCopy() *VirtualDiskObjectRef
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:"storageClassName,omitempty"` Size *resource.Quantity `json:"size,omitempty"` }
func (*VirtualDiskPersistentVolumeClaim) DeepCopy ¶
func (in *VirtualDiskPersistentVolumeClaim) DeepCopy() *VirtualDiskPersistentVolumeClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualDiskPersistentVolumeClaim.
func (*VirtualDiskPersistentVolumeClaim) DeepCopyInto ¶
func (in *VirtualDiskPersistentVolumeClaim) DeepCopyInto(out *VirtualDiskPersistentVolumeClaim)
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 ¶
func (in *VirtualImageDataSource) DeepCopy() *VirtualImageDataSource
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 ¶
func (in *VirtualImageObjectRef) DeepCopy() *VirtualImageObjectRef
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 ¶
func (in *VirtualImagePersistentVolumeClaim) DeepCopy() *VirtualImagePersistentVolumeClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualImagePersistentVolumeClaim.
func (*VirtualImagePersistentVolumeClaim) DeepCopyInto ¶
func (in *VirtualImagePersistentVolumeClaim) DeepCopyInto(out *VirtualImagePersistentVolumeClaim)
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 ¶
func (in *VirtualMachineAndPodAffinity) DeepCopy() *VirtualMachineAndPodAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineAndPodAffinity.
func (*VirtualMachineAndPodAffinity) DeepCopyInto ¶
func (in *VirtualMachineAndPodAffinity) DeepCopyInto(out *VirtualMachineAndPodAffinity)
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 ¶
func (in *VirtualMachineAndPodAffinityTerm) DeepCopy() *VirtualMachineAndPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineAndPodAffinityTerm.
func (*VirtualMachineAndPodAffinityTerm) DeepCopyInto ¶
func (in *VirtualMachineAndPodAffinityTerm) DeepCopyInto(out *VirtualMachineAndPodAffinityTerm)
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 ¶
func (in *VirtualMachineAndPodAntiAffinity) DeepCopy() *VirtualMachineAndPodAntiAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineAndPodAntiAffinity.
func (*VirtualMachineAndPodAntiAffinity) DeepCopyInto ¶
func (in *VirtualMachineAndPodAntiAffinity) DeepCopyInto(out *VirtualMachineAndPodAntiAffinity)
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 ¶
func (in *VirtualMachineBlockDeviceAttachment) DeepCopy() *VirtualMachineBlockDeviceAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBlockDeviceAttachment.
func (*VirtualMachineBlockDeviceAttachment) DeepCopyInto ¶
func (in *VirtualMachineBlockDeviceAttachment) DeepCopyInto(out *VirtualMachineBlockDeviceAttachment)
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 ¶
func (in *VirtualMachineBlockDeviceAttachmentList) DeepCopy() *VirtualMachineBlockDeviceAttachmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBlockDeviceAttachmentList.
func (*VirtualMachineBlockDeviceAttachmentList) DeepCopyInto ¶
func (in *VirtualMachineBlockDeviceAttachmentList) DeepCopyInto(out *VirtualMachineBlockDeviceAttachmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineBlockDeviceAttachmentList) DeepCopyObject ¶
func (in *VirtualMachineBlockDeviceAttachmentList) DeepCopyObject() runtime.Object
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:"virtualMachineName"` BlockDeviceRef VMBDAObjectRef `json:"blockDeviceRef"` }
func (*VirtualMachineBlockDeviceAttachmentSpec) DeepCopy ¶
func (in *VirtualMachineBlockDeviceAttachmentSpec) DeepCopy() *VirtualMachineBlockDeviceAttachmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBlockDeviceAttachmentSpec.
func (*VirtualMachineBlockDeviceAttachmentSpec) DeepCopyInto ¶
func (in *VirtualMachineBlockDeviceAttachmentSpec) DeepCopyInto(out *VirtualMachineBlockDeviceAttachmentSpec)
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 ¶
func (in *VirtualMachineBlockDeviceAttachmentStatus) DeepCopy() *VirtualMachineBlockDeviceAttachmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBlockDeviceAttachmentStatus.
func (*VirtualMachineBlockDeviceAttachmentStatus) DeepCopyInto ¶
func (in *VirtualMachineBlockDeviceAttachmentStatus) DeepCopyInto(out *VirtualMachineBlockDeviceAttachmentStatus)
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 ¶
func (in *VirtualMachineCPUModel) DeepCopy() *VirtualMachineCPUModel
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 ¶
func (in *VirtualMachineCPUModelList) DeepCopy() *VirtualMachineCPUModelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineCPUModelList.
func (*VirtualMachineCPUModelList) DeepCopyInto ¶
func (in *VirtualMachineCPUModelList) DeepCopyInto(out *VirtualMachineCPUModelList)
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 ¶
func (in *VirtualMachineCPUModelSpec) DeepCopy() *VirtualMachineCPUModelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineCPUModelSpec.
func (*VirtualMachineCPUModelSpec) DeepCopyInto ¶
func (in *VirtualMachineCPUModelSpec) DeepCopyInto(out *VirtualMachineCPUModelSpec)
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 ¶
func (in *VirtualMachineCPUModelStatus) DeepCopy() *VirtualMachineCPUModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineCPUModelStatus.
func (*VirtualMachineCPUModelStatus) DeepCopyInto ¶
func (in *VirtualMachineCPUModelStatus) DeepCopyInto(out *VirtualMachineCPUModelStatus)
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 ¶
func (in *VirtualMachineCPUModelStatusFeatures) DeepCopy() *VirtualMachineCPUModelStatusFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineCPUModelStatusFeatures.
func (*VirtualMachineCPUModelStatusFeatures) DeepCopyInto ¶
func (in *VirtualMachineCPUModelStatusFeatures) DeepCopyInto(out *VirtualMachineCPUModelStatusFeatures)
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 ¶
func (in *VirtualMachineIPAddressClaim) DeepCopy() *VirtualMachineIPAddressClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressClaim.
func (*VirtualMachineIPAddressClaim) DeepCopyInto ¶
func (in *VirtualMachineIPAddressClaim) DeepCopyInto(out *VirtualMachineIPAddressClaim)
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 ¶
func (in *VirtualMachineIPAddressClaimList) DeepCopy() *VirtualMachineIPAddressClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressClaimList.
func (*VirtualMachineIPAddressClaimList) DeepCopyInto ¶
func (in *VirtualMachineIPAddressClaimList) DeepCopyInto(out *VirtualMachineIPAddressClaimList)
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:"virtualMachineIPAddressLeaseName"` // 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 ¶
func (in *VirtualMachineIPAddressClaimSpec) DeepCopy() *VirtualMachineIPAddressClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressClaimSpec.
func (*VirtualMachineIPAddressClaimSpec) DeepCopyInto ¶
func (in *VirtualMachineIPAddressClaimSpec) DeepCopyInto(out *VirtualMachineIPAddressClaimSpec)
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:"virtualMachineName,omitempty"` // Assigned IP address. Address string `json:"address,omitempty"` // The issued `VirtualMachineIPAddressLease`, managed automatically. Lease string `json:"virtualMachineIPAddressLeaseName,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 ¶
func (in *VirtualMachineIPAddressClaimStatus) DeepCopy() *VirtualMachineIPAddressClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressClaimStatus.
func (*VirtualMachineIPAddressClaimStatus) DeepCopyInto ¶
func (in *VirtualMachineIPAddressClaimStatus) DeepCopyInto(out *VirtualMachineIPAddressClaimStatus)
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 ¶
func (in *VirtualMachineIPAddressLease) DeepCopy() *VirtualMachineIPAddressLease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressLease.
func (*VirtualMachineIPAddressLease) DeepCopyInto ¶
func (in *VirtualMachineIPAddressLease) DeepCopyInto(out *VirtualMachineIPAddressLease)
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 ¶
func (in *VirtualMachineIPAddressLeaseClaimRef) DeepCopy() *VirtualMachineIPAddressLeaseClaimRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressLeaseClaimRef.
func (*VirtualMachineIPAddressLeaseClaimRef) DeepCopyInto ¶
func (in *VirtualMachineIPAddressLeaseClaimRef) DeepCopyInto(out *VirtualMachineIPAddressLeaseClaimRef)
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 ¶
func (in *VirtualMachineIPAddressLeaseList) DeepCopy() *VirtualMachineIPAddressLeaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressLeaseList.
func (*VirtualMachineIPAddressLeaseList) DeepCopyInto ¶
func (in *VirtualMachineIPAddressLeaseList) DeepCopyInto(out *VirtualMachineIPAddressLeaseList)
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 ¶
func (in *VirtualMachineIPAddressLeaseSpec) DeepCopy() *VirtualMachineIPAddressLeaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressLeaseSpec.
func (*VirtualMachineIPAddressLeaseSpec) DeepCopyInto ¶
func (in *VirtualMachineIPAddressLeaseSpec) DeepCopyInto(out *VirtualMachineIPAddressLeaseSpec)
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 ¶
func (in *VirtualMachineIPAddressLeaseStatus) DeepCopy() *VirtualMachineIPAddressLeaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineIPAddressLeaseStatus.
func (*VirtualMachineIPAddressLeaseStatus) DeepCopyInto ¶
func (in *VirtualMachineIPAddressLeaseStatus) DeepCopyInto(out *VirtualMachineIPAddressLeaseStatus)
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 ¶
func (in *VirtualMachineOperation) DeepCopy() *VirtualMachineOperation
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 ¶
func (in *VirtualMachineOperationList) DeepCopy() *VirtualMachineOperationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineOperationList.
func (*VirtualMachineOperationList) DeepCopyInto ¶
func (in *VirtualMachineOperationList) DeepCopyInto(out *VirtualMachineOperationList)
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:"virtualMachineName"` Force bool `json:"force,omitempty"` }
func (*VirtualMachineOperationSpec) DeepCopy ¶
func (in *VirtualMachineOperationSpec) DeepCopy() *VirtualMachineOperationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineOperationSpec.
func (*VirtualMachineOperationSpec) DeepCopyInto ¶
func (in *VirtualMachineOperationSpec) DeepCopyInto(out *VirtualMachineOperationSpec)
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 ¶
func (in *VirtualMachineOperationStatus) DeepCopy() *VirtualMachineOperationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineOperationStatus.
func (*VirtualMachineOperationStatus) DeepCopyInto ¶
func (in *VirtualMachineOperationStatus) DeepCopyInto(out *VirtualMachineOperationStatus)
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:"virtualMachineIPAddressClaimName,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:"nodeName"` VirtualMachineIPAddressClaim string `json:"virtualMachineIPAddressClaimName"` 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 ¶
func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus
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 ¶
func (in *WeightedVirtualMachineAndPodAffinityTerm) DeepCopy() *WeightedVirtualMachineAndPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedVirtualMachineAndPodAffinityTerm.
func (*WeightedVirtualMachineAndPodAffinityTerm) DeepCopyInto ¶
func (in *WeightedVirtualMachineAndPodAffinityTerm) DeepCopyInto(out *WeightedVirtualMachineAndPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- block_device.go
- cluster_virtual_image.go
- data_source.go
- doc.go
- events.go
- finalizers.go
- image_status.go
- register.go
- virtual_disk.go
- virtual_image.go
- virtual_machine.go
- virtual_machine_block_disk_attachment.go
- virtual_machine_cpu_model.go
- virtual_machine_ip_address_claim.go
- virtual_machine_ip_address_lease.go
- virtual_machine_operation.go
- vmaffinity.go
- zz_generated.deepcopy.go