Help us shape the future of Go! Take the 2026 Go Developer Survey

guestconversion

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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