From a4a8f6f4be07ea5d1c7890770d2294f737d86fb6 Mon Sep 17 00:00:00 2001 From: Shawn Hurley Date: Fri, 15 Nov 2024 12:08:40 -0500 Subject: [PATCH] add scoped run rules to interface Signed-off-by: Shawn Hurley --- engine/engine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/engine.go b/engine/engine.go index 763eb1af..9f88f723 100644 --- a/engine/engine.go +++ b/engine/engine.go @@ -26,6 +26,7 @@ import ( type RuleEngine interface { RunRules(context context.Context, rules []RuleSet, selectors ...RuleSelector) []konveyor.RuleSet + RunRulesScoped(ctx context.Context, ruleSets []RuleSet, scopes Scope, selectors ...RuleSelector) []konveyor.RuleSet Stop() }