Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateDroplet(name, region, size, userData, image string) (id int, err error)
- func (c *Client) CreateFirewall(name string, dropletID int) error
- func (c *Client) CreateSSHKey(name, publicKey string) (id int, err error)
- func (c *Client) DeleteDroplet(dropletID int) error
- func (c *Client) DeleteFirewall(firewallID string) error
- func (c *Client) GetAccountSSHKeys() ([]godo.Key, error)
- func (c *Client) ListDroplets() (droplets []godo.Droplet, err error)
- func (c *Client) ListFirewalls() (firewalls []godo.Firewall, err error)
- func (c *Client) ListRegions() (regions map[string]string, err error)
- func (c *Client) WaitForDropletIP(dropletID int) (ip string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateDroplet ¶
func (*Client) CreateSSHKey ¶ added in v0.0.15
func (*Client) DeleteDroplet ¶
func (*Client) DeleteFirewall ¶
func (*Client) GetAccountSSHKeys ¶ added in v0.0.15
func (*Client) ListFirewalls ¶
Click to show internal directories.
Click to hide internal directories.