Documentation
¶
Index ¶
Constants ¶
View Source
const RootAuthBinding = "auth"
View Source
const RootDestinationBinding = "destination"
View Source
const RootMetadataBinding = "metadata"
View Source
const RootRequestBinding = "request"
View Source
const RootSourceBinding = "source"
Variables ¶
This section is empty.
Functions ¶
func AuthJsonToCel ¶
todo this should eventually be sourced as proper proto from the pipeline
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func NewExpression ¶
func NewExpression(source string) (*Expression, error)
func (*Expression) Evaluate ¶
func (e *Expression) Evaluate(json string) (ref.Val, *cel.EvalDetails, error)
func (*Expression) ResolveFor ¶
func (e *Expression) ResolveFor(json string) (interface{}, error)
type Predicate ¶
type Predicate struct {
// contains filtered or unexported fields
}
func NewPredicate ¶
type StringExpression ¶
type StringExpression struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.