evaluate

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PredictiveEvaluate

type PredictiveEvaluate struct {
	HPAEvaluator hpaevaluate.Evaluater
	Store        stored.Storer
	Predicters   []prediction.Predicter
}

PredictiveEvaluate provides a way to make predictive evaluations

func (*PredictiveEvaluate) GetEvaluation

func (p *PredictiveEvaluate) GetEvaluation(predictiveConfig *config.Config, metrics []*metric.Metric, runType string) (*cpaevaluate.Evaluation, error)

GetEvaluation takes a predictive horizontal pod autoscaler configuration and gathered metrics piped in through stdin and evaluates using these, returning a value of how many replicas a resource should have

Jump to

Keyboard shortcuts

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