Documentation ¶
Index ¶
- func Errors() cel.EnvOption
- func Library() cel.EnvOption
- func Lists() cel.EnvOption
- func Networks() cel.EnvOption
- func Requests() cel.EnvOption
- func Strings() cel.EnvOption
- func Urls() cel.EnvOption
- type CompiledExpression
- type Error
- type ErrorType
- type EvalError
- type IPNetworks
- func (n IPNetworks) Contains(value ref.Val) ref.Val
- func (n IPNetworks) ConvertToNative(typeDesc reflect.Type) (any, error)
- func (n IPNetworks) ConvertToType(typeVal ref.Type) ref.Val
- func (n IPNetworks) Equal(other ref.Val) ref.Val
- func (n IPNetworks) Type() ref.Type
- func (n IPNetworks) Value() any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompiledExpression ¶
type CompiledExpression struct {
// contains filtered or unexported fields
}
func CompileExpression ¶
func CompileExpression(env *cel.Env, expr, errMsg string) (*CompiledExpression, error)
func (*CompiledExpression) Eval ¶
func (e *CompiledExpression) Eval(obj any) error
type IPNetworks ¶
func (IPNetworks) ConvertToNative ¶
func (n IPNetworks) ConvertToNative(typeDesc reflect.Type) (any, error)
func (IPNetworks) ConvertToType ¶
func (n IPNetworks) ConvertToType(typeVal ref.Type) ref.Val
func (IPNetworks) Type ¶
func (n IPNetworks) Type() ref.Type
func (IPNetworks) Value ¶
func (n IPNetworks) Value() any
Click to show internal directories.
Click to hide internal directories.