Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateCriteriaExpression ¶
EvaluateCriteriaExpression builds a CEL environment from the provided cluster labels (keys & values lowercased) and evaluates the given expression. It returns (true, nil) if the expression evaluates to the boolean true. If the expression evaluates to boolean false it returns (false, nil). Any error in environment construction, parsing, type checking, program build, evaluation, or non-boolean result returns a wrapped error with a generic message suitable for higher-level contextual wrapping by callers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.