autoscaler

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages a set of Scaler instances.

func NewManager

func NewManager(l log.Logger, e *common.Etcd, c *cluster.Cluster) *Manager

NewManager returns an Autoscale Manager

func (*Manager) Reload

func (m *Manager) Reload()

Reload simply stop and start scalers selectively.

func (*Manager) Run

func (m *Manager) Run()

Run starts processing of the autoscale manager

func (*Manager) Stop

func (m *Manager) Stop()

Stop the manager and its scaler cycles.

type Scaler

type Scaler struct {
	model.Scaler
	// contains filtered or unexported fields
}

Scaler does metric polling and executes scale actions.

func (*Scaler) Stop

func (s *Scaler) Stop()

Jump to

Keyboard shortcuts

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