Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=deckhouse.io
Index ¶
- Variables
- type BootDisk
- type ClusterVirtualMachineImage
- type ClusterVirtualMachineImageList
- type ClusterVirtualMachineImageSpec
- type ClusterVirtualMachineImageStatus
- type DiskSource
- type ReducedDataVolumeSource
- type ReducedDataVolumeSourceRegistry
- type TypedObjectReference
- type VirtualMachine
- type VirtualMachineDisk
- type VirtualMachineDiskList
- type VirtualMachineDiskSpec
- type VirtualMachineDiskStatus
- type VirtualMachineIPAddressClaim
- type VirtualMachineIPAddressClaimList
- type VirtualMachineIPAddressClaimSpec
- type VirtualMachineIPAddressClaimStatus
- type VirtualMachineIPAddressLease
- type VirtualMachineIPAddressLeaseClaimRef
- type VirtualMachineIPAddressLeaseList
- type VirtualMachineIPAddressLeaseSpec
- type VirtualMachineIPAddressLeaseStatus
- type VirtualMachineList
- type VirtualMachineSpec
- type VirtualMachineStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "deckhouse.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BootDisk ¶
type BootDisk struct {
// Name for virtual machine boot disk.
// If not specified defaults to `{vm name}-boot`.
Name string `json:"name,omitempty"`
// The source of a boot disk.
// If specified, the new disk will be created.
Source *v1.TypedLocalObjectReference `json:"source,omitempty"`
// The storage class for newly created disk.
StorageClassName string `json:"storageClassName,omitempty"`
// The size for newly created disk.
Size resource.Quantity `json:"size"`
// Enables automatic removal of associated boot disk after removing the virtual machine.
AutoDelete bool `json:"autoDelete,omitempty"`
// The type of disk device to emulate.
//
// Supported values: `virtio`, `sata`, `scsi`, `usb`.
Bus virtv1.DiskBus `json:"bus,omitempty"`
}
The boot disk for virtual machine.
func (*BootDisk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDisk.
func (*BootDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVirtualMachineImage ¶
type ClusterVirtualMachineImage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterVirtualMachineImageSpec `json:"spec,omitempty"`
Status ClusterVirtualMachineImageStatus `json:"status,omitempty"`
}
Defines remotely available images on cluster level.
func (*ClusterVirtualMachineImage) DeepCopy ¶
func (in *ClusterVirtualMachineImage) DeepCopy() *ClusterVirtualMachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImage.
func (*ClusterVirtualMachineImage) DeepCopyInto ¶
func (in *ClusterVirtualMachineImage) DeepCopyInto(out *ClusterVirtualMachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVirtualMachineImage) DeepCopyObject ¶
func (in *ClusterVirtualMachineImage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVirtualMachineImageList ¶
type ClusterVirtualMachineImageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterVirtualMachineImage `json:"items"`
}
Contains a list of `ClusterVirtualMachineImages`.
func (*ClusterVirtualMachineImageList) DeepCopy ¶
func (in *ClusterVirtualMachineImageList) DeepCopy() *ClusterVirtualMachineImageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImageList.
func (*ClusterVirtualMachineImageList) DeepCopyInto ¶
func (in *ClusterVirtualMachineImageList) DeepCopyInto(out *ClusterVirtualMachineImageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVirtualMachineImageList) DeepCopyObject ¶
func (in *ClusterVirtualMachineImageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVirtualMachineImageSpec ¶
type ClusterVirtualMachineImageSpec struct {
Remote ReducedDataVolumeSource `json:"remote,omitempty"`
Source *TypedObjectReference `json:"source,omitempty"`
}
The desired state of `ClusterVirtualMachineImage`.
func (*ClusterVirtualMachineImageSpec) DeepCopy ¶
func (in *ClusterVirtualMachineImageSpec) DeepCopy() *ClusterVirtualMachineImageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImageSpec.
func (*ClusterVirtualMachineImageSpec) DeepCopyInto ¶
func (in *ClusterVirtualMachineImageSpec) DeepCopyInto(out *ClusterVirtualMachineImageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVirtualMachineImageStatus ¶
type ClusterVirtualMachineImageStatus struct {
}
The observed state of `ClusterVirtualMachineImage`.
func (*ClusterVirtualMachineImageStatus) DeepCopy ¶
func (in *ClusterVirtualMachineImageStatus) DeepCopy() *ClusterVirtualMachineImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVirtualMachineImageStatus.
func (*ClusterVirtualMachineImageStatus) DeepCopyInto ¶
func (in *ClusterVirtualMachineImageStatus) DeepCopyInto(out *ClusterVirtualMachineImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskSource ¶
type DiskSource struct {
// The name of the Disk in the same Namespace.
Name string `json:"name"`
// Indicates whether the volume can be hotplugged and hotunplugged.
// +optional
Hotpluggable bool `json:"hotpluggable,omitempty"`
// The type of disk device to emulate.
//
// Supported values: `virtio`, `sata`, `scsi`, `usb`.
Bus virtv1.DiskBus `json:"bus,omitempty"`
}
The source of existing disk.
func (*DiskSource) DeepCopy ¶
func (in *DiskSource) DeepCopy() *DiskSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSource.
func (*DiskSource) DeepCopyInto ¶
func (in *DiskSource) DeepCopyInto(out *DiskSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReducedDataVolumeSource ¶
type ReducedDataVolumeSource struct {
HTTP *cdiv1.DataVolumeSourceHTTP `json:"http,omitempty"`
S3 *cdiv1.DataVolumeSourceS3 `json:"s3,omitempty"`
Registry *ReducedDataVolumeSourceRegistry `json:"registry,omitempty"`
PVC *cdiv1.DataVolumeSourcePVC `json:"pvc,omitempty"`
Blank *cdiv1.DataVolumeBlankImage `json:"blank,omitempty"`
}
The source for `VirtualMachineImage`, this can be HTTP, S3, Registry or an existing PVC.
func (*ReducedDataVolumeSource) DeepCopy ¶
func (in *ReducedDataVolumeSource) DeepCopy() *ReducedDataVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReducedDataVolumeSource.
func (*ReducedDataVolumeSource) DeepCopyInto ¶
func (in *ReducedDataVolumeSource) DeepCopyInto(out *ReducedDataVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReducedDataVolumeSourceRegistry ¶
type ReducedDataVolumeSourceRegistry struct {
// The url of the registry source (starting with the scheme: `docker`, `oci-archive`).
// +optional
URL *string `json:"url,omitempty"`
// A reference to the Secret needed to access the Registry source.
// +optional
SecretRef *string `json:"secretRef,omitempty"`
// A reference to the Registry certs.
// +optional
CertConfigMap *string `json:"certConfigMap,omitempty"`
}
Parameters to create a Data Volume from an OCI registry.
func (*ReducedDataVolumeSourceRegistry) DeepCopy ¶
func (in *ReducedDataVolumeSourceRegistry) DeepCopy() *ReducedDataVolumeSourceRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReducedDataVolumeSourceRegistry.
func (*ReducedDataVolumeSourceRegistry) DeepCopyInto ¶
func (in *ReducedDataVolumeSourceRegistry) DeepCopyInto(out *ReducedDataVolumeSourceRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TypedObjectReference ¶
type TypedObjectReference struct {
corev1.TypedLocalObjectReference `json:",inline"`
// The Namespace of resource being referenced.
Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
}
Contains enough information to let locate the typed referenced object in the cluster.
func (*TypedObjectReference) DeepCopy ¶
func (in *TypedObjectReference) DeepCopy() *TypedObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedObjectReference.
func (*TypedObjectReference) DeepCopyInto ¶
func (in *TypedObjectReference) DeepCopyInto(out *TypedObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachine ¶
type VirtualMachine struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VirtualMachineSpec `json:"spec,omitempty"`
Status VirtualMachineStatus `json:"status,omitempty"`
}
Defines virtual machine.
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 VirtualMachineDisk ¶
type VirtualMachineDisk struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VirtualMachineDiskSpec `json:"spec,omitempty"`
Status VirtualMachineDiskStatus `json:"status,omitempty"`
}
The resource that defines disk for virtual machine.
func (*VirtualMachineDisk) DeepCopy ¶
func (in *VirtualMachineDisk) DeepCopy() *VirtualMachineDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineDisk.
func (*VirtualMachineDisk) DeepCopyInto ¶
func (in *VirtualMachineDisk) DeepCopyInto(out *VirtualMachineDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineDisk) DeepCopyObject ¶
func (in *VirtualMachineDisk) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineDiskList ¶
type VirtualMachineDiskList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VirtualMachineDisk `json:"items"`
}
Contains a list of `VirtualMachineDisk`.
func (*VirtualMachineDiskList) DeepCopy ¶
func (in *VirtualMachineDiskList) DeepCopy() *VirtualMachineDiskList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineDiskList.
func (*VirtualMachineDiskList) DeepCopyInto ¶
func (in *VirtualMachineDiskList) DeepCopyInto(out *VirtualMachineDiskList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineDiskList) DeepCopyObject ¶
func (in *VirtualMachineDiskList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineDiskSpec ¶
type VirtualMachineDiskSpec struct {
// The storage class for `VirtualMachineDisk`.
StorageClassName string `json:"storageClassName,omitempty"`
// The size of VirtualMachineDisk.
Size resource.Quantity `json:"size,omitempty"`
// Contains enough information to let locate the typed referenced object inside the same namespace.
Source *corev1.TypedLocalObjectReference `json:"source,omitempty"`
}
The desired state of `VirtualMachineDisk`.
func (*VirtualMachineDiskSpec) DeepCopy ¶
func (in *VirtualMachineDiskSpec) DeepCopy() *VirtualMachineDiskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineDiskSpec.
func (*VirtualMachineDiskSpec) DeepCopyInto ¶
func (in *VirtualMachineDiskSpec) DeepCopyInto(out *VirtualMachineDiskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineDiskStatus ¶
type VirtualMachineDiskStatus struct {
// Represents the current state of disk.
Phase string `json:"phase,omitempty"`
// Represents the virtual machine that currently uses this disk.
VMName string `json:"vmName,omitempty"`
// Represents fact that disk will be removed with associated virtual machine.
//+kubebuilder:default:=false
//+kubebuilder:validation:Required
Ephemeral bool `json:"ephemeral"`
}
The observed state of `VirtualMachineDisk`.
func (*VirtualMachineDiskStatus) DeepCopy ¶
func (in *VirtualMachineDiskStatus) DeepCopy() *VirtualMachineDiskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineDiskStatus.
func (*VirtualMachineDiskStatus) DeepCopyInto ¶
func (in *VirtualMachineDiskStatus) DeepCopyInto(out *VirtualMachineDiskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineIPAddressClaim ¶
type VirtualMachineIPAddressClaim struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VirtualMachineIPAddressClaimSpec `json:"spec,omitempty"`
Status VirtualMachineIPAddressClaimStatus `json:"status,omitempty"`
}
The resource that defines IP address claim for virtual machine.
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"`
}
Contains a list of `VirtualMachineIPAddressClaim`.
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 VirtualMachineIPAddressClaimSpec ¶
type VirtualMachineIPAddressClaimSpec struct {
// Represents that claim should not be removed with virtual machine after the first use.
//+kubebuilder:default:=true
//+kubebuilder:validation:Required
Static *bool `json:"static,omitempty"`
// The issued `VirtualMachineIPAddressLease`, managed automatically.
LeaseName string `json:"leaseName,omitempty"`
// The requested IP address. If omittedthe next available IP address will be assigned.
Address string `json:"address,omitempty"`
}
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 current state of IP address claim.
Phase string `json:"phase,omitempty"`
// Represents the virtual machine that currently uses this IP address.
VMName string `json:"vmName,omitempty"`
}
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"`
}
The resource that defines fact of issued lease for `VirtualMachineIPAddressClaim`.
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"`
}
Contains a list of `VirtualMachineIPAddressLease`.
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 VirtualMachineIPAddressLeaseSpec ¶
type VirtualMachineIPAddressLeaseSpec struct {
// The link to existing `VirtualMachineIPAddressClaim`.
ClaimRef *VirtualMachineIPAddressLeaseClaimRef `json:"claimRef,omitempty"`
}
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 string `json:"phase,omitempty"`
}
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 VirtualMachineList ¶
type VirtualMachineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VirtualMachine `json:"items"`
}
Contains a list of `VirtualMachine`.
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 VirtualMachineSpec ¶
type VirtualMachineSpec struct {
// The requested running state of the `VirtualMachineInstance` mutually exclusive with Running.
Running *bool `json:"running,omitempty"`
// The name for associated `VirtualMahcineIPAddressClaim` resource.
// If not specified, defaults to `{vm name}`.
IPAddressClaimName *string `json:"ipAddressClaimName,omitempty"`
// A set of (resource name, quantity) pairs.
Resources v1.ResourceList `json:"resources,omitempty"`
// The username that should be automatically created inside the VM.
// This option requires `cloud-init` in the virtual machine.
UserName *string `json:"userName,omitempty"`
// The SSH public key that should be automatically added to user inside the VM.
// This option requires `cloud-init` in the virtual machine.
SSHPublicKey *string `json:"sshPublicKey,omitempty"`
BootDisk *BootDisk `json:"bootDisk,omitempty"`
// A cloud-init nocloud user data source. [More info...](https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html)
CloudInit *virtv1.CloudInitNoCloudSource `json:"cloudInit,omitempty"`
// Represents a lits of additional disks that should be attached to the virtual machine.
DiskAttachments *[]DiskSource `json:"diskAttachments,omitempty"`
// A selector which must be true for the vm to fit on a node.
// Selector which must match a node's labels for the vmi to be scheduled on that node.
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// If toleration is specified, obey all the toleration rules.
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// Affinity is a group of affinity scheduling rules.
Affinity *v1.Affinity `json:"affinity,omitempty"`
// TopologySpreadConstraints specifies how to spread matching pods among the given topology.
TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
// PriorityClassName indicates the pod's priority.
PriorityClassName string `json:"priorityClassName,omitempty"`
}
The desired state of `VirtualMachine`.
func (*VirtualMachineSpec) DeepCopy ¶
func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec.
func (*VirtualMachineSpec) DeepCopyInto ¶
func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineStatus ¶
type VirtualMachineStatus struct {
// Phase is a human readable, high-level representation of the status of the virtual machine.
Phase virtv1.VirtualMachinePrintableStatus `json:"phase,omitempty"`
// IP address of Virtual Machine.
IPAddress string `json:"ipAddress,omitempty"`
}
The observed state of `VirtualMachine`.
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.