Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteBooleanCEL ¶ added in v0.3.0
func ExecuteBooleanCEL(ctx context.Context, program cel.Program, obj *unstructured.Unstructured) bool
ExecuteBoolean CEL executes the cel program with obj as the input. If the program returns and error or if the program returns a value that cannot be converted to bool, false is returned. Otherwise the bool returned by the CEL program is returned.
func ExecuteCEL ¶ added in v0.3.0
func ExecuteCEL(ctx context.Context, program cel.Program, obj *unstructured.Unstructured) ref.Val
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.