Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScaling ¶
type AutoScaling struct { AsgAPI autoscalingiface.AutoScalingAPI Ec2Api ec2iface.EC2API EcsAPI ecsiface.ECSAPI }
AutoScaling represents asg and ec2 api interfaces.
type Instance ¶
type Instance struct { InstanceID string InstanceArn string ImageID string RunningTasks int PendingTasks int Draining bool Cluster string }
Instance retains status of each asg instance.
type MockReplacement ¶
type MockReplacement struct {
// contains filtered or unexported fields
}
MockReplacement mocks Replacement.
type Replacer ¶
type Replacer struct {
// contains filtered or unexported fields
}
Replacer defines replacement task.
func NewMockReplacer ¶
NewMockReplacer genetate new replacer object.
func NewReplacer ¶
NewReplacer genetate new replacer object.
func (*Replacer) RemoveAMIs ¶
RemoveAMIs removes obsolete AMIs
func (*Replacer) RemoveSnapShots ¶
RemoveSnapShots removes obsolete snapshots.
Click to show internal directories.
Click to hide internal directories.