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

Method ID

policy/parser.go:236–241  ·  view source on GitHub ↗

ID returns the id value of the rule if it is set.

()

Source from the content-addressed store, hash-verified

234
235// ID returns the id value of the rule if it is set.
236func (r *Rule) ID() ValueString {
237 if r.id != nil {
238 return *r.id
239 }
240 return ValueString{}
241}
242
243// Description returns the rule description if it is set.
244func (r *Rule) Description() ValueString {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected