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

Method SetExplanation

policy/parser.go:369–371  ·  view source on GitHub ↗

SetExplanation sets the explanation expression for the match.

(e ValueString)

Source from the content-addressed store, hash-verified

367
368// SetExplanation sets the explanation expression for the match.
369func (m *Match) SetExplanation(e ValueString) {
370 m.explanation = &e
371}
372
373// SetRule sets the rule for the match.
374func (m *Match) SetRule(r *Rule) {

Callers 1

ParseMatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected