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

Method MatchesParameters

pkg/policies/engine/wasm/engine.go:278–282  ·  view source on GitHub ↗

MatchesParameters is a stub implementation for WASM policies WASM policies don't currently support parameter matching

(_ context.Context, _ *engine.Policy,
	_, _ map[string]string)

Source from the content-addressed store, hash-verified

276// MatchesParameters is a stub implementation for WASM policies
277// WASM policies don't currently support parameter matching
278func (e *Engine) MatchesParameters(_ context.Context, _ *engine.Policy,
279 _, _ map[string]string) (bool, error) {
280 // Default to true - WASM policies handle their own parameter validation
281 return true, nil
282}
283
284// MatchesEvaluation is a stub implementation for WASM policies
285// WASM policies don't currently support evaluation matching

Callers 1

TestMatchesParametersFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMatchesParametersFunction · 0.76