Documentation ¶
Index ¶
- Variables
- type Provider
- func (prvdr Provider) Boot(machines []db.Machine) ([]string, error)
- func (prvdr Provider) Cleanup() error
- func (prvdr Provider) List() (machines []db.Machine, err error)
- func (prvdr Provider) SetACLs(acls []acl.ACL) error
- func (prvdr Provider) Stop(machines []db.Machine) error
- func (prvdr Provider) UpdateFloatingIPs(desired []db.Machine) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Regions = []string{"nyc1", "nyc2", "lon1", "sfo1", "sfo2"}
Regions supported by the Digital Ocean API
Functions ¶
This section is empty.
Types ¶
type Provider ¶
The Provider object represents a connection to DigitalOcean.
func (Provider) Boot ¶
Boot will boot every machine in a goroutine, and wait for the machines to come up.
func (Provider) Cleanup ¶
Cleanup removes unnecessary detritus from this provider. It's intended to be called when there are no VMS running or expected to be running soon.
func (Provider) List ¶
List will fetch all droplets that have the same name as the cluster namespace.
Click to show internal directories.
Click to hide internal directories.