Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + const PrivateIP + const ProvisionTimeout + const PublicIP + const RegionEnv + const SSHTimeout + const StateDestroyed + const StateHalted + const StatePending + const StateStarted + var ErrNoCreds = errors.New("Missing AWS credentials") + var ErrNoIPs = errors.New("Missing IPs for instance") + var ErrNoInstance = errors.New("Missing VM instance") + var ErrNoInstanceID = errors.New("Missing instance ID") + var ErrNoRegion = errors.New("Missing AWS region") + var ErrNoSupportResume = errors.New("Resume action not supported by AWS") + var ErrNoSupportSuspend = errors.New("Suspend action not supported by AWS") + var ErrProvisionTimeout = errors.New("AWS provision timeout") + func ValidCredentials(region string) error + type VM struct + AMI string + DeleteKeysOnDestroy bool + DeleteNonRootVolumeOnDestroy bool + DeviceName string + InstanceID string + InstanceType string + KeepRootVolumeOnDestroy bool + KeyPair string + Name string + Region string + SSHCreds ssh.Credentials + SecurityGroup string + Subnet string + VPC string + VolumeSize int + VolumeType string + func (vm *VM) DeleteKeyPair() error + func (vm *VM) Destroy() error + func (vm *VM) GetIPs() ([]net.IP, error) + func (vm *VM) GetName() string + func (vm *VM) GetSSH(options ssh.Options) (ssh.Client, error) + func (vm *VM) GetState() (string, error) + func (vm *VM) Halt() error + func (vm *VM) Provision() error + func (vm *VM) Resume() error + func (vm *VM) SetTag(key, value string) error + func (vm *VM) Start() error + func (vm *VM) Suspend() error + func (vm *VM) UseKeyPair(kp *ssh.KeyPair, name string) error