Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAutoscalingGroup = errors.New("auto scaling group not found")
View Source
var ErrInvalidCapacity = errors.New("invalid capacity")
View Source
var ErrUnknownRole = errors.New("unknown role")
Functions ¶
This section is empty.
Types ¶
type AutoScaler ¶
type AutoScaler interface { CurrentCapacity(string) (int, error) DesiredCapacity(string, int, datasize.ByteSize) (int, error) Scale(string, int) error }
func NewAwsAutoScaler ¶
func NewAwsAutoScaler(awsCredentials *credentials.Credentials, regions []string, groupIds ...string) (AutoScaler, error)
Click to show internal directories.
Click to hide internal directories.