Documentation ¶
Index ¶
- Variables
- type Provider
- func (prvdr *Provider) Boot(bootSet []db.Machine) ([]string, error)
- func (prvdr *Provider) Cleanup() error
- func (prvdr *Provider) List() ([]db.Machine, 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 Zones = []string{"us-central1-a", "us-east1-b", "europe-west1-b"}
Zones is the list of supported GCE zones
Functions ¶
This section is empty.
Types ¶
type Provider ¶
The Provider objects represents a connection to GCE.
func New ¶
New creates a GCE client.
Providers are differentiated (namespace) by setting the description and filtering off of that.
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.