autoscale

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoScale

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

func (*AutoScale) IsRunning added in v0.2.0

func (a *AutoScale) IsRunning() bool

IsRunning is used to determine if the autoscaler loop is running.

func (*AutoScale) Run

func (a *AutoScale) Run()

func (*AutoScale) Stop added in v0.2.0

func (a *AutoScale) Stop()

Stop is used to gracefully stop the autoscaling workers.

type Config

type Config struct {
	ScalingInterval int
	ScalingThreads  int
	StrictChecking  bool
}

Jump to

Keyboard shortcuts

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