v1alpha2

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: instancetype.GroupName, Version: "v1alpha2"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_v1alpha2_CPUInstancetype_To_v1beta1_CPUInstancetype added in v1.0.0

func Convert_v1alpha2_CPUInstancetype_To_v1beta1_CPUInstancetype(in *CPUInstancetype, out *v1beta1.CPUInstancetype, s conversion.Scope) error

Convert_v1alpha2_CPUInstancetype_To_v1beta1_CPUInstancetype is an autogenerated conversion function.

func Convert_v1alpha2_CPUPreferences_To_v1beta1_CPUPreferences added in v1.0.0

func Convert_v1alpha2_CPUPreferences_To_v1beta1_CPUPreferences(in *CPUPreferences, out *v1beta1.CPUPreferences, s conversion.Scope) error

Manually defined function to convert from value to pointer

func Convert_v1alpha2_ClockPreferences_To_v1beta1_ClockPreferences added in v1.0.0

func Convert_v1alpha2_ClockPreferences_To_v1beta1_ClockPreferences(in *ClockPreferences, out *v1beta1.ClockPreferences, s conversion.Scope) error

Convert_v1alpha2_ClockPreferences_To_v1beta1_ClockPreferences is an autogenerated conversion function.

func Convert_v1alpha2_DevicePreferences_To_v1beta1_DevicePreferences added in v1.0.0

func Convert_v1alpha2_DevicePreferences_To_v1beta1_DevicePreferences(in *DevicePreferences, out *v1beta1.DevicePreferences, s conversion.Scope) error

Convert_v1alpha2_DevicePreferences_To_v1beta1_DevicePreferences is an autogenerated conversion function.

func Convert_v1alpha2_FeaturePreferences_To_v1beta1_FeaturePreferences added in v1.0.0

func Convert_v1alpha2_FeaturePreferences_To_v1beta1_FeaturePreferences(in *FeaturePreferences, out *v1beta1.FeaturePreferences, s conversion.Scope) error

Convert_v1alpha2_FeaturePreferences_To_v1beta1_FeaturePreferences is an autogenerated conversion function.

func Convert_v1alpha2_FirmwarePreferences_To_v1beta1_FirmwarePreferences added in v1.0.0

func Convert_v1alpha2_FirmwarePreferences_To_v1beta1_FirmwarePreferences(in *FirmwarePreferences, out *v1beta1.FirmwarePreferences, s conversion.Scope) error

Convert_v1alpha2_FirmwarePreferences_To_v1beta1_FirmwarePreferences is an autogenerated conversion function.

func Convert_v1alpha2_MachinePreferences_To_v1beta1_MachinePreferences added in v1.0.0

func Convert_v1alpha2_MachinePreferences_To_v1beta1_MachinePreferences(in *MachinePreferences, out *v1beta1.MachinePreferences, s conversion.Scope) error

Convert_v1alpha2_MachinePreferences_To_v1beta1_MachinePreferences is an autogenerated conversion function.

func Convert_v1alpha2_MemoryInstancetype_To_v1beta1_MemoryInstancetype added in v1.0.0

func Convert_v1alpha2_MemoryInstancetype_To_v1beta1_MemoryInstancetype(in *MemoryInstancetype, out *v1beta1.MemoryInstancetype, s conversion.Scope) error

Convert_v1alpha2_MemoryInstancetype_To_v1beta1_MemoryInstancetype is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClusterInstancetypeList_To_v1beta1_VirtualMachineClusterInstancetypeList added in v1.0.0

func Convert_v1alpha2_VirtualMachineClusterInstancetypeList_To_v1beta1_VirtualMachineClusterInstancetypeList(in *VirtualMachineClusterInstancetypeList, out *v1beta1.VirtualMachineClusterInstancetypeList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClusterInstancetypeList_To_v1beta1_VirtualMachineClusterInstancetypeList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClusterInstancetype_To_v1beta1_VirtualMachineClusterInstancetype added in v1.0.0

func Convert_v1alpha2_VirtualMachineClusterInstancetype_To_v1beta1_VirtualMachineClusterInstancetype(in *VirtualMachineClusterInstancetype, out *v1beta1.VirtualMachineClusterInstancetype, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClusterInstancetype_To_v1beta1_VirtualMachineClusterInstancetype is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClusterPreferenceList_To_v1beta1_VirtualMachineClusterPreferenceList added in v1.0.0

func Convert_v1alpha2_VirtualMachineClusterPreferenceList_To_v1beta1_VirtualMachineClusterPreferenceList(in *VirtualMachineClusterPreferenceList, out *v1beta1.VirtualMachineClusterPreferenceList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClusterPreferenceList_To_v1beta1_VirtualMachineClusterPreferenceList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineClusterPreference_To_v1beta1_VirtualMachineClusterPreference added in v1.0.0

func Convert_v1alpha2_VirtualMachineClusterPreference_To_v1beta1_VirtualMachineClusterPreference(in *VirtualMachineClusterPreference, out *v1beta1.VirtualMachineClusterPreference, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineClusterPreference_To_v1beta1_VirtualMachineClusterPreference is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineInstancetypeList_To_v1beta1_VirtualMachineInstancetypeList added in v1.0.0

func Convert_v1alpha2_VirtualMachineInstancetypeList_To_v1beta1_VirtualMachineInstancetypeList(in *VirtualMachineInstancetypeList, out *v1beta1.VirtualMachineInstancetypeList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineInstancetypeList_To_v1beta1_VirtualMachineInstancetypeList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineInstancetypeSpec_To_v1beta1_VirtualMachineInstancetypeSpec added in v1.0.0

func Convert_v1alpha2_VirtualMachineInstancetypeSpec_To_v1beta1_VirtualMachineInstancetypeSpec(in *VirtualMachineInstancetypeSpec, out *v1beta1.VirtualMachineInstancetypeSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineInstancetypeSpec_To_v1beta1_VirtualMachineInstancetypeSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachineInstancetype_To_v1beta1_VirtualMachineInstancetype added in v1.0.0

func Convert_v1alpha2_VirtualMachineInstancetype_To_v1beta1_VirtualMachineInstancetype(in *VirtualMachineInstancetype, out *v1beta1.VirtualMachineInstancetype, s conversion.Scope) error

Convert_v1alpha2_VirtualMachineInstancetype_To_v1beta1_VirtualMachineInstancetype is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePreferenceList_To_v1beta1_VirtualMachinePreferenceList added in v1.0.0

func Convert_v1alpha2_VirtualMachinePreferenceList_To_v1beta1_VirtualMachinePreferenceList(in *VirtualMachinePreferenceList, out *v1beta1.VirtualMachinePreferenceList, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePreferenceList_To_v1beta1_VirtualMachinePreferenceList is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePreferenceSpec_To_v1beta1_VirtualMachinePreferenceSpec added in v1.0.0

func Convert_v1alpha2_VirtualMachinePreferenceSpec_To_v1beta1_VirtualMachinePreferenceSpec(in *VirtualMachinePreferenceSpec, out *v1beta1.VirtualMachinePreferenceSpec, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePreferenceSpec_To_v1beta1_VirtualMachinePreferenceSpec is an autogenerated conversion function.

func Convert_v1alpha2_VirtualMachinePreference_To_v1beta1_VirtualMachinePreference added in v1.0.0

func Convert_v1alpha2_VirtualMachinePreference_To_v1beta1_VirtualMachinePreference(in *VirtualMachinePreference, out *v1beta1.VirtualMachinePreference, s conversion.Scope) error

Convert_v1alpha2_VirtualMachinePreference_To_v1beta1_VirtualMachinePreference is an autogenerated conversion function.

func Convert_v1alpha2_VolumePreferences_To_v1beta1_VolumePreferences added in v1.0.0

func Convert_v1alpha2_VolumePreferences_To_v1beta1_VolumePreferences(in *VolumePreferences, out *v1beta1.VolumePreferences, s conversion.Scope) error

Convert_v1alpha2_VolumePreferences_To_v1beta1_VolumePreferences is an autogenerated conversion function.

func Convert_v1beta1_CPUInstancetype_To_v1alpha2_CPUInstancetype added in v1.0.0

func Convert_v1beta1_CPUInstancetype_To_v1alpha2_CPUInstancetype(in *v1beta1.CPUInstancetype, out *CPUInstancetype, s conversion.Scope) error

Convert_v1beta1_CPUInstancetype_To_v1alpha2_CPUInstancetype is an autogenerated conversion function.

func Convert_v1beta1_CPUPreferences_To_v1alpha2_CPUPreferences added in v1.0.0

func Convert_v1beta1_CPUPreferences_To_v1alpha2_CPUPreferences(in *v1beta1.CPUPreferences, out *CPUPreferences, s conversion.Scope) error

Manually defined function to convert from pointer to value

func Convert_v1beta1_ClockPreferences_To_v1alpha2_ClockPreferences added in v1.0.0

func Convert_v1beta1_ClockPreferences_To_v1alpha2_ClockPreferences(in *v1beta1.ClockPreferences, out *ClockPreferences, s conversion.Scope) error

Convert_v1beta1_ClockPreferences_To_v1alpha2_ClockPreferences is an autogenerated conversion function.

func Convert_v1beta1_DevicePreferences_To_v1alpha2_DevicePreferences added in v1.0.0

func Convert_v1beta1_DevicePreferences_To_v1alpha2_DevicePreferences(in *v1beta1.DevicePreferences, out *DevicePreferences, s conversion.Scope) error

func Convert_v1beta1_FeaturePreferences_To_v1alpha2_FeaturePreferences added in v1.0.0

func Convert_v1beta1_FeaturePreferences_To_v1alpha2_FeaturePreferences(in *v1beta1.FeaturePreferences, out *FeaturePreferences, s conversion.Scope) error

Convert_v1beta1_FeaturePreferences_To_v1alpha2_FeaturePreferences is an autogenerated conversion function.

func Convert_v1beta1_FirmwarePreferences_To_v1alpha2_FirmwarePreferences added in v1.0.0

func Convert_v1beta1_FirmwarePreferences_To_v1alpha2_FirmwarePreferences(in *v1beta1.FirmwarePreferences, out *FirmwarePreferences, s conversion.Scope) error

Convert_v1beta1_FirmwarePreferences_To_v1alpha2_FirmwarePreferences is an autogenerated conversion function.

func Convert_v1beta1_MachinePreferences_To_v1alpha2_MachinePreferences added in v1.0.0

func Convert_v1beta1_MachinePreferences_To_v1alpha2_MachinePreferences(in *v1beta1.MachinePreferences, out *MachinePreferences, s conversion.Scope) error

Convert_v1beta1_MachinePreferences_To_v1alpha2_MachinePreferences is an autogenerated conversion function.

func Convert_v1beta1_MemoryInstancetype_To_v1alpha2_MemoryInstancetype added in v1.0.0

func Convert_v1beta1_MemoryInstancetype_To_v1alpha2_MemoryInstancetype(in *v1beta1.MemoryInstancetype, out *MemoryInstancetype, s conversion.Scope) error

func Convert_v1beta1_VirtualMachineClusterInstancetypeList_To_v1alpha2_VirtualMachineClusterInstancetypeList added in v1.0.0

func Convert_v1beta1_VirtualMachineClusterInstancetypeList_To_v1alpha2_VirtualMachineClusterInstancetypeList(in *v1beta1.VirtualMachineClusterInstancetypeList, out *VirtualMachineClusterInstancetypeList, s conversion.Scope) error

Convert_v1beta1_VirtualMachineClusterInstancetypeList_To_v1alpha2_VirtualMachineClusterInstancetypeList is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineClusterInstancetype_To_v1alpha2_VirtualMachineClusterInstancetype added in v1.0.0

func Convert_v1beta1_VirtualMachineClusterInstancetype_To_v1alpha2_VirtualMachineClusterInstancetype(in *v1beta1.VirtualMachineClusterInstancetype, out *VirtualMachineClusterInstancetype, s conversion.Scope) error

Convert_v1beta1_VirtualMachineClusterInstancetype_To_v1alpha2_VirtualMachineClusterInstancetype is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineClusterPreferenceList_To_v1alpha2_VirtualMachineClusterPreferenceList added in v1.0.0

func Convert_v1beta1_VirtualMachineClusterPreferenceList_To_v1alpha2_VirtualMachineClusterPreferenceList(in *v1beta1.VirtualMachineClusterPreferenceList, out *VirtualMachineClusterPreferenceList, s conversion.Scope) error

Convert_v1beta1_VirtualMachineClusterPreferenceList_To_v1alpha2_VirtualMachineClusterPreferenceList is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineClusterPreference_To_v1alpha2_VirtualMachineClusterPreference added in v1.0.0

func Convert_v1beta1_VirtualMachineClusterPreference_To_v1alpha2_VirtualMachineClusterPreference(in *v1beta1.VirtualMachineClusterPreference, out *VirtualMachineClusterPreference, s conversion.Scope) error

Convert_v1beta1_VirtualMachineClusterPreference_To_v1alpha2_VirtualMachineClusterPreference is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineInstancetypeList_To_v1alpha2_VirtualMachineInstancetypeList added in v1.0.0

func Convert_v1beta1_VirtualMachineInstancetypeList_To_v1alpha2_VirtualMachineInstancetypeList(in *v1beta1.VirtualMachineInstancetypeList, out *VirtualMachineInstancetypeList, s conversion.Scope) error

Convert_v1beta1_VirtualMachineInstancetypeList_To_v1alpha2_VirtualMachineInstancetypeList is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachineInstancetypeSpec_To_v1alpha2_VirtualMachineInstancetypeSpec added in v1.0.0

func Convert_v1beta1_VirtualMachineInstancetypeSpec_To_v1alpha2_VirtualMachineInstancetypeSpec(in *v1beta1.VirtualMachineInstancetypeSpec, out *VirtualMachineInstancetypeSpec, s conversion.Scope) error

func Convert_v1beta1_VirtualMachineInstancetype_To_v1alpha2_VirtualMachineInstancetype added in v1.0.0

func Convert_v1beta1_VirtualMachineInstancetype_To_v1alpha2_VirtualMachineInstancetype(in *v1beta1.VirtualMachineInstancetype, out *VirtualMachineInstancetype, s conversion.Scope) error

Convert_v1beta1_VirtualMachineInstancetype_To_v1alpha2_VirtualMachineInstancetype is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachinePreferenceList_To_v1alpha2_VirtualMachinePreferenceList added in v1.0.0

func Convert_v1beta1_VirtualMachinePreferenceList_To_v1alpha2_VirtualMachinePreferenceList(in *v1beta1.VirtualMachinePreferenceList, out *VirtualMachinePreferenceList, s conversion.Scope) error

Convert_v1beta1_VirtualMachinePreferenceList_To_v1alpha2_VirtualMachinePreferenceList is an autogenerated conversion function.

func Convert_v1beta1_VirtualMachinePreferenceSpec_To_v1alpha2_VirtualMachinePreferenceSpec added in v1.0.0

func Convert_v1beta1_VirtualMachinePreferenceSpec_To_v1alpha2_VirtualMachinePreferenceSpec(in *v1beta1.VirtualMachinePreferenceSpec, out *VirtualMachinePreferenceSpec, s conversion.Scope) error

func Convert_v1beta1_VirtualMachinePreference_To_v1alpha2_VirtualMachinePreference added in v1.0.0

func Convert_v1beta1_VirtualMachinePreference_To_v1alpha2_VirtualMachinePreference(in *v1beta1.VirtualMachinePreference, out *VirtualMachinePreference, s conversion.Scope) error

Convert_v1beta1_VirtualMachinePreference_To_v1alpha2_VirtualMachinePreference is an autogenerated conversion function.

func Convert_v1beta1_VolumePreferences_To_v1alpha2_VolumePreferences added in v1.0.0

func Convert_v1beta1_VolumePreferences_To_v1alpha2_VolumePreferences(in *v1beta1.VolumePreferences, out *VolumePreferences, s conversion.Scope) error

Convert_v1beta1_VolumePreferences_To_v1alpha2_VolumePreferences is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

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

func RegisterConversions added in v1.0.0

func RegisterConversions(s *runtime.Scheme) error

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

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CPUInstancetype

type CPUInstancetype 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 PreferSockets.
	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"`
}

CPUInstancetype contains the CPU related configuration of a given VirtualMachineInstancetypeSpec.

Guest is a required attribute and defines the number of vCPUs to be exposed to the guest by the instancetype.

func (*CPUInstancetype) DeepCopy

func (in *CPUInstancetype) DeepCopy() *CPUInstancetype

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

func (*CPUInstancetype) DeepCopyInto

func (in *CPUInstancetype) DeepCopyInto(out *CPUInstancetype)

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

func (CPUInstancetype) SwaggerDoc

func (CPUInstancetype) SwaggerDoc() map[string]string

type CPUPreferences

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

func (in *CPUPreferences) DeepCopy() *CPUPreferences

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

func (*CPUPreferences) DeepCopyInto

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

func (CPUPreferences) SwaggerDoc() map[string]string

type ClockPreferences

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

func (in *ClockPreferences) DeepCopy() *ClockPreferences

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

func (*ClockPreferences) DeepCopyInto

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

func (ClockPreferences) SwaggerDoc() map[string]string

type DevicePreferences

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"`

	// PreferredAutoattachInputDevice optionally defines the preferred value of AutoattachInputDevice
	//
	// +optional
	PreferredAutoattachInputDevice *bool `json:"preferredAutoattachInputDevice,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 v1.InputBus `json:"preferredInputBus,omitempty"`

	// PreferredInputType optionally defines the preferred type for Input devices.
	//
	// +optional
	PreferredInputType v1.InputType `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

func (in *DevicePreferences) DeepCopy() *DevicePreferences

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

func (*DevicePreferences) DeepCopyInto

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

func (DevicePreferences) SwaggerDoc() map[string]string

type FeaturePreferences

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

func (in *FeaturePreferences) DeepCopy() *FeaturePreferences

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

func (*FeaturePreferences) DeepCopyInto

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

func (FeaturePreferences) SwaggerDoc() map[string]string

type FirmwarePreferences

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

func (in *FirmwarePreferences) DeepCopy() *FirmwarePreferences

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

func (*FirmwarePreferences) DeepCopyInto

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

func (FirmwarePreferences) SwaggerDoc() map[string]string

type MachinePreferences

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

func (in *MachinePreferences) DeepCopy() *MachinePreferences

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

func (*MachinePreferences) DeepCopyInto

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

func (MachinePreferences) SwaggerDoc() map[string]string

type MemoryInstancetype

type MemoryInstancetype struct {

	// Required amount of memory which is visible inside the guest OS.
	Guest resource.Quantity `json:"guest"`

	// Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory.
	// +optional
	Hugepages *v1.Hugepages `json:"hugepages,omitempty"`
}

MemoryInstancetype contains the Memory related configuration of a given VirtualMachineInstancetypeSpec.

Guest is a required attribute and defines the amount of RAM to be exposed to the guest by the instancetype.

func (*MemoryInstancetype) DeepCopy

func (in *MemoryInstancetype) DeepCopy() *MemoryInstancetype

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

func (*MemoryInstancetype) DeepCopyInto

func (in *MemoryInstancetype) DeepCopyInto(out *MemoryInstancetype)

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

func (MemoryInstancetype) SwaggerDoc

func (MemoryInstancetype) SwaggerDoc() map[string]string

type PreferredCPUTopology

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 VirtualMachineClusterInstancetype

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

	// Required spec describing the instancetype
	Spec VirtualMachineInstancetypeSpec `json:"spec"`
}

VirtualMachineClusterInstancetype is a cluster scoped version of VirtualMachineInstancetype resource.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient +genclient:nonNamespaced

func (*VirtualMachineClusterInstancetype) DeepCopy

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

func (*VirtualMachineClusterInstancetype) DeepCopyInto

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

func (*VirtualMachineClusterInstancetype) DeepCopyObject

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

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

func (VirtualMachineClusterInstancetype) SwaggerDoc

type VirtualMachineClusterInstancetypeList

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

VirtualMachineClusterInstancetypeList is a list of VirtualMachineClusterInstancetype resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineClusterInstancetypeList) DeepCopy

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

func (*VirtualMachineClusterInstancetypeList) DeepCopyInto

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

func (*VirtualMachineClusterInstancetypeList) DeepCopyObject

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

func (VirtualMachineClusterInstancetypeList) SwaggerDoc

type VirtualMachineClusterPreference

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

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

func (*VirtualMachineClusterPreference) DeepCopyInto

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

func (*VirtualMachineClusterPreference) DeepCopyObject

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

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

func (VirtualMachineClusterPreference) SwaggerDoc

type VirtualMachineClusterPreferenceList

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

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

func (*VirtualMachineClusterPreferenceList) DeepCopyInto

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

func (*VirtualMachineClusterPreferenceList) DeepCopyObject

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

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

func (VirtualMachineClusterPreferenceList) SwaggerDoc

type VirtualMachineInstancetype

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

	// Required spec describing the instancetype
	Spec VirtualMachineInstancetypeSpec `json:"spec"`
}

VirtualMachineInstancetype 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 (*VirtualMachineInstancetype) DeepCopy

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

func (*VirtualMachineInstancetype) DeepCopyInto

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

func (*VirtualMachineInstancetype) DeepCopyObject

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

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

func (VirtualMachineInstancetype) SwaggerDoc

func (VirtualMachineInstancetype) SwaggerDoc() map[string]string

type VirtualMachineInstancetypeList

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

VirtualMachineInstancetypeList is a list of VirtualMachineInstancetype resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*VirtualMachineInstancetypeList) DeepCopy

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

func (*VirtualMachineInstancetypeList) DeepCopyInto

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

func (*VirtualMachineInstancetypeList) DeepCopyObject

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

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

func (VirtualMachineInstancetypeList) SwaggerDoc

func (VirtualMachineInstancetypeList) SwaggerDoc() map[string]string

type VirtualMachineInstancetypeSpec

type VirtualMachineInstancetypeSpec struct {

	// Required CPU related attributes of the instancetype.
	CPU CPUInstancetype `json:"cpu"`

	// Required Memory related attributes of the instancetype.
	Memory MemoryInstancetype `json:"memory"`

	// Optionally defines any GPU devices associated with the instancetype.
	//
	// +optional
	// +listType=atomic
	GPUs []v1.GPU `json:"gpus,omitempty"`

	// Optionally defines any HostDevices associated with the instancetype.
	//
	// +optional
	// +listType=atomic
	HostDevices []v1.HostDevice `json:"hostDevices,omitempty"`

	// Optionally defines the IOThreadsPolicy to be used by the instancetype.
	//
	// +optional
	IOThreadsPolicy *v1.IOThreadsPolicy `json:"ioThreadsPolicy,omitempty"`

	// Optionally defines the LaunchSecurity to be used by the instancetype.
	//
	// +optional
	LaunchSecurity *v1.LaunchSecurity `json:"launchSecurity,omitempty"`
}

VirtualMachineInstancetypeSpec is a description of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype.

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 instancetype.

func (*VirtualMachineInstancetypeSpec) DeepCopy

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

func (*VirtualMachineInstancetypeSpec) DeepCopyInto

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

func (VirtualMachineInstancetypeSpec) SwaggerDoc

func (VirtualMachineInstancetypeSpec) SwaggerDoc() map[string]string

type VirtualMachinePreference

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

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

func (*VirtualMachinePreference) DeepCopyInto

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

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

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

func (VirtualMachinePreference) SwaggerDoc

func (VirtualMachinePreference) SwaggerDoc() map[string]string

type VirtualMachinePreferenceList

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

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

func (*VirtualMachinePreferenceList) DeepCopyInto

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

func (*VirtualMachinePreferenceList) DeepCopyObject

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

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

func (VirtualMachinePreferenceList) SwaggerDoc

func (VirtualMachinePreferenceList) SwaggerDoc() map[string]string

type VirtualMachinePreferenceSpec

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"`

	// Volumes optionally defines preferences associated with the Volumes attribute of a VirtualMachineInstace DomainSpec
	//
	//+optional
	Volumes *VolumePreferences `json:"volumes,omitempty"`
}

VirtualMachinePreferenceSpec is a description of the VirtualMachinePreference or VirtualMachineClusterPreference.

func (*VirtualMachinePreferenceSpec) DeepCopy

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

func (*VirtualMachinePreferenceSpec) DeepCopyInto

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

func (VirtualMachinePreferenceSpec) SwaggerDoc

func (VirtualMachinePreferenceSpec) SwaggerDoc() map[string]string

type VolumePreferences added in v0.59.0

type VolumePreferences struct {

	// PreffereedStorageClassName optionally defines the preferred storageClass
	//
	//+optional
	PreferredStorageClassName string `json:"preferredStorageClassName,omitempty"`
}

func (*VolumePreferences) DeepCopy added in v0.59.0

func (in *VolumePreferences) DeepCopy() *VolumePreferences

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

func (*VolumePreferences) DeepCopyInto added in v0.59.0

func (in *VolumePreferences) DeepCopyInto(out *VolumePreferences)

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

func (VolumePreferences) SwaggerDoc added in v0.59.0

func (VolumePreferences) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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