Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachOptions ¶
type AttachOptions struct {
// Image is the path to the qcow2 backing image.
Image string
// Size is the size of the qcow2 backing image in bytes.
Size int64
// VolumeGroup is the name of the LVM volume group to create.
VolumeGroup string
// LogicalVolume is the name of the optional LVM logical volume to create.
LogicalVolume string
// EncryptionPassphrase is the optional LUKS encryption passphrase.
EncryptionPassphrase string
// PIDFilePath is the optional path to the qemu-nbd pid file.
// If not specified, /run/qemu-nbd.pid is used.
PIDFilePath string
// SocketPath is the optional path to the qemu-nbd socket.
// If not specified, /run/qemu-nbd.sock is used.
SocketPath string
}
AttachOptions are the options for attaching a virtual disk device.
Click to show internal directories.
Click to hide internal directories.