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 NewAutoScaleServer ¶
func NewAutoScaleServer(cfg *SetupConfig) (*AutoScale, error)
func (*AutoScale) IsRunning ¶ added in v0.2.0
IsRunning is used to determine if the autoscaler loop is running.
type Config ¶
type Config struct { ScalingInterval int ScalingThreads int StrictChecking bool MetricProviderCfg *server.MetricProviderConfig }
type SetupConfig ¶ added in v0.4.0
type SetupConfig struct { ScalingInterval int ScalingThreads int StrictChecking bool MetricProviderCfg *server.MetricProviderConfig Logger zerolog.Logger PolicyBackend policyBackend.PolicyBackend Scale scale.Scale Nomad *api.Client }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.