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

Method SetRule

policy/parser.go:138–140  ·  view source on GitHub ↗

SetRule configures the policy rule entry point.

(r *Rule)

Source from the content-addressed store, hash-verified

136
137// SetRule configures the policy rule entry point.
138func (p *Policy) SetRule(r *Rule) {
139 p.rule = r
140}
141
142// SetMetadata updates a named metadata key with the given value.
143func (p *Policy) SetMetadata(name string, value any) {

Callers 1

ParsePolicyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected