MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Rule

Method Rule

policy/parser.go:396–398  ·  view source on GitHub ↗

Rule returns the rule value, or nil if the rule is not set.

()

Source from the content-addressed store, hash-verified

394
395// Rule returns the rule value, or nil if the rule is not set.
396func (m *Match) Rule() *Rule {
397 return m.rule
398}
399
400// SetCondition sets the CEL condition for the match.
401func (m *Match) SetCondition(c ValueString) {

Callers 4

exprLinesFromPolicyFunction · 0.45
CompileRuleFunction · 0.45
compileRuleMethod · 0.45

Calls

no outgoing calls

Tested by 2

exprLinesFromPolicyFunction · 0.36