Documentation
¶
Index ¶
- Constants
- func FromStrings(env *cel.Env, operator string, conditions ...string) (*cel.Ast, error)
- func Merge(env *cel.Env, operator string, conditions ...*cel.Ast) (*cel.Ast, error)
- func NewMIMEMap(m textproto.MIMEHeader) traits.Mapper
- func NewRulesEnvironment(networks map[string]cidranger.Ranger) (*cel.Env, error)
- func NewValuesMap(m map[string][]string) traits.Mapper
- func Program(env *cel.Env, ast *cel.Ast) (cel.Program, error)
- type Condition
Constants ¶
View Source
const ( OperatorOr = "||" OperatorAnd = "&&" )
Variables ¶
This section is empty.
Functions ¶
func FromStrings ¶
func NewMIMEMap ¶ added in v0.5.0
func NewMIMEMap(m textproto.MIMEHeader) traits.Mapper
func NewRulesEnvironment ¶ added in v0.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.