autoscaling

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

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