evaluate

package
v0.0.0-...-de69368 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a, b []string) bool

Check whether two slices of type string are equal or not.

func EvalCondition

func EvalCondition(resultValue any, condition string) (bool, error)

EvalCondition evaluates the condition with the resultValue as an input

func EvalTime

func EvalTime(expression string) (time.Time, error)

func EvaluateResult

func EvaluateResult(result any, metric v1alpha1.Metric, logCtx logrus.Entry) (v1alpha1.AnalysisPhase, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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