Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { ID string `yaml:"id" json:"id"` Subnet string `yaml:"subnet" json:"subnet"` DNS []string `yaml:"dns" json:"dns"` }
Network represents a network for VMs
type Size ¶
type Size struct { Name string `yaml:"name" json:"name"` CPUModel string `yaml:"cpu-model" json:"cpu_model"` CPUs uint `yaml:"cpus" json:"cpus"` Cores uint `yaml:"cores" json:"cores"` Threads uint `yaml:"threads" json:"threads"` Sockets uint `yaml:"sockets" json:"sockets"` Memory uint `yaml:"memory" json:"memory"` }
Size represents all hardware spec definitions for the VM
type VM ¶
type VM struct { Name string `yaml:"name" json:"name"` Namespace string `yaml:"namespace" json:"namespace"` ParentImage string `yaml:"image" json:"image"` Size Size `yaml:"size" json:"size"` SSHKey string `yaml:"sshkey" json:"sshkey"` UserData string `yaml:"user-data" json:"user_data"` Cloud bool `yaml:"cloud" json:"cloud"` Efi bool `yaml:"efi" json:"efi"` AutoRemove bool `yaml:"auto-remove" json:"auto_remove"` Network VMNetOpts `yaml:"network" json:"network"` EmulatorEnv []string `yaml:"emulator-env" json:"emulator_env"` }
VM represents a Virtual Machine guest
Click to show internal directories.
Click to hide internal directories.