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

Method NewRule

policy/parser.go:398–398  ·  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

396
397 // NewRule creates a new Rule instance with an ID associated with the YAML node.
398 NewRule(*yaml.Node) (*Rule, int64)
399
400 // NewVariable creates a new Variable instance with an ID associated with the YAML node.
401 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