cel

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate

func Evaluate(expression string, obj client.Object) (any, error)

Evaluate evaluates a CEL expression against a single Kubernetes object. Returns the result of the evaluation.

func EvaluateList

func EvaluateList(expression string, objs []client.Object) ([]any, error)

EvaluateList evaluates a CEL expression against multiple Kubernetes objects. Returns a slice of results, one for each input object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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