Documentation ¶
Index ¶
- Constants
- func DescribeAddresses() error
- func DescribeKeyPairs() error
- func DescribeSecurityGroups() error
- func DescribeSpotPriceHistory() error
- func DescribeTags() error
- func Register(router *cli.Router)
- type CreateImage
- type CreateTags
- type DescribeImages
- type DescribeInstances
- type Prices
- type RunInstances
- type TerminateInstances
Constants ¶
View Source
const HOURS_PER_MONTH = 365 * 24.0 / 12.0
Variables ¶
This section is empty.
Functions ¶
func DescribeAddresses ¶
func DescribeAddresses() error
func DescribeKeyPairs ¶
func DescribeKeyPairs() error
func DescribeSecurityGroups ¶
func DescribeSecurityGroups() error
func DescribeSpotPriceHistory ¶
func DescribeSpotPriceHistory() error
func DescribeTags ¶
func DescribeTags() error
Types ¶
type CreateImage ¶
type CreateImage struct {
ImageId string `cli:"type=arg required=true"`
}
func (*CreateImage) Run ¶
func (a *CreateImage) Run() error
type CreateTags ¶
type CreateTags struct { ResourceId string `cli:"type=arg required=true"` Key string `cli:"type=arg required=true"` Value string `cli:"type=arg required=true"` }
func (*CreateTags) Run ¶
func (r *CreateTags) Run() error
type DescribeImages ¶
type DescribeImages struct { Canonical bool `cli:"type=opt long=canonical"` Self bool `cli:"type=opt long=self"` Ubuntu bool `cli:"type=opt long=ubuntu"` Raring bool `cli:"type=opt long=raring"` Saucy bool `cli:"type=opt long=saucy"` }
func (*DescribeImages) Run ¶
func (a *DescribeImages) Run() error
type DescribeInstances ¶
type DescribeInstances struct {
Detailed bool `cli:"type=opt long=detailed"`
}
func (*DescribeInstances) Run ¶
func (a *DescribeInstances) Run() error
type Prices ¶
type RunInstances ¶
type RunInstances struct { Name string `cli:"type=opt long=name desc='Name of the Instanze'"` InstanceType string `cli:"type=opt short=t desc='Instance Type' required=true"` ImageId string `cli:"type=opt short=i desc='Image Id' required=true"` KeyName string `cli:"type=opt short=k desc='SSH Key' required=true"` SecurityGroup string `cli:"type=opt short=g desc='Security Group'"` SubnetId string `cli:"type=opt long=subnet-id desc='Subnet Id'"` PublicIp bool `cli:"type=opt long=public-ip desc='Assign Public IP'"` AvailabilityZone string `cli:"type=opt long=availability-zone desc='Availability Zone'"` UserDataFile string `cli:"type=opt long=userdata desc='Path to file with userdata'"` }
func (*RunInstances) Run ¶
func (a *RunInstances) Run() error
type TerminateInstances ¶
type TerminateInstances struct {
InstanceIds []string `cli:"type=arg required=true"`
}
func (*TerminateInstances) Run ¶
func (a *TerminateInstances) Run() error
Click to show internal directories.
Click to hide internal directories.