Documentation ¶
Index ¶
- Constants
- Variables
- func AddKernelBootToVMI(vmi *v1.VirtualMachineInstance)
- func GetComputeSmallInstancetypeSpec() instancetypev1beta1.VirtualMachineInstancetypeSpec
- func GetMigrationPolicy() *v1alpha1.MigrationPolicy
- func GetNonPreemtible() *schedulingv1.PriorityClass
- func GetPreemtible() *schedulingv1.PriorityClass
- func GetVMCirros() *v1.VirtualMachine
- func GetVMCirrosSata() *v1.VirtualMachine
- func GetVMCirrosWithHookSidecarConfigMap() *v1.VirtualMachine
- func GetVMDataVolume() *v1.VirtualMachine
- func GetVMIARM() *v1.VirtualMachineInstance
- func GetVMIAlpineEFI() *v1.VirtualMachineInstance
- func GetVMIEphemeral() *v1.VirtualMachineInstance
- func GetVMIEphemeralFedora() *v1.VirtualMachineInstance
- func GetVMIEphemeralFedoraIsolated() *v1.VirtualMachineInstance
- func GetVMIGPU() *v1.VirtualMachineInstance
- func GetVMIHostDisk() *v1.VirtualMachineInstance
- func GetVMIKernelBoot() *v1.VirtualMachineInstance
- func GetVMIKernelBootWithRandName() *v1.VirtualMachineInstance
- func GetVMIMasquerade() *v1.VirtualMachineInstance
- func GetVMIMigratable() *v1.VirtualMachineInstance
- func GetVMIMigration() *v1.VirtualMachineInstanceMigration
- func GetVMIMultusMultipleNet() *v1.VirtualMachineInstance
- func GetVMIMultusPtp() *v1.VirtualMachineInstance
- func GetVMINoCloud() *v1.VirtualMachineInstance
- func GetVMIPresetSmall() *v1.VirtualMachineInstancePreset
- func GetVMIPvc() *v1.VirtualMachineInstance
- func GetVMIReplicaSetCirros() *v1.VirtualMachineInstanceReplicaSet
- func GetVMISRIOV() *v1.VirtualMachineInstance
- func GetVMISata() *v1.VirtualMachineInstance
- func GetVMISecureBoot() *v1.VirtualMachineInstance
- func GetVMIUSB() *v1.VirtualMachineInstance
- func GetVMIWindows() *v1.VirtualMachineInstance
- func GetVMIWithHookSidecar() *v1.VirtualMachineInstance
- func GetVMMultiPvc() *v1.VirtualMachine
- func GetVMPoolCirros() *poolv1.VirtualMachinePool
- func GetVMPriorityClass() *v1.VirtualMachine
- func GetVirtualMachineClusterInstancetypeComputeSmall() *instancetypev1beta1.VirtualMachineClusterInstancetype
- func GetVirtualMachineInstancetypeComputeLarge() *instancetypev1beta1.VirtualMachineInstancetype
- func GetVirtualMachineInstancetypeComputeSmall() *instancetypev1beta1.VirtualMachineInstancetype
- func GetVirtualMachinePreferenceVirtio() *instancetypev1beta1.VirtualMachinePreference
- func GetVirtualMachinePreferenceWindows() *instancetypev1beta1.VirtualMachinePreference
- func GetVmCirrosClusterInstancetypeComputeSmall() *v1.VirtualMachine
- func GetVmCirrosInstancetypeComputeLarge() *v1.VirtualMachine
- func GetVmCirrosInstancetypeComputeLargePreferencesVirtio() *v1.VirtualMachine
- func GetVmCirrosInstancetypeComputeLargePreferencesWindows() *v1.VirtualMachine
- func GetVmCirrosInstancetypeComputeSmall() *v1.VirtualMachine
- func GetVmWindowsInstancetypeComputeLargePreferencesWindows() *v1.VirtualMachine
- func GetVmiWithHookSidecarConfigMap() *v1.VirtualMachineInstance
Constants ¶
View Source
const ( VmiEphemeral = "vmi-ephemeral" VmiMigratable = "vmi-migratable" VmiInstancetypeSmall = "vmi-instancetype-small" VmiSata = "vmi-sata" VmiFedora = "vmi-fedora" VmiFedoraIsolated = "vmi-fedora-isolated" VmiSecureBoot = "vmi-secureboot" VmiAlpineEFI = "vmi-alpine-efi" VmiNoCloud = "vmi-nocloud" VmiPVC = "vmi-pvc" VmiWindows = "vmi-windows" VmiKernelBoot = "vmi-kernel-boot" VmiMasquerade = "vmi-masquerade" VmiSRIOV = "vmi-sriov" VmiWithHookSidecar = "vmi-with-sidecar-hook" VmiWithHookSidecarConfigMap = "vmi-with-sidecar-hook-configmap" VmiMultusPtp = "vmi-multus-ptp" VmiMultusMultipleNet = "vmi-multus-multiple-net" VmiHostDisk = "vmi-host-disk" VmiGPU = "vmi-gpu" VmiARM = "vmi-arm" VmiUSB = "vmi-usb" VmTemplateFedora = "vm-template-fedora" VmTemplateRHEL7 = "vm-template-rhel7" VmTemplateWindows = "vm-template-windows2012r2" )
View Source
const ( Preemtible = "preemtible" NonPreemtible = "non-preemtible" )
View Source
const ( VirtualMachineInstancetypeComputeSmall = "csmall" VirtualMachineClusterInstancetypeComputeSmall = "cluster-csmall" VirtualMachineInstancetypeComputeLarge = "clarge" VirtualMachinePreferenceVirtio = v1.VirtIO VirtualMachinePreferenceWindows = "windows" VmCirrosInstancetypeComputeSmall = "vm-cirros-csmall" VmCirrosClusterInstancetypeComputeSmall = "vm-cirros-cluster-csmall" VmCirrosInstancetypeComputeLarge = "vm-cirros-clarge" VmCirrosInstancetypeComputeLargePreferncesVirtio = "vm-cirros-clarge-virtio" VmCirrosInstancetypeComputeLargePreferencesWindows = "vm-cirros-clarge-windows" VmWindowsInstancetypeComputeLargePreferencesWindows = "vm-windows-clarge-windows" )
View Source
const ( VmCirros = "vm-cirros" VmAlpineMultiPvc = "vm-alpine-multipvc" VmAlpineDataVolume = "vm-alpine-datavolume" VMPriorityClass = "vm-priorityclass" VmCirrosSata = "vm-cirros-sata" VmCirrosWithHookSidecarConfigMap = "vm-cirros-with-sidecar-hook-configmap" )
View Source
const EthernetAdaptorModelToEnableMultiqueue = v1.VirtIO
View Source
const MigrationPolicyName = "example-migration-policy"
View Source
const VmPoolCirros = "vm-pool-cirros"
View Source
const VmiMigration = "migration-job"
View Source
const VmiPresetSmall = "vmi-preset-small"
View Source
const VmiReplicaSetCirros = "vmi-replicaset-cirros"
Variables ¶
View Source
var DockerPrefix = "registry:5000/kubevirt"
View Source
var DockerTag = "devel"
Functions ¶
func AddKernelBootToVMI ¶ added in v0.50.0
func AddKernelBootToVMI(vmi *v1.VirtualMachineInstance)
func GetComputeSmallInstancetypeSpec ¶ added in v0.56.0
func GetComputeSmallInstancetypeSpec() instancetypev1beta1.VirtualMachineInstancetypeSpec
func GetMigrationPolicy ¶ added in v1.0.0
func GetMigrationPolicy() *v1alpha1.MigrationPolicy
func GetNonPreemtible ¶ added in v0.27.0
func GetNonPreemtible() *schedulingv1.PriorityClass
func GetPreemtible ¶ added in v0.27.0
func GetPreemtible() *schedulingv1.PriorityClass
func GetVMCirros ¶
func GetVMCirros() *v1.VirtualMachine
func GetVMCirrosSata ¶ added in v0.54.0
func GetVMCirrosSata() *v1.VirtualMachine
func GetVMCirrosWithHookSidecarConfigMap ¶ added in v1.4.0
func GetVMCirrosWithHookSidecarConfigMap() *v1.VirtualMachine
func GetVMDataVolume ¶
func GetVMDataVolume() *v1.VirtualMachine
func GetVMIARM ¶ added in v0.48.0
func GetVMIARM() *v1.VirtualMachineInstance
The minimum memory for UEFI boot on Arm64 is 256Mi
func GetVMIAlpineEFI ¶ added in v0.14.0
func GetVMIAlpineEFI() *v1.VirtualMachineInstance
func GetVMIEphemeral ¶
func GetVMIEphemeral() *v1.VirtualMachineInstance
func GetVMIEphemeralFedora ¶
func GetVMIEphemeralFedora() *v1.VirtualMachineInstance
func GetVMIEphemeralFedoraIsolated ¶ added in v0.58.1
func GetVMIEphemeralFedoraIsolated() *v1.VirtualMachineInstance
func GetVMIGPU ¶ added in v0.22.0
func GetVMIGPU() *v1.VirtualMachineInstance
func GetVMIHostDisk ¶
func GetVMIHostDisk() *v1.VirtualMachineInstance
func GetVMIKernelBoot ¶ added in v0.42.0
func GetVMIKernelBoot() *v1.VirtualMachineInstance
func GetVMIKernelBootWithRandName ¶ added in v1.1.0
func GetVMIKernelBootWithRandName() *v1.VirtualMachineInstance
func GetVMIMasquerade ¶ added in v0.11.1
func GetVMIMasquerade() *v1.VirtualMachineInstance
func GetVMIMigratable ¶ added in v0.9.2
func GetVMIMigratable() *v1.VirtualMachineInstance
func GetVMIMigration ¶ added in v0.9.2
func GetVMIMigration() *v1.VirtualMachineInstanceMigration
func GetVMIMultusMultipleNet ¶
func GetVMIMultusMultipleNet() *v1.VirtualMachineInstance
func GetVMIMultusPtp ¶
func GetVMIMultusPtp() *v1.VirtualMachineInstance
func GetVMINoCloud ¶
func GetVMINoCloud() *v1.VirtualMachineInstance
func GetVMIPresetSmall ¶
func GetVMIPresetSmall() *v1.VirtualMachineInstancePreset
func GetVMIPvc ¶
func GetVMIPvc() *v1.VirtualMachineInstance
func GetVMIReplicaSetCirros ¶
func GetVMIReplicaSetCirros() *v1.VirtualMachineInstanceReplicaSet
func GetVMISRIOV ¶ added in v0.11.0
func GetVMISRIOV() *v1.VirtualMachineInstance
func GetVMISata ¶
func GetVMISata() *v1.VirtualMachineInstance
func GetVMISecureBoot ¶ added in v0.30.4
func GetVMISecureBoot() *v1.VirtualMachineInstance
func GetVMIUSB ¶ added in v1.1.0
func GetVMIUSB() *v1.VirtualMachineInstance
func GetVMIWindows ¶
func GetVMIWindows() *v1.VirtualMachineInstance
func GetVMIWithHookSidecar ¶
func GetVMIWithHookSidecar() *v1.VirtualMachineInstance
func GetVMMultiPvc ¶
func GetVMMultiPvc() *v1.VirtualMachine
func GetVMPoolCirros ¶ added in v0.51.0
func GetVMPoolCirros() *poolv1.VirtualMachinePool
func GetVMPriorityClass ¶ added in v0.27.0
func GetVMPriorityClass() *v1.VirtualMachine
func GetVirtualMachineClusterInstancetypeComputeSmall ¶ added in v0.56.0
func GetVirtualMachineClusterInstancetypeComputeSmall() *instancetypev1beta1.VirtualMachineClusterInstancetype
func GetVirtualMachineInstancetypeComputeLarge ¶ added in v0.56.0
func GetVirtualMachineInstancetypeComputeLarge() *instancetypev1beta1.VirtualMachineInstancetype
func GetVirtualMachineInstancetypeComputeSmall ¶ added in v0.56.0
func GetVirtualMachineInstancetypeComputeSmall() *instancetypev1beta1.VirtualMachineInstancetype
func GetVirtualMachinePreferenceVirtio ¶ added in v0.56.0
func GetVirtualMachinePreferenceVirtio() *instancetypev1beta1.VirtualMachinePreference
func GetVirtualMachinePreferenceWindows ¶ added in v0.56.0
func GetVirtualMachinePreferenceWindows() *instancetypev1beta1.VirtualMachinePreference
func GetVmCirrosClusterInstancetypeComputeSmall ¶ added in v0.56.0
func GetVmCirrosClusterInstancetypeComputeSmall() *v1.VirtualMachine
func GetVmCirrosInstancetypeComputeLarge ¶ added in v0.56.0
func GetVmCirrosInstancetypeComputeLarge() *v1.VirtualMachine
func GetVmCirrosInstancetypeComputeLargePreferencesVirtio ¶ added in v0.56.0
func GetVmCirrosInstancetypeComputeLargePreferencesVirtio() *v1.VirtualMachine
func GetVmCirrosInstancetypeComputeLargePreferencesWindows ¶ added in v0.56.0
func GetVmCirrosInstancetypeComputeLargePreferencesWindows() *v1.VirtualMachine
func GetVmCirrosInstancetypeComputeSmall ¶ added in v0.56.0
func GetVmCirrosInstancetypeComputeSmall() *v1.VirtualMachine
func GetVmWindowsInstancetypeComputeLargePreferencesWindows ¶ added in v0.56.0
func GetVmWindowsInstancetypeComputeLargePreferencesWindows() *v1.VirtualMachine
func GetVmiWithHookSidecarConfigMap ¶ added in v1.2.0
func GetVmiWithHookSidecarConfigMap() *v1.VirtualMachineInstance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.