MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Engine

Struct Engine

pkg/policies/engine/wasm/engine.go:46–51  ·  view source on GitHub ↗

Engine implements the PolicyEngine interface for WASM policies

Source from the content-addressed store, hash-verified

44
45// Engine implements the PolicyEngine interface for WASM policies
46type Engine struct {
47 executionTimeout time.Duration
48 logger *zerolog.Logger
49 // Embed common engine options
50 *engine.CommonEngineOptions
51}
52
53// NewEngine creates a new WASM policy engine with the given options
54func NewEngine(opts ...engine.Option) *Engine {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected