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

Method PolicyMetadataEnvOptions

tools/compiler/compiler.go:176–178  ·  view source on GitHub ↗

PolicyMetadataEnvOptions returns the policy metadata environment options configured in the compiler.

()

Source from the content-addressed store, hash-verified

174
175// PolicyMetadataEnvOptions returns the policy metadata environment options configured in the compiler.
176func (c *compiler) PolicyMetadataEnvOptions() []PolicyMetadataEnvOption {
177 return c.policyMetadataEnvOptions
178}
179
180func loadFile(path string) ([]byte, error) {
181 data, err := os.ReadFile(path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected