Documentation ¶
Index ¶
Constants ¶
View Source
const ( UUID_FILE_NAME = ".uuid" MAC_FILE_NAME = ".mac" )
View Source
const ( CONFIG_FILE_NAME = "config.yml" BOX_FILE_EXTENSION = ".xhv" )
View Source
const (
BOX_ROOT_DIR = "$HOME/.xhyvectl/boxes/"
)
View Source
const (
COMMAND = "xhyvectl"
)
View Source
const (
VM_ROOT_DIR = "$HOME/.xhyvectl/vms/"
)
Variables ¶
View Source
var ( VERSION string GITSHA1 string )
Functions ¶
func Initialize ¶
func Initialize()
func SetupProgressBar ¶
func SetupProgressBar(size int, prefix string) *pb.ProgressBar
Types ¶
type BootConfig ¶
type Config ¶
type Config struct { Type string `yaml:"type"` BootConfig BootConfig `yaml:"boot"` SSHConfig SSHConfig `yaml:"ssh"` VMConfig VMConfig `yaml:"vm,omitempty"` }
func LoadConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.