Documentation ¶
Overview ¶
package operators defines constant operator names and helper functions for identifying the operator and its kind.
Index ¶
Constants ¶
View Source
const ( Sequence = "_sequence_" // Sequence of conjunctions. LogicalAnd = "_&&_" // Conjunction operator (a AND b). LogicalOr = "_||_" // Disjunction operator (a OR b). LogicalNot = "_!" // Negation using the keyword NOT Negate = "-_" // Negation using the minus Index = "_[_]" // Index operation on a map or list. // Restriction operations. Global = "_global_" Has = "_:_" Equals = "_==_" Greater = "_>_" GreaterEquals = "_>=_" Less = "_<_" LessEquals = "_<=_" NotEquals = "_!=_" )
All CEL operators are modelled as function calls. The list of constants below uses mangled operator names to avoid collisions with user-defined functions.
Variables ¶
This section is empty.
Functions ¶
func IsRestriction ¶
Determine whether the operator is a restriction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.