Versions in this module Expand all Collapse all v0 v0.5.1 Nov 16, 2015 Changes in this version + const APIEndpoint type Client + func (c *Client) SSHKey() *sshKey type Driver + SSHKeyID int + func (d *Driver) GetCreateFlags() []mcnflag.Flag type HostSpec + PrimaryBackendNetworkComponent *NetworkComponent + PrimaryNetworkComponent *NetworkComponent + type NetworkComponent struct + NetworkVLAN *NetworkVLAN + 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 v0.2.0 Apr 16, 2015 Changes in this version + const ApiEndpoint + func GetCreateFlags() []cli.Flag + func NewDriver(machineName string, storePath string, caCert string, privateKey string) (drivers.Driver, error) + 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 + CaCertPath string + Client *Client + IPAddress string + Id int + MachineName string + 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) GetActiveTransaction() (string, error) + 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 + type HostSpec struct + BlockDevices []BlockDevice + Cpu int + Datacenter Datacenter + Domain string + Hostname string + HourlyBilling bool + InstallScript string + LocalDisk bool + Memory int + Os string + PrivateNetOnly bool + SshKeys []*SshKey + type SshKey struct + Id int + Key string + Label string