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 SLI []burst.ServiceLevelIndicator PrometheusAPI v1.API }
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
Click to show internal directories.
Click to hide internal directories.