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

Method ParsePolicy

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

ParsePolicy will parse the target yaml node as though it is the top-level policy.

(ParserContext, *yaml.Node)

Source from the content-addressed store, hash-verified

450
451 // ParsePolicy will parse the target yaml node as though it is the top-level policy.
452 ParsePolicy(ParserContext, *yaml.Node) *Policy
453
454 // ParseRule will parse the current yaml node as though it is the entry point to a rule.
455 ParseRule(ParserContext, *Policy, *yaml.Node) *Rule

Callers

nothing calls this directly

Implementers 1

parserImplpolicy/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected