Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluate ¶
type Evaluate struct { Calculater calculate.Calculater Tolerance float64 }
Evaluate (object) calculates a replica count evaluation, using the tolerance and calculater provided
func (*Evaluate) GetEvaluation ¶
func (e *Evaluate) GetEvaluation(currentReplicas int32, gatheredMetric *metric.Metric) (*evaluate.Evaluation, error)
GetEvaluation calculates an evaluation based on the metric provided and the current number of replicas
Click to show internal directories.
Click to hide internal directories.