Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶ added in v0.2.4
type AWSClient interface { CreateVM(ami, name string, vmInfo VMInfo) (string, error) DeleteVM(instanceID string) error GetVMInfo(name string) (VMInfo, error) GetDisk(name string) (EBS, error) StartVM(instanceID string) error StopVM(instanceID string) error AssignPublicIP(instance, ip string) error WaitForStatus(instanceID string, status string) error }
type BlockDeviceMapping ¶ added in v0.2.4
type EC2Client ¶ added in v0.2.4
type EC2Client interface { DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) DescribeVolumes(*ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error) DescribeInstanceStatus(*ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error) AssociateAddress(*ec2.AssociateAddressInput) (*ec2.AssociateAddressOutput, error) TerminateInstances(*ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error) StopInstances(*ec2.StopInstancesInput) (*ec2.StopInstancesOutput, error) StartInstances(*ec2.StartInstancesInput) (*ec2.StartInstancesOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) RunInstances(*ec2.RunInstancesInput) (*ec2.Reservation, error) }
Click to show internal directories.
Click to hide internal directories.