Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MountVirtualDisk ¶
MountVirtualDisk mounts a virtual disk device.
Types ¶
type MountOptions ¶
type MountOptions struct {
// ImagePath is the path to the qcow2 backing image.
ImagePath string
// Size is the size of the qcow2 backing image in bytes.
Size int64
// VolumeGroup is the name of the optional LVM volume group to create.
VolumeGroup string
// LogicalVolume is the name of the optional LVM logical volume to create.
LogicalVolume string
}
MountOptions are the options for mounting a virtual disk device.
Click to show internal directories.
Click to hide internal directories.