Versions in this module Expand all Collapse all v0 v0.5.1 Nov 16, 2015 Changes in this version + var ErrMustEnableVTX = errors.New(...) + var ErrNetworkAddrCidr = errors.New("host-only cidr must be specified with a host address, not a network address") + var ErrUnableToGenerateRandomIP = errors.New("unable to generate random IP") type Driver + Boot2DockerImportVM string + HostOnlyCIDR string + HostOnlyNicType string + HostOnlyPromiscMode string + NoShare bool + func (d *Driver) GetCreateFlags() []mcnflag.Flag + func (d *Driver) IsVTXDisabled() bool + func (d *Driver) IsVTXDisabledInTheVM() (bool, error) + type VBoxCmdManager struct + type VBoxManager interface + type VM struct + CPUs int + Memory int + type VirtualDisk struct + Path string + UUID string v0.2.0 Apr 16, 2015 Changes in this version + var ErrMachineExist = errors.New("machine already exists") + var ErrMachineNotExist = errors.New("machine does not exist") + 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 + Boot2DockerURL string + CPU int + CaCertPath string + DiskSize int + 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) GetProviderType() provider.ProviderType + 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