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

Method SetRule

policy/parser.go:120–122  ·  view source on GitHub ↗

SetRule configures the policy rule entry point.

(r *Rule)

Source from the content-addressed store, hash-verified

118
119// SetRule configures the policy rule entry point.
120func (p *Policy) SetRule(r *Rule) {
121 p.rule = r
122}
123
124// SetMetadata updates a named metadata key with the given value.
125func (p *Policy) SetMetadata(name string, value any) {

Callers 1

ParsePolicyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected