cel

package
v0.0.0-...-7969135 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CELEvaluator

type CELEvaluator interface {
	EvaluateRequestHeaderCondition(expression string, ctx *policy.RequestHeaderContext) (bool, error)
	EvaluateRequestBodyCondition(expression string, ctx *policy.RequestContext) (bool, error)
	EvaluateResponseHeaderCondition(expression string, ctx *policy.ResponseHeaderContext) (bool, error)
	EvaluateResponseBodyCondition(expression string, ctx *policy.ResponseContext) (bool, error)
	EvaluateStreamingRequestCondition(expression string, ctx *policy.RequestStreamContext) (bool, error)
	EvaluateStreamingResponseCondition(expression string, ctx *policy.ResponseStreamContext) (bool, error)
}

CELEvaluator provides CEL expression evaluation for each processing phase context

func NewCELEvaluator

func NewCELEvaluator() (CELEvaluator, error)

NewCELEvaluator creates a new CEL evaluator with caching

Jump to

Keyboard shortcuts

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