Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGuestConversionJobSpec ¶
func MakeGuestConversionJobSpec(vmSpec *v1.VirtualMachine, libvirtConfigMap *corev1.ConfigMap) *batchv1.Job
MakeGuestConversionJobSpec creates a job spec for a virt-v2v job, containing a volume and a mount for each volume on the VM, as well as a volume and mount for the config map containing the libvirt domain XML.
func MakeLibvirtDomain ¶
func MakeLibvirtDomain(vmSpec *v1.VirtualMachine) *libvirtxml.Domain
MakeLibvirtDomain makes a minimal libvirt domain for a VM to be used by the guest conversion job
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.