Documentation ¶
Index ¶
Constants ¶
View Source
const ( VolName = "disk" VolNameRaw = VolName + ".raw" )
Variables ¶
This section is empty.
Functions ¶
func CreateTarArchive ¶
func CreateTarArchive(dir string, target string, targetDiskSize int64, imageDist string, volumeDiskName string) error
bundles the dir into a OVA image
func Render ¶
func Render(imageName, volumeName string, srcVolumeSize int64, targetDiskSize int64, ImageDist string) (string, error)
Render will generate the OVA spec from the template with all the required information like image name, volume name and size
func RenderMeta ¶
RenderMeta will generate the OVA meta spec from the template with the image name
Types ¶
Click to show internal directories.
Click to hide internal directories.