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

Method SetDescription

policy/parser.go:267–269  ·  view source on GitHub ↗

SetDescription configures the description for the rule.

(desc ValueString)

Source from the content-addressed store, hash-verified

265
266// SetDescription configures the description for the rule.
267func (r *Rule) SetDescription(desc ValueString) {
268 r.description = &desc
269}
270
271// AddMatch addes a Match to the rule.
272func (r *Rule) AddMatch(m *Match) {

Callers 1

ParseRuleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected