evaluator

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator interface {
	ExecTenet(context.Context, *options.EvaluatorOptions, *papi.Tenet, []attestation.Predicate) (*papi.EvalResult, error)
	ExecChainedSelector(context.Context, *options.EvaluatorOptions, *papi.ChainedPredicate, attestation.Predicate) ([]attestation.Subject, error)

	// EvalExpression evaluates a standalone expression and returns its value.
	// Used to resolve dynamic ContextVal expressions. The evaluator reads the
	// subject and any other evaluation-time data from the evalcontext.EvaluationContext
	// stored in ctx.
	EvalExpression(context.Context, *options.EvaluatorOptions, string) (any, error)
}

Evaluator

type Factory

type Factory struct{}

func (*Factory) Get

Directories

Path Synopsis
plugins
semver
Package semver provides a CEL-runtime plugin that exposes a `semver` object with helpers for parsing and comparing Semantic Versioning 2.0.0 strings.
Package semver provides a CEL-runtime plugin that exposes a `semver` object with helpers for parsing and comparing Semantic Versioning 2.0.0 strings.
url

Jump to

Keyboard shortcuts

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