Documentation
¶
Index ¶
- Constants
- func MergeAst(env *cel.Env, operator string, conditions ...*cel.Ast) (*cel.Ast, error)
- func NewAst(env *cel.Env, operator string, conditions ...string) (*cel.Ast, error)
- func NewEnvironment(opts ...cel.EnvOption) (*cel.Env, error)
- func NewMIMEMap(m textproto.MIMEHeader) traits.Mapper
- func NewValuesMap(m map[string][]string) traits.Mapper
- func ProgramAst(env *cel.Env, ast *cel.Ast) (cel.Program, error)
Constants ¶
View Source
const ( OperatorOr = "||" OperatorAnd = "&&" )
Variables ¶
This section is empty.
Functions ¶
func NewEnvironment ¶
NewEnvironment Create a standard HTTP CEL env with optional fields as needed
func NewMIMEMap ¶
func NewMIMEMap(m textproto.MIMEHeader) traits.Mapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.