Versions in this module Expand all Collapse all v0 v0.16.2 Sep 2, 2019 v0.16.1 Jan 9, 2019 Changes in this version + const APIEndpoint + func NewDriver(hostName, storePath string) drivers.Driver + type BlockDevice struct + Device string + DiskImage DiskImage + type Client struct + ApiKey string + Endpoint string + User string + func NewClient(user, key, endpoint string) *Client + func (c *Client) SSHKey() *sshKey + func (c *Client) VirtualGuest() *VirtualGuest + type Datacenter struct + Name string + type DiskImage struct + Capacity int + type Driver struct + Client *Client + Id int + SSHKeyID int + func (d *Driver) Create() error + func (d *Driver) DriverName() string + func (d *Driver) GetActiveTransaction() (string, error) + func (d *Driver) GetCreateFlags() []mcnflag.Flag + func (d *Driver) GetIP() (string, error) + func (d *Driver) GetSSHHostname() (string, error) + func (d *Driver) GetState() (state.State, error) + func (d *Driver) GetURL() (string, error) + func (d *Driver) Kill() 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 HostSpec struct + BlockDevices []BlockDevice + Cpu int + Datacenter Datacenter + Domain string + Hostname string + HourlyBilling bool + InstallScript string + LocalDisk bool + Memory int + NetworkMaxSpeeds []NetworkMaxSpeed + Os string + PrimaryBackendNetworkComponent *NetworkComponent + PrimaryNetworkComponent *NetworkComponent + PrivateNetOnly bool + SshKeys []*SSHKey + type NetworkComponent struct + NetworkVLAN *NetworkVLAN + type NetworkMaxSpeed struct + MaxSpeed int + type NetworkVLAN struct + Id int + type SSHKey struct + Id int + Key string + Label string + type VirtualGuest struct + func (c *VirtualGuest) ActiveTransaction(id int) (string, error) + func (c *VirtualGuest) Cancel(id int) error + func (c *VirtualGuest) Create(spec *HostSpec) (int, error) + func (c *VirtualGuest) GetPrivateIP(id int) (string, error) + func (c *VirtualGuest) GetPublicIP(id int) (string, error) + func (c *VirtualGuest) Pause(id int) error + func (c *VirtualGuest) PowerOff(id int) error + func (c *VirtualGuest) PowerOn(id int) error + func (c *VirtualGuest) PowerState(id int) (string, error) + func (c *VirtualGuest) Reboot(id int) error + func (c *VirtualGuest) Resume(id int) error