Documentation
¶
Overview ¶
Package cel provides a small wrapper around CEL expression compilation and evaluation used to compare map-based keys within SOP components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
type Evaluator struct {
Expression string
// contains filtered or unexported fields
}
Evaluator holds a CEL expression and compiled program used to compare map-based keys.
func NewEvaluator ¶
NewEvaluator compiles a CEL expression that can compare mapX and mapY values and returns an Evaluator. Both mapX and mapY are expected to be map[string]any variables in the program context.
Click to show internal directories.
Click to hide internal directories.