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

Method Rule

policy/parser.go:103–105  ·  view source on GitHub ↗

Rule returns the rule entry point of the policy.

()

Source from the content-addressed store, hash-verified

101
102// Rule returns the rule entry point of the policy.
103func (p *Policy) Rule() *Rule {
104 return p.rule
105}
106
107// Metadata returns a named metadata object if one exists within the policy.
108func (p *Policy) Metadata(name string) (any, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected