Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2015 Changes in this version + const ErrorDuplicateGroup + type Auth struct + AccessKey string + SecretKey string + SessionToken string + func GetAuth(accessKey, secretKey, sessionToken string) Auth + type BlockDeviceMapping struct + DeleteOnTermination bool + DeviceName string + VirtualName string + VolumeSize int64 + VolumeType string + type CreateKeyPairResponse struct + KeyFingerprint string + KeyMaterial []byte + KeyName string + type CreateSecurityGroupResponse struct + GroupId string + RequestId string + Return bool + type CreateTagsResponse struct + RequestId string + Return bool + type DeleteSecurityGroupResponse struct + RequestId string + Return bool + type DescribeInstancesResponse struct + RequestId string + ReservationSet []struct{ ... } + type DescribeKeyPairsResponse struct + KeySet []KeyPair + RequestId string + type DescribeSecurityGroupsResponse struct + RequestId string + SecurityGroupInfo []SecurityGroup + type DescribeSpotInstanceRequestsResponse struct + RequestId string + SpotInstanceRequestSet []struct{ ... } + type DescribeSubnetsResponse struct + RequestId string + SubnetSet []Subnet + type EC2 struct + Auth Auth + Endpoint string + Region string + func NewEC2(auth Auth, region string) *EC2 + func (e *EC2) AuthorizeSecurityGroup(groupId string, permissions []IpPermission) error + func (e *EC2) CreateKeyPair(name string) ([]byte, error) + func (e *EC2) CreateSecurityGroup(name string, description string, vpcId string) (*SecurityGroup, error) + func (e *EC2) CreateTags(id string, tags map[string]string) error + func (e *EC2) DeleteKeyPair(name string) error + func (e *EC2) DeleteSecurityGroup(groupId string) error + func (e *EC2) DescribeSpotInstanceRequests(spotInstanceRequestId string) (string, string, error) + func (e *EC2) GetInstance(instanceId string) (EC2Instance, error) + func (e *EC2) GetKeyPair(name string) (*KeyPair, error) + func (e *EC2) GetKeyPairs() ([]KeyPair, error) + func (e *EC2) GetSecurityGroupById(id string) (*SecurityGroup, error) + func (e *EC2) GetSecurityGroups() ([]SecurityGroup, error) + func (e *EC2) GetSubnets(filters []Filter) ([]Subnet, error) + func (e *EC2) ImportKeyPair(name, publicKey string) error + func (e *EC2) RequestSpotInstances(amiId string, instanceType string, zone string, instanceCount int, ...) (string, error) + func (e *EC2) RestartInstance(instanceId string) error + func (e *EC2) RunInstance(amiId string, instanceType string, zone string, minCount int, maxCount int, ...) (EC2Instance, error) + func (e *EC2) StartInstance(instanceId string) error + func (e *EC2) StopInstance(instanceId string, force bool) error + func (e *EC2) TerminateInstance(instanceId string) error + type EC2Instance struct + AmiLaunchIndex string + Architecture string + BlockDeviceMapping string + ClientToken string + DnsName string + EbsOptimized bool + GroupSet []struct{ ... } + Hypervisor string + ImageId string + InstanceId string + InstanceState struct{ ... } + InstanceType string + IpAddress string + KernelId string + LaunchTime string + Monitoring struct{ ... } + NetworkInterfaceSet []struct{ ... } + Placement struct{ ... } + PrivateDnsName string + PrivateIpAddress string + ProductCodes string + Reason string + RootDeviceName string + RootDeviceType string + SourceDestCheck bool + StateReason struct{ ... } + SubnetId string + VirtualizationType string + VpcId string + type ErrorResponse struct + Errors []struct{ ... } + RequestID string + type Filter struct + Name string + Value string + type ImportKeyPairResponse struct + KeyFingerprint string + KeyMaterial []byte + KeyName string + type Instance struct + type IpPermission struct + FromPort int + IpProtocol string + IpRange string + ToPort int + type KeyPair struct + KeyFingerprint string + KeyName string + type RequestSpotInstancesResponse struct + RequestId string + SpotInstanceRequestSet []struct{ ... } + type RunInstancesResponse struct + Instances []EC2Instance + OwnerId string + RequestId string + ReservationId string + type SecurityGroup struct + GroupId string + GroupName string + IpPermissions []IpPermission + IpPermissionsEgress []IpPermission + OwnerId string + VpcId string + type Subnet struct + AvailabilityZone string + CidrBlock string + DefaultForAz bool + State string + SubnetId string + VpcId string