routing

package
v1.3.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeMapKeysInCEL

func NormalizeMapKeysInCEL(expr string) string

normalizeMapKeysInCEL lowercases header and param keys in CEL expressions so that headers["X-Api-Key"] becomes headers["x-api-key"], "X-Api-Key" in headers becomes "x-api-key" in headers, params["Region"] becomes params["region"], and "Region" in params becomes "region" in params. This ensures CEL expressions match against the normalized (lowercase) map keys at runtime.

func ValidateCELExpression

func ValidateCELExpression(expr string) error

validateCELExpression performs basic validation on CEL expression format

Types

This section is empty.

Jump to

Keyboard shortcuts

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