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

Method SetExplanation

policy/parser.go:411–413  ·  view source on GitHub ↗

SetExplanation sets the explanation expression for the match.

(e ValueString)

Source from the content-addressed store, hash-verified

409
410// SetExplanation sets the explanation expression for the match.
411func (m *Match) SetExplanation(e ValueString) {
412 m.explanation = &e
413}
414
415// SetRule sets the rule for the match.
416func (m *Match) SetRule(r *Rule) {

Callers 1

parseMatchInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected