Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DescribeInstances([]*ec2.Filter) (*ec2.DescribeInstancesOutput, error) RunInstances(*ec2.RunInstancesInput) (*ec2.Reservation, error) TerminateInstances(ids []string) error DescribeSpotInstanceRequests(ids []string, filters []*ec2.Filter) ( []*ec2.SpotInstanceRequest, error) RequestSpotInstances(spotPrice string, count int64, launchSpec *ec2.RequestSpotLaunchSpecification) ( []*ec2.SpotInstanceRequest, error) CancelSpotInstanceRequests(ids []string) error DescribeSecurityGroup(name string) ([]*ec2.SecurityGroup, error) CreateSecurityGroup(name, description string) (string, error) DeleteSecurityGroup(id string) error AuthorizeSecurityGroup(name, src string, ranges []*ec2.IpPermission) error RevokeSecurityGroup(name string, ranges []*ec2.IpPermission) error DescribeAddresses() ([]*ec2.Address, error) AssociateAddress(id, allocationID string) error DisassociateAddress(associationID string) error DescribeVolumes() ([]*ec2.Volume, error) }
A Client to an Amazon EC2 region.
Click to show internal directories.
Click to hide internal directories.