Versions in this module Expand all Collapse all v1 v1.0.2 Dec 3, 2020 v1.0.1 Jun 16, 2020 v1.0.0 Mar 20, 2020 Changes in this version + func NewMockApiServer() *httptest.Server + type Driver struct + APIKey string + AppId string + AutoBackups bool + DCID int + DDOSProtection bool + DDOSProtectionAvailable bool + DockerPort int + FirewallGroupId string + Hostname string + IPV6 bool + ISOID int + InstanceId string + InternalIp string + IpxeChainURL string + Label string + NetworkId []string + NotifyActivate bool + OSID int + PrivateNetwork bool + ReservedIPV4 string + SSHKeyId []string + SSHKeyIdAvailable bool + ScriptId string + ServerType int + SnapshotId string + Tag string + Userdata string + VpsPlanId int + func NewDriver(hostName, storePath string) *Driver + func (d *Driver) Create() error + func (d *Driver) DriverName() string + func (d *Driver) GetCreateFlags() []mcnflag.Flag + func (d *Driver) GetIP() (string, error) + func (d *Driver) GetSSHHostname() (string, error) + func (d *Driver) GetSSHKeyPath() 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