Documentation ¶
Index ¶
- Constants
- func CreateIfNeeded(vmi *corev1.VirtualMachineInstance, clusterConfig *virtconfig.ClusterConfig, ...) error
- func HasPersistentTPMDevice(vmiSpec *corev1.VirtualMachineInstanceSpec) bool
- func IsBackendStorageNeededForVM(vm *corev1.VirtualMachine) bool
- func PVCForVMI(vmi *corev1.VirtualMachineInstance) string
Constants ¶
View Source
const ( PVCPrefix = "persistent-state-for-" PVCSize = "10Mi" )
Variables ¶
This section is empty.
Functions ¶
func CreateIfNeeded ¶
func CreateIfNeeded(vmi *corev1.VirtualMachineInstance, clusterConfig *virtconfig.ClusterConfig, client kubecli.KubevirtClient) error
func HasPersistentTPMDevice ¶
func HasPersistentTPMDevice(vmiSpec *corev1.VirtualMachineInstanceSpec) bool
func IsBackendStorageNeededForVM ¶
func IsBackendStorageNeededForVM(vm *corev1.VirtualMachine) bool
func PVCForVMI ¶
func PVCForVMI(vmi *corev1.VirtualMachineInstance) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.