evaluatecalc

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package evaluatecalc provides functionality for managing evaluating, calling external evaluation logic through shell commands with relevant data piped to them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct {
	Config  *config.Config
	Execute execute.Executer
}

Evaluator handles triggering the evaluation logic to decide how to scale a resource

func (*Evaluator) GetEvaluation

func (e *Evaluator) GetEvaluation(info evaluate.Info) (*evaluate.Evaluation, error)

GetEvaluation uses the metrics provided to determine a set of evaluations

type GetEvaluationer

type GetEvaluationer interface {
	GetEvaluation(info evaluate.Info) (*evaluate.Evaluation, error)
}

GetEvaluationer provides methods for retrieving an evaluation

Jump to

Keyboard shortcuts

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