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

Function CompileMatchOutput

policy/compiler.go:247–252  ·  view source on GitHub ↗

CompileMatchOutput sets a custom match output compiling function.

(f CompileMatchOutputFunc)

Source from the content-addressed store, hash-verified

245
246// CompileMatchOutput sets a custom match output compiling function.
247func CompileMatchOutput(f CompileMatchOutputFunc) CompilerOption {
248 return func(c *compiler) error {
249 c.compileMatchOutput = f
250 return nil
251 }
252}
253
254// Compile combines the policy compilation and composition steps into a single call.
255//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected