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

Function NewMatch

policy/parser.go:298–300  ·  view source on GitHub ↗

NewMatch creates a match instance.

(exprID int64)

Source from the content-addressed store, hash-verified

296
297// NewMatch creates a match instance.
298func NewMatch(exprID int64) *Match {
299 return &Match{exprID: exprID}
300}
301
302// Match declares a condition (defaults to true) as well as an output or a rule.
303// Either the output or the rule field may be set, but not both.

Callers 1

NewMatchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected