Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGuestConversionPodSpec ¶ added in v0.3.1
func MakeGuestConversionPodSpec(vmSpec *v1.VirtualMachine, dataVolumes map[string]cdiv1.DataVolume, libvirtConfigMap *corev1.ConfigMap) *corev1.Pod
MakeGuestConversionPodSpec creates a pod spec for a virt-v2v pod, 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, dataVolumes map[string]cdiv1.DataVolume) *libvirtxml.Domain
MakeLibvirtDomain makes a minimal libvirt domain for a VM to be used by the guest conversion pod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.