expressions

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package expressions provides Common Expression Language (CEL) evaluation functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPrograms

func LoadPrograms(testAssert *harness.TestAssert) (map[string]cel.Program, error)

LoadPrograms loads and compiles CEL programs from test assertions.

func RunAssertExpressions

func RunAssertExpressions(
	programs map[string]cel.Program,
	variables map[string]interface{},
	assertAny,
	assertAll []*harness.Assertion,
) []error

RunAssertExpressions evaluates a set of CEL expressions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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