Documentation ¶
Index ¶
- Variables
- func ConvertKind(v reflect.Type) *expr.Type
- func ConvertType(typ attribute.Kind) *expr.Type
- func ConvertValue(typ attribute.Kind, value interface{}) ref.Val
- func DefaultValue(typ attribute.Kind) ref.Val
- func RecoverType(typ *expr.Type) attribute.Kind
- func RecoverValue(value ref.Val) (interface{}, error)
- func RegisterFunction(operator string, trait int, fun interface{}) error
- func RegisterInstanceOverload(name string, operator string, fun interface{}) error
- func RegisterOverload(name string, operator string, fun interface{}) error
- func RegisterOverloadBoth(name string, operator string, fun interface{}) error
- func RegisterSimpleFunction(name string, fun interface{}) error
- func RegisterSimpleFunctionBoth(name string, fun interface{}) error
- func StandardFunctionsEnvOption() cel.EnvOption
- func StandardOverloadsEnvOption() cel.ProgramOption
- type DNSName
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Macros = cel.Macros( parser.NewGlobalMacro("conditional", 3, conditionalExpander), parser.NewGlobalVarArgMacro(pick, pickExpander)) )
Functions ¶
func RecoverValue ¶
func RegisterFunction ¶
func RegisterOverload ¶
func RegisterOverloadBoth ¶
func RegisterSimpleFunction ¶
func StandardOverloadsEnvOption ¶
func StandardOverloadsEnvOption() cel.ProgramOption
Types ¶
Click to show internal directories.
Click to hide internal directories.