Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + var VBOXMANAGE = "/usr/bin/VBoxManage" — linux/amd64 + var VBOXMANAGE = "/usr/local/bin/VBoxManage" — darwin/amd64 + var VBOXMANAGE = filepath.Join(os.Getenv("PROGRAMFILES"), "Oracle", "VirtualBox", "VBoxManage.exe") — windows/amd64 + func AddNIC(vm VM, nic NIC) error + func DeleteNIC(vm VM, nic NIC) error + func DeleteNICs(vm VM) error + func GetBridgedDeviceName(macAddr string) (string, error) + func GetBridgedDeviceNameIPMap() (map[string]string, error) + func GetBridgedDevices() ([]string, error) + type Backing int + const Bridged + const Disabled + const Nat + const Unsupported + type Config struct + NICs []NIC + type NIC struct + Backing Backing + BackingDevice string + Idx int + type Runner interface + Run func(args ...string) (string, string, error) + RunCombinedError func(args ...string) (string, error) + type VM struct + Config Config + Credentials libssh.Credentials + Name string + Src string + func (vm *VM) Destroy() error + func (vm *VM) GetIPs() ([]net.IP, error) + func (vm *VM) GetInterfaces() ([]NIC, error) + func (vm *VM) GetName() string + func (vm *VM) GetSSH(options libssh.Options) (libssh.Client, error) + func (vm *VM) GetState() (string, error) + func (vm *VM) Halt() error + func (vm *VM) Provision() error + func (vm *VM) Resume() error + func (vm *VM) Start() error + func (vm *VM) Suspend() error