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

Method AddImport

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

AddImport adds an import to the policy.

(i *Import)

Source from the content-addressed store, hash-verified

103
104// AddImport adds an import to the policy.
105func (p *Policy) AddImport(i *Import) {
106 p.imports = append(p.imports, i)
107}
108
109// SetName configures the policy name.
110func (p *Policy) SetName(name ValueString) {

Callers 1

parseImportsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected