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

Method CreateEnv

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

CreateEnv creates a singleton CEL environment with the configured environment options.

()

Source from the content-addressed store, hash-verified

93type Compiler interface {
94 // CreateEnv creates a singleton CEL environment with the configured environment options.
95 CreateEnv() (*cel.Env, error)
96 // CreatePolicyParser creates a policy parser using the optionally configured parser options.
97 CreatePolicyParser() (*policy.Parser, error)
98 // PolicyCompilerOptions returns the policy compiler options.

Callers 8

ProgramsMethod · 0.65
createTestInputFromPBMethod · 0.65
evalMethod · 0.65
createTestInputMethod · 0.65
createResultMatcherMethod · 0.65
CreateASTMethod · 0.65
CreateASTMethod · 0.65

Implementers 1

compilertools/compiler/compiler.go

Calls

no outgoing calls

Tested by

no test coverage detected