ec2

package
v0.0.0-...-378618d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2011 License: BSD-3-Clause, GooglePatentClause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_VERSION = "2011-05-15"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupSet

type GroupSet struct {
	GroupId   string "groupId"
	GroupName string "groupName"
}

type Instance

type Instance struct {
	XMLName          xml.Name
	InstanceId       string
	ImageId          string
	PrivateDNSName   string
	DNSName          string
	PrivateIPAddress string
	IPAddress        string
	AvailabilityZone string "placement>availabilityZone"
	MonitoringState  string "monitoring>state"
	InstanceType     string
	RootDeviceName   string
	RootDeviceType   string
	KernelId         string
}

At the level of depth we're at, XML's

not happy with us

type ReservationSet

type ReservationSet struct {
	ReservationId string
	OwnerId       string
	Groups        []GroupSet "groupSet>item"
	Instances     []Instance "instancesSet>item"
}

type Service

type Service struct {
	URL *http.URL
	// contains filtered or unexported fields
}

func NewService

func NewService(url *http.URL) (s *Service)

func (*Service) Close

func (self *Service) Close() (err os.Error)

Closes the underlying connection

func (*Service) DescribeInstances

func (self *Service) DescribeInstances(id *aws.Signer, filter http.Values, ic chan Instance) (err os.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL