guestconversion

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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