Documentation ¶
Index ¶
- Variables
- type Provider
- func (prvdr *Provider) Boot(bootSet []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(machines []db.Machine) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Regions = []string{"us-east-1", "ap-southeast-2", "us-west-1", "us-west-2"}
Regions is the list of supported AWS regions.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
The Provider wraps a client to Amazon EC2.
func (*Provider) Boot ¶
Boot creates instances in the `prvdr` configured according to the `bootSet`.
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.
Click to show internal directories.
Click to hide internal directories.