vbox

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2015 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteVM

func DeleteVM(name string) error

func GetVMStatus

func GetVMStatus(name, dir string) (string, error)

func LaunchVM

func LaunchVM(c *VMConfig) (*exec.Cmd, error)

func StopVM

func StopVM(name string) error

func StoreConfig

func StoreConfig(c *VMConfig) error

func VBoxHeadless

func VBoxHeadless(args ...string) (*exec.Cmd, error)

func VBoxManage

func VBoxManage(args ...string) error

Types

type VMConfig

type VMConfig struct {
	Name       string
	Dir        string
	Image      string
	Memory     int64
	Cpus       int
	Networking string
	Bridge     string
	NatRules   []nat.Rule
	ConfigFile string
	MAC        string
}

func LoadConfig

func LoadConfig(name string) (*VMConfig, error)

Jump to

Keyboard shortcuts

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