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

Method SetDescription

policy/parser.go:226–228  ·  view source on GitHub ↗

SetDescription configures the description for the rule.

(desc ValueString)

Source from the content-addressed store, hash-verified

224
225// SetDescription configures the description for the rule.
226func (r *Rule) SetDescription(desc ValueString) {
227 r.description = &desc
228}
229
230// AddMatch addes a Match to the rule.
231func (r *Rule) AddMatch(m *Match) {

Callers 1

ParseRuleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected