Documentation ¶
Overview ¶
Package scale implements EKS cluster scaler tester. ref. https://docs.aws.amazon.com/cli/latest/reference/eks/update-nodegroup-config.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger *zap.Logger LogWriter io.Writer Stopc chan struct{} EKSConfig *eksconfig.Config EKSAPI eksiface.EKSAPI }
Config defines scaler configuration.
type Scaler ¶
type Scaler interface { // Update starts MNG scaler process, and waits for its completion. // ref. https://docs.aws.amazon.com/cli/latest/reference/eks/update-nodegroup-config.html Scale(mngName string) error }
Scaler defines MNG scaler interface. ref. https://docs.aws.amazon.com/cli/latest/reference/eks/update-nodegroup-config.html
Click to show internal directories.
Click to hide internal directories.