Documentation
¶
Index ¶
- Variables
- func BinaryBinding(binding BinaryOp) cel.OverloadOpt
- func FunctionBinding(binding FunctionOp) cel.OverloadOpt
- func MemberOverload(overloadID string, args []*Type, resultType *Type, opts ...cel.OverloadOpt) cel.FunctionOpt
- func Overload(overloadID string, args []*Type, resultType *Type, opts ...cel.OverloadOpt) cel.FunctionOpt
- func UnaryBinding(binding UnaryOp) cel.OverloadOpt
- func WrapThisVariable(this map[string]any) map[string]any
- type BinaryOp
- type Bool
- type Bytes
- type Double
- type Duration
- type Env
- type Error
- type Expr
- type FunctionOp
- type Int
- type Null
- type Option
- type String
- type Type
- type Uint
- type UnaryOp
- type Unknown
- type Val
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEnvNil = errors.New("env is nil") DefaultEnv, _ = NewEnv(UseThisVariable()) )
View Source
var ( AnyType = cel.AnyType BoolType = cel.BoolType BytesType = cel.BytesType DoubleType = cel.DoubleType DurationType = cel.DurationType DynType = cel.DynType IntType = cel.IntType NullType = cel.NullType StringType = cel.StringType TimestampType = cel.TimestampType TypeType = cel.TypeType UintType = cel.UintType )
Functions ¶
func BinaryBinding ¶ added in v1.0.1
func BinaryBinding(binding BinaryOp) cel.OverloadOpt
func FunctionBinding ¶ added in v1.0.1
func FunctionBinding(binding FunctionOp) cel.OverloadOpt
func MemberOverload ¶ added in v1.0.4
func MemberOverload(overloadID string, args []*Type, resultType *Type, opts ...cel.OverloadOpt) cel.FunctionOpt
func Overload ¶ added in v1.0.1
func Overload(overloadID string, args []*Type, resultType *Type, opts ...cel.OverloadOpt) cel.FunctionOpt
func UnaryBinding ¶ added in v1.0.1
func UnaryBinding(binding UnaryOp) cel.OverloadOpt
Types ¶
type FunctionOp ¶ added in v1.0.1
type FunctionOp = functions.FunctionOp
Click to show internal directories.
Click to hide internal directories.