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

Method AddMatch

policy/parser.go:231–233  ·  view source on GitHub ↗

AddMatch addes a Match to the rule.

(m *Match)

Source from the content-addressed store, hash-verified

229
230// AddMatch addes a Match to the rule.
231func (r *Rule) AddMatch(m *Match) {
232 r.matches = append(r.matches, m)
233}
234
235// AddVariable adds a variable to the rule.
236func (r *Rule) AddVariable(v *Variable) {

Callers 2

parseMatchesMethod · 0.80
RuleTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected