Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2015 Changes in this version + var ErrMachineExist = errors.New("machine already exists") + var ErrMachineNotExist = errors.New("machine does not exist") + var ErrUnableToGenerateRandomIP = errors.New("unable to generate random IP") + var ErrVBMNotFound = errors.New("VBoxManage not found") + func GetCreateFlags() []cli.Flag + func NewDriver(machineName string, storePath string, caCert string, privateKey string) (drivers.Driver, error) + type Driver struct + Boot2DockerImportVM string + Boot2DockerURL string + CPU int + CaCertPath string + DiskSize int + HostOnlyCIDR string + IPAddress string + MachineName string + Memory int + PrivateKeyPath string + SSHPort int + SSHUser string + SwarmDiscovery string + SwarmHost string + SwarmMaster bool + func (d *Driver) AuthorizePort(ports []*drivers.Port) error + func (d *Driver) Create() error + func (d *Driver) DeauthorizePort(ports []*drivers.Port) error + func (d *Driver) DriverName() string + func (d *Driver) GetIP() (string, error) + func (d *Driver) GetMachineName() string + func (d *Driver) GetSSHHostname() (string, error) + func (d *Driver) GetSSHKeyPath() string + func (d *Driver) GetSSHPort() (int, error) + func (d *Driver) GetSSHUsername() string + func (d *Driver) GetState() (state.State, error) + func (d *Driver) GetURL() (string, error) + func (d *Driver) Kill() error + func (d *Driver) PreCreateCheck() error + func (d *Driver) Remove() error + func (d *Driver) Restart() error + func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error + func (d *Driver) Start() error + func (d *Driver) Stop() error + type VirtualBoxVM struct + CPUs int + Memory int + type VirtualDisk struct + Path string + UUID string