Documentation
¶
Index ¶
Constants ¶
View Source
const (
CompilerCEL = expression.CompilerCEL
CompilerJP = expression.CompilerJP
)
Variables ¶
View Source
var DefaultCompilers = Compilers{
Jp: jp.NewCompiler(),
Cel: cel.NewCompiler(cel.DefaultEnv),
}
Functions ¶
Types ¶
type Compilers ¶
type Compilers struct {
Jp jp.Compiler
Cel cel.Compiler
Default cel.Compiler
}
func (Compilers) WithDefaultCompiler ¶
func (c Compilers) WithDefaultCompiler(defaultCompiler string) Compilers
Click to show internal directories.
Click to hide internal directories.