disk

package
v0.0.0-...-f4df827 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DISK_FORMAT_AMI   = DiskFormat("ami")
	DISK_FORMAT_ARI   = DiskFormat("ari")
	DISK_FORMAT_AKI   = DiskFormat("aki")
	DISK_FORMAT_VHD   = DiskFormat("vhd")
	DISK_FORMAT_VHDX  = DiskFormat("vhdx")
	DISK_FORMAT_VMDK  = DiskFormat("vmdk")
	DISK_FORMAT_RAW   = DiskFormat("raw")
	DISK_FORMAT_QCOW2 = DiskFormat("qcow2")
	DISK_FORMAT_VDI   = DiskFormat("vdi")
	DISK_FORMAT_PLOOP = DiskFormat("ploop")
	DISK_FORMAT_ISO   = DiskFormat("iso")

	DISK_ENCRYPTION_QCOW = DiskEncryption("qcow")
	DISK_ENCRYPTION_LUKS = DiskEncryption("luks")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskEncryption

type DiskEncryption string

type DiskFormat

type DiskFormat string

type DiskInfo

type DiskInfo struct {
	Format        DiskFormat
	Capacity      uint64
	BackingFile   string
	BackingFormat DiskFormat
	Encryption    DiskEncryption
}

func ProbeFormat

func ProbeFormat(header []byte) *DiskInfo

Jump to

Keyboard shortcuts

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