Documentation
¶
Index ¶
- func NewAutoScalingAPI(session *session.Session, region string) autoscalingiface.AutoScalingAPI
- func NewEC2API(session *session.Session, region string) ec2iface.EC2API
- func NewECSAPI(session *session.Session, region string) ecsiface.ECSAPI
- type ImageSlice
- type Instance
- type TargetAMI
- type VolumeSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAutoScalingAPI ¶
func NewAutoScalingAPI(session *session.Session, region string) autoscalingiface.AutoScalingAPI
NewAutoScalingAPI creates new auto-scaling api
Types ¶
type ImageSlice ¶
ImageSlice is slice of ec2images.
func (ImageSlice) Less ¶
func (is ImageSlice) Less(i, j int) bool
func (ImageSlice) Swap ¶
func (is ImageSlice) Swap(i, j int)
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is am ec2api interface wrapper.
type VolumeSlice ¶
VolumeSlice is slice of ec2volumes.
func (VolumeSlice) Len ¶
func (is VolumeSlice) Len() int
func (VolumeSlice) Less ¶
func (is VolumeSlice) Less(i, j int) bool
func (VolumeSlice) Swap ¶
func (is VolumeSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.