Documentation ¶
Index ¶
- type BlockDeviceMapping
- type EC2
- func (ec2 *EC2) CreateNode(request interface{}) (resp interface{}, err error)
- func (ec2 *EC2) DeleteNode(request interface{}) (resp interface{}, err error)
- func (ec2 *EC2) PrepareSignatureV2query(params map[string]string, Region string, response map[string]interface{}) error
- func (ec2 *EC2) RebootNode(request interface{}) (resp interface{}, err error)
- func (ec2 *EC2) StartNode(request interface{}) (resp interface{}, err error)
- func (ec2 *EC2) StopNode(request interface{}) (resp interface{}, err error)
- type Error
- type Instance
- type InstanceState
- type InstanceStateChange
- type NetworkInterface
- type NetworkInterfaceAttachment
- type PrivateIP
- type RunInstances
- type RunInstancesResp
- type RunNetworkInterface
- type SecurityGroup
- type SimpleResp
- type StartInstanceResp
- type StopInstanceResp
- type Tag
- type TerminateInstancesResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceMapping ¶
type BlockDeviceMapping struct { DeviceName string `xml:"deviceName"` VirtualName string `xml:"virtualName"` SnapshotId string `xml:"ebs>snapshotId"` VolumeType string `xml:"ebs>volumeType"` VolumeSize int64 `xml:"ebs>volumeSize"` DeleteOnTermination bool `xml:"ebs>deleteOnTermination"` IOPS int64 `xml:"ebs>iops"` }
type EC2 ¶
type EC2 struct { }
EC2 struct
func (*EC2) CreateNode ¶
func (*EC2) DeleteNode ¶
func (*EC2) PrepareSignatureV2query ¶
func (*EC2) RebootNode ¶
type Instance ¶
type Instance struct { InstanceId string `xml:"instanceId"` InstanceType string `xml:"instanceType"` ImageId string `xml:"imageId"` PrivateDNSName string `xml:"privateDnsName"` DNSName string `xml:"dnsName"` IPAddress string `xml:"ipAddress"` PrivateIPAddress string `xml:"privateIpAddress"` SubnetId string `xml:"subnetId"` VPCId string `xml:"vpcId"` SourceDestCheck bool `xml:"sourceDestCheck"` KeyName string `xml:"keyName"` AMILaunchIndex int `xml:"amiLaunchIndex"` Hypervisor string `xml:"hypervisor"` VirtType string `xml:"virtualizationType"` Monitoring string `xml:"monitoring>state"` AvailZone string `xml:"placement>availabilityZone"` PlacementGroupName string `xml:"placement>groupName"` State InstanceState `xml:"instanceState"` Tags []Tag `xml:"tagSet>item"` SecurityGroups []SecurityGroup `xml:"groupSet>item"` NetworkInterfaces []NetworkInterface `xml:"networkInterfaceSet>item"` }
type InstanceState ¶
type InstanceStateChange ¶
type InstanceStateChange struct { InstanceId string `xml:"instanceId"` CurrentState InstanceState `xml:"currentState"` PreviousState InstanceState `xml:"previousState"` }
type NetworkInterface ¶
type NetworkInterface struct { Id string `xml:"networkInterfaceId"` SubnetId string `xml:"subnetId"` VPCId string `xml:"vpcId"` AvailZone string `xml:"availabilityZone"` Description string `xml:"description"` OwnerId string `xml:"ownerId"` RequesterId string `xml:"requesterId"` RequesterManaged bool `xml:"requesterManaged"` Status string `xml:"status"` MACAddress string `xml:"macAddress"` PrivateIPAddress string `xml:"privateIpAddress"` PrivateDNSName string `xml:"privateDnsName"` SourceDestCheck bool `xml:"sourceDestCheck"` Groups []SecurityGroup `xml:"groupSet>item"` Attachment NetworkInterfaceAttachment `xml:"attachment"` Tags []Tag `xml:"tagSet>item"` PrivateIPs []PrivateIP `xml:"privateIpAddressesSet>item"` }
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { Id string `xml:"attachmentId"` InstanceId string `xml:"instanceId"` InstanceOwnerId string `xml:"instanceOwnerId"` DeviceIndex int `xml:"deviceIndex"` Status string `xml:"status"` AttachTime string `xml:"attachTime"` DeleteOnTermination bool `xml:"deleteOnTermination"` }
type RunInstances ¶
type RunInstances struct { ImageId string MinCount int MaxCount int KeyName string InstanceType string SecurityGroups []SecurityGroup KernelId string RamdiskId string UserData []byte AvailZone string PlacementGroupName string Monitoring bool SubnetId string DisableAPITermination bool ShutdownBehavior string PrivateIPAddress string BlockDeviceMappings []BlockDeviceMapping NetworkInterfaces []RunNetworkInterface }
type RunInstancesResp ¶
type RunInstancesResp struct { RequestId string `xml:"requestId"` ReservationId string `xml:"reservationId"` OwnerId string `xml:"ownerId"` SecurityGroups []SecurityGroup `xml:"groupSet>item"` Instances []Instance `xml:"instancesSet>item"` }
type RunNetworkInterface ¶
type SecurityGroup ¶
type SimpleResp ¶
type StartInstanceResp ¶
type StartInstanceResp struct { RequestId string `xml:"requestId"` StateChanges []InstanceStateChange `xml:"instancesSet>item"` }
type StopInstanceResp ¶
type StopInstanceResp struct { RequestId string `xml:"requestId"` StateChanges []InstanceStateChange `xml:"instancesSet>item"` }
type TerminateInstancesResp ¶
type TerminateInstancesResp struct { RequestId string `xml:"requestId"` StateChanges []InstanceStateChange `xml:"instancesSet>item"` }
Click to show internal directories.
Click to hide internal directories.