Documentation ¶
Index ¶
- type Autoscaler
- func (as Autoscaler) Backlog(ctx context.Context) (int64, error)
- func (as Autoscaler) Resize(ctx context.Context, newSize int64) error
- func (as Autoscaler) Run(ctx context.Context, refresh time.Duration)
- func (as Autoscaler) ScaleDown(ctx context.Context, newSize int64) error
- func (as Autoscaler) Size(ctx context.Context) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler struct {
// contains filtered or unexported fields
}
func New ¶
func New(queue qbas.Queue, rc *rc.ReplicationController, cfg qbas.Config, logger *zap.Logger) Autoscaler
Click to show internal directories.
Click to hide internal directories.