package
0.0.0-20220220121959-3cb0d5475244
Repository: https://github.com/moby/hyperkit.git
Documentation: pkg.go.dev

# Functions

GetDiskFormat computes the format based on the path's extensions.
New creates a template config structure.
NewDisk creates a qcow/raw disk configuration based on the spec.
SetLogger sets the logger to use.

# Constants

ConsoleFile configures console to a tty and output to a file (deprecated).
ConsoleLog configures console to a tty and sends its contents to the logs (deprecated).
ConsoleStdio configures console to use Stdio (deprecated).
DiskFormatQcow means the disk is a qcow2.
DiskFormatRaw means the disk is a raw file.
NoInteractiveConsole disables the interactive console.
StdioInteractiveConsole creates a console on stdio.
TTYInteractiveConsole creates a console on a TTY.

# Structs

HyperKit contains the configuration of the hyperkit VM.
QcowDisk describes a qcow2 disk image file.
RawDisk describes a raw disk image file.
Serial port.
Socket9P contains a unix domain socket path and 9p tag.
StandardLogger makes the go standard logger comply to our Logger interface.

# Interfaces

Disk in an interface for qcow2 and raw disk images.
Logger is an interface for logging.

# Type aliases

DiskFormat describes the physical format of the disk data.
InteractiveConsole is an optional interactive VM console.