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

Method NewRule

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

NewRule creates a new Rule instance with an ID associated with the YAML node.

(*yaml.Node)

Source from the content-addressed store, hash-verified

438
439 // NewRule creates a new Rule instance with an ID associated with the YAML node.
440 NewRule(*yaml.Node) (*Rule, int64)
441
442 // NewVariable creates a new Variable instance with an ID associated with the YAML node.
443 NewVariable(*yaml.Node) (*Variable, int64)

Callers 1

ParseRuleMethod · 0.65

Implementers 1

parserImplpolicy/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected