Documentation ¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CPUFlavor
- type CPUPreferences
- type ClockPreferences
- type DevicePreferences
- type FeaturePreferences
- type FirmwarePreferences
- type MachinePreferences
- type MemoryFlavor
- type PreferredCPUTopology
- type VirtualMachineClusterFlavor
- func (in *VirtualMachineClusterFlavor) DeepCopy() *VirtualMachineClusterFlavor
- func (in *VirtualMachineClusterFlavor) DeepCopyInto(out *VirtualMachineClusterFlavor)
- func (in *VirtualMachineClusterFlavor) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterFlavor) SwaggerDoc() map[string]string
- type VirtualMachineClusterFlavorList
- func (in *VirtualMachineClusterFlavorList) DeepCopy() *VirtualMachineClusterFlavorList
- func (in *VirtualMachineClusterFlavorList) DeepCopyInto(out *VirtualMachineClusterFlavorList)
- func (in *VirtualMachineClusterFlavorList) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterFlavorList) SwaggerDoc() map[string]string
- type VirtualMachineClusterPreference
- func (in *VirtualMachineClusterPreference) DeepCopy() *VirtualMachineClusterPreference
- func (in *VirtualMachineClusterPreference) DeepCopyInto(out *VirtualMachineClusterPreference)
- func (in *VirtualMachineClusterPreference) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterPreference) SwaggerDoc() map[string]string
- type VirtualMachineClusterPreferenceList
- func (in *VirtualMachineClusterPreferenceList) DeepCopy() *VirtualMachineClusterPreferenceList
- func (in *VirtualMachineClusterPreferenceList) DeepCopyInto(out *VirtualMachineClusterPreferenceList)
- func (in *VirtualMachineClusterPreferenceList) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterPreferenceList) SwaggerDoc() map[string]string
- type VirtualMachineFlavor
- type VirtualMachineFlavorList
- type VirtualMachineFlavorSpec
- type VirtualMachineFlavorSpecRevision
- type VirtualMachinePreference
- type VirtualMachinePreferenceList
- func (in *VirtualMachinePreferenceList) DeepCopy() *VirtualMachinePreferenceList
- func (in *VirtualMachinePreferenceList) DeepCopyInto(out *VirtualMachinePreferenceList)
- func (in *VirtualMachinePreferenceList) DeepCopyObject() runtime.Object
- func (VirtualMachinePreferenceList) SwaggerDoc() map[string]string
- type VirtualMachinePreferenceSpec
- type VirtualMachinePreferenceSpecRevision
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: flavor.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CPUFlavor ¶ added in v0.54.0
type CPUFlavor struct { // Required number of vCPUs to expose to the guest. // // The resulting CPU topology being derived from the optional PreferredCPUTopology attribute of CPUPreferences that itself defaults to PreferCores. Guest uint32 `json:"guest"` // Model specifies the CPU model inside the VMI. // List of available models https://github.com/libvirt/libvirt/tree/master/src/cpu_map. // It is possible to specify special cases like "host-passthrough" to get the same CPU as the node // and "host-model" to get CPU closest to the node one. // Defaults to host-model. // +optional Model string `json:"model,omitempty"` // DedicatedCPUPlacement requests the scheduler to place the VirtualMachineInstance on a node // with enough dedicated pCPUs and pin the vCPUs to it. // +optional DedicatedCPUPlacement bool `json:"dedicatedCPUPlacement,omitempty"` // NUMA allows specifying settings for the guest NUMA topology // +optional NUMA *v1.NUMA `json:"numa,omitempty"` // IsolateEmulatorThread requests one more dedicated pCPU to be allocated for the VMI to place // the emulator thread on it. // +optional IsolateEmulatorThread bool `json:"isolateEmulatorThread,omitempty"` // Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads // +optional Realtime *v1.Realtime `json:"realtime,omitempty"` }
CPUFlavor contains the CPU related configuration of a given VirtualMachineFlavorSpec.
Guest is a required attribute and defines the number of vCPUs to be exposed to the guest by the flavor.
func (*CPUFlavor) DeepCopy ¶ added in v0.54.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUFlavor.
func (*CPUFlavor) DeepCopyInto ¶ added in v0.54.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CPUFlavor) SwaggerDoc ¶ added in v0.54.0
type CPUPreferences ¶ added in v0.54.0
type CPUPreferences struct { // PreferredCPUTopology optionally defines the preferred guest visible CPU topology, defaults to PreferSockets. // //+optional PreferredCPUTopology PreferredCPUTopology `json:"preferredCPUTopology,omitempty"` }
CPUPreferences contains various optional CPU preferences.
func (*CPUPreferences) DeepCopy ¶ added in v0.54.0
func (in *CPUPreferences) DeepCopy() *CPUPreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUPreferences.
func (*CPUPreferences) DeepCopyInto ¶ added in v0.54.0
func (in *CPUPreferences) DeepCopyInto(out *CPUPreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CPUPreferences) SwaggerDoc ¶ added in v0.54.0
func (CPUPreferences) SwaggerDoc() map[string]string
type ClockPreferences ¶ added in v0.54.0
type ClockPreferences struct { // ClockOffset allows specifying the UTC offset or the timezone of the guest clock. // // +optional PreferredClockOffset *v1.ClockOffset `json:"preferredClockOffset,omitempty"` // Timer specifies whih timers are attached to the vmi. // // +optional PreferredTimer *v1.Timer `json:"preferredTimer,omitempty"` }
ClockPreferences contains various optional defaults for Clock.
func (*ClockPreferences) DeepCopy ¶ added in v0.54.0
func (in *ClockPreferences) DeepCopy() *ClockPreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClockPreferences.
func (*ClockPreferences) DeepCopyInto ¶ added in v0.54.0
func (in *ClockPreferences) DeepCopyInto(out *ClockPreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ClockPreferences) SwaggerDoc ¶ added in v0.54.0
func (ClockPreferences) SwaggerDoc() map[string]string
type DevicePreferences ¶ added in v0.54.0
type DevicePreferences struct { // PreferredAutoattachGraphicsDevice optionally defines the preferred value of AutoattachGraphicsDevice // // +optional PreferredAutoattachGraphicsDevice *bool `json:"preferredAutoattachGraphicsDevice,omitempty"` // PreferredAutoattachMemBalloon optionally defines the preferred value of AutoattachMemBalloon // // +optional PreferredAutoattachMemBalloon *bool `json:"preferredAutoattachMemBalloon,omitempty"` // PreferredAutoattachPodInterface optionally defines the preferred value of AutoattachPodInterface // // +optional PreferredAutoattachPodInterface *bool `json:"preferredAutoattachPodInterface,omitempty"` // PreferredAutoattachSerialConsole optionally defines the preferred value of AutoattachSerialConsole // // +optional PreferredAutoattachSerialConsole *bool `json:"preferredAutoattachSerialConsole,omitempty"` // PreferredDisableHotplug optionally defines the preferred value of DisableHotplug // // +optional PreferredDisableHotplug *bool `json:"preferredDisableHotplug,omitempty"` // PreferredVirtualGPUOptions optionally defines the preferred value of VirtualGPUOptions // // +optional PreferredVirtualGPUOptions *v1.VGPUOptions `json:"preferredVirtualGPUOptions,omitempty"` // PreferredSoundModel optionally defines the preferred model for Sound devices. // // +optional PreferredSoundModel string `json:"preferredSoundModel,omitempty"` // PreferredUseVirtioTransitional optionally defines the preferred value of UseVirtioTransitional // // +optional PreferredUseVirtioTransitional *bool `json:"preferredUseVirtioTransitional,omitempty"` // PreferredInputBus optionally defines the preferred bus for Input devices. // // +optional PreferredInputBus string `json:"preferredInputBus,omitempty"` // PreferredInputType optionally defines the preferred type for Input devices. // // +optional PreferredInputType string `json:"preferredInputType,omitempty"` // PreferredDiskBus optionally defines the preferred bus for Disk Disk devices. // // +optional PreferredDiskBus v1.DiskBus `json:"preferredDiskBus,omitempty"` // PreferredLunBus optionally defines the preferred bus for Lun Disk devices. // // +optional PreferredLunBus v1.DiskBus `json:"preferredLunBus,omitempty"` // PreferredCdromBus optionally defines the preferred bus for Cdrom Disk devices. // // +optional PreferredCdromBus v1.DiskBus `json:"preferredCdromBus,omitempty"` // PreferredDedicatedIoThread optionally enables dedicated IO threads for Disk devices. // // +optional PreferredDiskDedicatedIoThread *bool `json:"preferredDiskDedicatedIoThread,omitempty"` // PreferredCache optionally defines the DriverCache to be used by Disk devices. // // +optional PreferredDiskCache v1.DriverCache `json:"preferredDiskCache,omitempty"` // PreferredIo optionally defines the QEMU disk IO mode to be used by Disk devices. // // +optional PreferredDiskIO v1.DriverIO `json:"preferredDiskIO,omitempty"` // PreferredBlockSize optionally defines the block size of Disk devices. // // +optional PreferredDiskBlockSize *v1.BlockSize `json:"preferredDiskBlockSize,omitempty"` // PreferredInterfaceModel optionally defines the preferred model to be used by Interface devices. // // +optional PreferredInterfaceModel string `json:"preferredInterfaceModel,omitempty"` // PreferredRng optionally defines the preferred rng device to be used. // // +optional PreferredRng *v1.Rng `json:"preferredRng,omitempty"` // PreferredBlockMultiQueue optionally enables the vhost multiqueue feature for virtio disks. // // +optional PreferredBlockMultiQueue *bool `json:"preferredBlockMultiQueue,omitempty"` // PreferredNetworkInterfaceMultiQueue optionally enables the vhost multiqueue feature for virtio interfaces. // // +optional PreferredNetworkInterfaceMultiQueue *bool `json:"preferredNetworkInterfaceMultiQueue,omitempty"` // PreferredTPM optionally defines the preferred TPM device to be used. // // +optional PreferredTPM *v1.TPMDevice `json:"preferredTPM,omitempty"` }
DevicePreferences contains various optional Device preferences.
func (*DevicePreferences) DeepCopy ¶ added in v0.54.0
func (in *DevicePreferences) DeepCopy() *DevicePreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePreferences.
func (*DevicePreferences) DeepCopyInto ¶ added in v0.54.0
func (in *DevicePreferences) DeepCopyInto(out *DevicePreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DevicePreferences) SwaggerDoc ¶ added in v0.54.0
func (DevicePreferences) SwaggerDoc() map[string]string
type FeaturePreferences ¶ added in v0.54.0
type FeaturePreferences struct { // PreferredAcpi optionally enables the ACPI feature // // +optional PreferredAcpi *v1.FeatureState `json:"preferredAcpi,omitempty"` // PreferredApic optionally enables and configures the APIC feature // // +optional PreferredApic *v1.FeatureAPIC `json:"preferredApic,omitempty"` // PreferredHyperv optionally enables and configures HyperV features // // +optional PreferredHyperv *v1.FeatureHyperv `json:"preferredHyperv,omitempty"` // PreferredKvm optionally enables and configures KVM features // // +optional PreferredKvm *v1.FeatureKVM `json:"preferredKvm,omitempty"` // PreferredPvspinlock optionally enables the Pvspinlock feature // // +optional PreferredPvspinlock *v1.FeatureState `json:"preferredPvspinlock,omitempty"` // PreferredSmm optionally enables the SMM feature // // +optional PreferredSmm *v1.FeatureState `json:"preferredSmm,omitempty"` }
FeaturePreferences contains various optional defaults for Features.
func (*FeaturePreferences) DeepCopy ¶ added in v0.54.0
func (in *FeaturePreferences) DeepCopy() *FeaturePreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePreferences.
func (*FeaturePreferences) DeepCopyInto ¶ added in v0.54.0
func (in *FeaturePreferences) DeepCopyInto(out *FeaturePreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (FeaturePreferences) SwaggerDoc ¶ added in v0.54.0
func (FeaturePreferences) SwaggerDoc() map[string]string
type FirmwarePreferences ¶ added in v0.54.0
type FirmwarePreferences struct { // PreferredUseBios optionally enables BIOS // // +optional PreferredUseBios *bool `json:"preferredUseBios,omitempty"` // PreferredUseBiosSerial optionally transmitts BIOS output over the serial. // // Requires PreferredUseBios to be enabled. // // +optional PreferredUseBiosSerial *bool `json:"preferredUseBiosSerial,omitempty"` // PreferredUseEfi optionally enables EFI // // +optional PreferredUseEfi *bool `json:"preferredUseEfi,omitempty"` // PreferredUseSecureBoot optionally enables SecureBoot and the OVMF roms will be swapped for SecureBoot-enabled ones. // // Requires PreferredUseEfi and PreferredSmm to be enabled. // // +optional PreferredUseSecureBoot *bool `json:"preferredUseSecureBoot,omitempty"` }
FirmwarePreferences contains various optional defaults for Firmware.
func (*FirmwarePreferences) DeepCopy ¶ added in v0.54.0
func (in *FirmwarePreferences) DeepCopy() *FirmwarePreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirmwarePreferences.
func (*FirmwarePreferences) DeepCopyInto ¶ added in v0.54.0
func (in *FirmwarePreferences) DeepCopyInto(out *FirmwarePreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (FirmwarePreferences) SwaggerDoc ¶ added in v0.54.0
func (FirmwarePreferences) SwaggerDoc() map[string]string
type MachinePreferences ¶ added in v0.54.0
type MachinePreferences struct { // PreferredMachineType optionally defines the preferred machine type to use. // // +optional PreferredMachineType string `json:"preferredMachineType,omitempty"` }
MachinePreferences contains various optional defaults for Machine.
func (*MachinePreferences) DeepCopy ¶ added in v0.54.0
func (in *MachinePreferences) DeepCopy() *MachinePreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePreferences.
func (*MachinePreferences) DeepCopyInto ¶ added in v0.54.0
func (in *MachinePreferences) DeepCopyInto(out *MachinePreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (MachinePreferences) SwaggerDoc ¶ added in v0.54.0
func (MachinePreferences) SwaggerDoc() map[string]string
type MemoryFlavor ¶ added in v0.54.0
type MemoryFlavor struct { // Required amount of memory which is visible inside the guest OS. Guest *resource.Quantity `json:"guest,omitempty"` // Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory. // +optional Hugepages *v1.Hugepages `json:"hugepages,omitempty"` }
MemoryFlavor contains the Memory related configuration of a given VirtualMachineFlavorSpec.
Guest is a required attribute and defines the amount of RAM to be exposed to the guest by the flavor.
func (*MemoryFlavor) DeepCopy ¶ added in v0.54.0
func (in *MemoryFlavor) DeepCopy() *MemoryFlavor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryFlavor.
func (*MemoryFlavor) DeepCopyInto ¶ added in v0.54.0
func (in *MemoryFlavor) DeepCopyInto(out *MemoryFlavor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (MemoryFlavor) SwaggerDoc ¶ added in v0.54.0
func (MemoryFlavor) SwaggerDoc() map[string]string
type PreferredCPUTopology ¶ added in v0.54.0
type PreferredCPUTopology string
PreferredCPUTopology defines a preferred CPU topology to be exposed to the guest
const ( // Prefer vCPUs to be exposed as cores to the guest PreferCores PreferredCPUTopology = "preferCores" // Prefer vCPUs to be exposed as sockets to the guest, this is the default for the PreferredCPUTopology attribute of CPUPreferences. PreferSockets PreferredCPUTopology = "preferSockets" // Prefer vCPUs to be exposed as threads to the guest PreferThreads PreferredCPUTopology = "preferThreads" )
type VirtualMachineClusterFlavor ¶
type VirtualMachineClusterFlavor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Required spec describing the flavor Spec VirtualMachineFlavorSpec `json:"spec"` }
VirtualMachineClusterFlavor is a cluster scoped version of VirtualMachineFlavor resource.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient +genclient:nonNamespaced
func (*VirtualMachineClusterFlavor) DeepCopy ¶
func (in *VirtualMachineClusterFlavor) DeepCopy() *VirtualMachineClusterFlavor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterFlavor.
func (*VirtualMachineClusterFlavor) DeepCopyInto ¶
func (in *VirtualMachineClusterFlavor) DeepCopyInto(out *VirtualMachineClusterFlavor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClusterFlavor) DeepCopyObject ¶
func (in *VirtualMachineClusterFlavor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineClusterFlavor) SwaggerDoc ¶
func (VirtualMachineClusterFlavor) SwaggerDoc() map[string]string
type VirtualMachineClusterFlavorList ¶
type VirtualMachineClusterFlavorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachineClusterFlavor `json:"items"` }
VirtualMachineClusterFlavorList is a list of VirtualMachineClusterFlavor resources.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VirtualMachineClusterFlavorList) DeepCopy ¶
func (in *VirtualMachineClusterFlavorList) DeepCopy() *VirtualMachineClusterFlavorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterFlavorList.
func (*VirtualMachineClusterFlavorList) DeepCopyInto ¶
func (in *VirtualMachineClusterFlavorList) DeepCopyInto(out *VirtualMachineClusterFlavorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClusterFlavorList) DeepCopyObject ¶
func (in *VirtualMachineClusterFlavorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineClusterFlavorList) SwaggerDoc ¶
func (VirtualMachineClusterFlavorList) SwaggerDoc() map[string]string
type VirtualMachineClusterPreference ¶ added in v0.54.0
type VirtualMachineClusterPreference struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Required spec describing the preferences Spec VirtualMachinePreferenceSpec `json:"spec"` }
VirtualMachineClusterPreference is a cluster scoped version of the VirtualMachinePreference resource.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient +genclient:nonNamespaced
func (*VirtualMachineClusterPreference) DeepCopy ¶ added in v0.54.0
func (in *VirtualMachineClusterPreference) DeepCopy() *VirtualMachineClusterPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterPreference.
func (*VirtualMachineClusterPreference) DeepCopyInto ¶ added in v0.54.0
func (in *VirtualMachineClusterPreference) DeepCopyInto(out *VirtualMachineClusterPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClusterPreference) DeepCopyObject ¶ added in v0.54.0
func (in *VirtualMachineClusterPreference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineClusterPreference) SwaggerDoc ¶ added in v0.54.0
func (VirtualMachineClusterPreference) SwaggerDoc() map[string]string
type VirtualMachineClusterPreferenceList ¶ added in v0.54.0
type VirtualMachineClusterPreferenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // +listType=set Items []VirtualMachineClusterPreference `json:"items"` }
VirtualMachineClusterPreferenceList is a list of VirtualMachineClusterPreference resources.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VirtualMachineClusterPreferenceList) DeepCopy ¶ added in v0.54.0
func (in *VirtualMachineClusterPreferenceList) DeepCopy() *VirtualMachineClusterPreferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterPreferenceList.
func (*VirtualMachineClusterPreferenceList) DeepCopyInto ¶ added in v0.54.0
func (in *VirtualMachineClusterPreferenceList) DeepCopyInto(out *VirtualMachineClusterPreferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClusterPreferenceList) DeepCopyObject ¶ added in v0.54.0
func (in *VirtualMachineClusterPreferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineClusterPreferenceList) SwaggerDoc ¶ added in v0.54.0
func (VirtualMachineClusterPreferenceList) SwaggerDoc() map[string]string
type VirtualMachineFlavor ¶
type VirtualMachineFlavor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Required spec describing the flavor Spec VirtualMachineFlavorSpec `json:"spec"` }
VirtualMachineFlavor resource contains quantitative and resource related VirtualMachine configuration that can be used by multiple VirtualMachine resources.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient
func (*VirtualMachineFlavor) DeepCopy ¶
func (in *VirtualMachineFlavor) DeepCopy() *VirtualMachineFlavor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineFlavor.
func (*VirtualMachineFlavor) DeepCopyInto ¶
func (in *VirtualMachineFlavor) DeepCopyInto(out *VirtualMachineFlavor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineFlavor) DeepCopyObject ¶
func (in *VirtualMachineFlavor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineFlavor) SwaggerDoc ¶
func (VirtualMachineFlavor) SwaggerDoc() map[string]string
type VirtualMachineFlavorList ¶
type VirtualMachineFlavorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachineFlavor `json:"items"` }
VirtualMachineFlavorList is a list of VirtualMachineFlavor resources.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VirtualMachineFlavorList) DeepCopy ¶
func (in *VirtualMachineFlavorList) DeepCopy() *VirtualMachineFlavorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineFlavorList.
func (*VirtualMachineFlavorList) DeepCopyInto ¶
func (in *VirtualMachineFlavorList) DeepCopyInto(out *VirtualMachineFlavorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineFlavorList) DeepCopyObject ¶
func (in *VirtualMachineFlavorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachineFlavorList) SwaggerDoc ¶
func (VirtualMachineFlavorList) SwaggerDoc() map[string]string
type VirtualMachineFlavorSpec ¶ added in v0.53.0
type VirtualMachineFlavorSpec struct { // Required CPU related attributes of the flavor. CPU CPUFlavor `json:"cpu"` // Required Memory related attributes of the flavor. Memory MemoryFlavor `json:"memory"` // Optionally defines any GPU devices associated with the flavor. // // +optional // +listType=atomic GPUs []v1.GPU `json:"gpus,omitempty"` // Optionally defines any HostDevices associated with the flavor. // // +optional // +listType=atomic HostDevices []v1.HostDevice `json:"hostDevices,omitempty"` // Optionally defines the IOThreadsPolicy to be used by the flavor. // // +optional IOThreadsPolicy *v1.IOThreadsPolicy `json:"ioThreadsPolicy,omitempty"` // Optionally defines the LaunchSecurity to be used by the flavor. // // +optional LaunchSecurity *v1.LaunchSecurity `json:"launchSecurity,omitempty"` }
VirtualMachineFlavorSpec is a description of the VirtualMachineFlavor or VirtualMachineClusterFlavor.
CPU and Memory are required attributes with both requiring that their Guest attribute is defined, ensuring a number of vCPUs and amount of RAM is always provided by each flavor.
func (*VirtualMachineFlavorSpec) DeepCopy ¶ added in v0.53.0
func (in *VirtualMachineFlavorSpec) DeepCopy() *VirtualMachineFlavorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineFlavorSpec.
func (*VirtualMachineFlavorSpec) DeepCopyInto ¶ added in v0.53.0
func (in *VirtualMachineFlavorSpec) DeepCopyInto(out *VirtualMachineFlavorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualMachineFlavorSpec) SwaggerDoc ¶ added in v0.53.0
func (VirtualMachineFlavorSpec) SwaggerDoc() map[string]string
type VirtualMachineFlavorSpecRevision ¶ added in v0.55.0
type VirtualMachineFlavorSpecRevision struct { // The specific version of VirtualMachineFlavorSpec that is contained below APIVersion string `json:"apiVersion" protobuf:"bytes,2,opt,name=apiVersion"` // This is a marshaled version of the VirtualMachineFlavorSpec // +listType=atomic Spec []byte `json:"spec"` }
VirtualMachineFlavorSpecRevision is used to capture a versioned copy of VirtualMachineFlavorSpec within a ControllerRevision
**WARNING** This struct should never change ensuring it can always be unmarshaled from a ControllerRevision
func (*VirtualMachineFlavorSpecRevision) DeepCopy ¶ added in v0.55.0
func (in *VirtualMachineFlavorSpecRevision) DeepCopy() *VirtualMachineFlavorSpecRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineFlavorSpecRevision.
func (*VirtualMachineFlavorSpecRevision) DeepCopyInto ¶ added in v0.55.0
func (in *VirtualMachineFlavorSpecRevision) DeepCopyInto(out *VirtualMachineFlavorSpecRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualMachineFlavorSpecRevision) SwaggerDoc ¶ added in v0.55.0
func (VirtualMachineFlavorSpecRevision) SwaggerDoc() map[string]string
type VirtualMachinePreference ¶ added in v0.54.0
type VirtualMachinePreference struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Required spec describing the preferences Spec VirtualMachinePreferenceSpec `json:"spec"` }
VirtualMachinePreference resource contains optional preferences related to the VirtualMachine.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient
func (*VirtualMachinePreference) DeepCopy ¶ added in v0.54.0
func (in *VirtualMachinePreference) DeepCopy() *VirtualMachinePreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreference.
func (*VirtualMachinePreference) DeepCopyInto ¶ added in v0.54.0
func (in *VirtualMachinePreference) DeepCopyInto(out *VirtualMachinePreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachinePreference) DeepCopyObject ¶ added in v0.54.0
func (in *VirtualMachinePreference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachinePreference) SwaggerDoc ¶ added in v0.54.0
func (VirtualMachinePreference) SwaggerDoc() map[string]string
type VirtualMachinePreferenceList ¶ added in v0.54.0
type VirtualMachinePreferenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // +listType=set Items []VirtualMachinePreference `json:"items"` }
VirtualMachinePreferenceList is a list of VirtualMachinePreference resources.
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*VirtualMachinePreferenceList) DeepCopy ¶ added in v0.54.0
func (in *VirtualMachinePreferenceList) DeepCopy() *VirtualMachinePreferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreferenceList.
func (*VirtualMachinePreferenceList) DeepCopyInto ¶ added in v0.54.0
func (in *VirtualMachinePreferenceList) DeepCopyInto(out *VirtualMachinePreferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachinePreferenceList) DeepCopyObject ¶ added in v0.54.0
func (in *VirtualMachinePreferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (VirtualMachinePreferenceList) SwaggerDoc ¶ added in v0.54.0
func (VirtualMachinePreferenceList) SwaggerDoc() map[string]string
type VirtualMachinePreferenceSpec ¶ added in v0.54.0
type VirtualMachinePreferenceSpec struct { // Clock optionally defines preferences associated with the Clock attribute of a VirtualMachineInstance DomainSpec // //+optional Clock *ClockPreferences `json:"clock,omitempty"` // CPU optionally defines preferences associated with the CPU attribute of a VirtualMachineInstance DomainSpec // //+optional CPU *CPUPreferences `json:"cpu,omitempty"` // Devices optionally defines preferences associated with the Devices attribute of a VirtualMachineInstance DomainSpec // //+optional Devices *DevicePreferences `json:"devices,omitempty"` // Features optionally defines preferences associated with the Features attribute of a VirtualMachineInstance DomainSpec // //+optional Features *FeaturePreferences `json:"features,omitempty"` // Firmware optionally defines preferences associated with the Firmware attribute of a VirtualMachineInstance DomainSpec // //+optional Firmware *FirmwarePreferences `json:"firmware,omitempty"` // Machine optionally defines preferences associated with the Machine attribute of a VirtualMachineInstance DomainSpec // //+optional Machine *MachinePreferences `json:"machine,omitempty"` }
VirtualMachinePreferenceSpec is a description of the VirtualMachinePreference or VirtualMachineClusterPreference.
func (*VirtualMachinePreferenceSpec) DeepCopy ¶ added in v0.54.0
func (in *VirtualMachinePreferenceSpec) DeepCopy() *VirtualMachinePreferenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreferenceSpec.
func (*VirtualMachinePreferenceSpec) DeepCopyInto ¶ added in v0.54.0
func (in *VirtualMachinePreferenceSpec) DeepCopyInto(out *VirtualMachinePreferenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualMachinePreferenceSpec) SwaggerDoc ¶ added in v0.54.0
func (VirtualMachinePreferenceSpec) SwaggerDoc() map[string]string
type VirtualMachinePreferenceSpecRevision ¶ added in v0.55.0
type VirtualMachinePreferenceSpecRevision struct { // The specific version of VirtualMachinePreferenceSpec that is contained below APIVersion string `json:"apiVersion" protobuf:"bytes,2,opt,name=apiVersion"` // This is a marshaled version of the VirtualMachinePreferenceSpec // +listType=atomic Spec []byte `json:"spec"` }
VirtualMachinePreferenceSpecRevision is used to capture a versioned copy of VirtualMachinePreferenceSpec within a ControllerRevision
**WARNING** This struct should never change ensuring it can always be unmarshaled from a ControllerRevision
func (*VirtualMachinePreferenceSpecRevision) DeepCopy ¶ added in v0.55.0
func (in *VirtualMachinePreferenceSpecRevision) DeepCopy() *VirtualMachinePreferenceSpecRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePreferenceSpecRevision.
func (*VirtualMachinePreferenceSpecRevision) DeepCopyInto ¶ added in v0.55.0
func (in *VirtualMachinePreferenceSpecRevision) DeepCopyInto(out *VirtualMachinePreferenceSpecRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualMachinePreferenceSpecRevision) SwaggerDoc ¶ added in v0.55.0
func (VirtualMachinePreferenceSpecRevision) SwaggerDoc() map[string]string