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

Method NewPolicy

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

NewPolicy creates a new Policy instance with an ID associated with the YAML node.

(*yaml.Node)

Source from the content-addressed store, hash-verified

435
436 // NewPolicy creates a new Policy instance with an ID associated with the YAML node.
437 NewPolicy(*yaml.Node) (*Policy, int64)
438
439 // NewRule creates a new Rule instance with an ID associated with the YAML node.
440 NewRule(*yaml.Node) (*Rule, int64)

Callers 1

ParsePolicyMethod · 0.65

Implementers 1

parserImplpolicy/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected