From 1971d922beb3e26a5be6ba269ba43c3b95c65481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Jerman?= Date: Thu, 19 Sep 2019 12:45:10 +0200 Subject: [PATCH] Update mocks --- compose/service/mocks/automation_runner.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/compose/service/mocks/automation_runner.go b/compose/service/mocks/automation_runner.go index f359680d5..17fe8566e 100644 --- a/compose/service/mocks/automation_runner.go +++ b/compose/service/mocks/automation_runner.go @@ -46,6 +46,18 @@ func (mr *MockautomationScriptsFinderMockRecorder) Watch(ctx interface{}) *gomoc return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockautomationScriptsFinder)(nil).Watch), ctx) } +// WatchScheduled mocks base method +func (m *MockautomationScriptsFinder) WatchScheduled(ctx context.Context, runner automation.DeferredAutomationRunner) { + m.ctrl.T.Helper() + m.ctrl.Call(m, "WatchScheduled", ctx, runner) +} + +// WatchScheduled indicates an expected call of WatchScheduled +func (mr *MockautomationScriptsFinderMockRecorder) WatchScheduled(ctx, runner interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WatchScheduled", reflect.TypeOf((*MockautomationScriptsFinder)(nil).WatchScheduled), ctx, runner) +} + // FindRunnableScripts mocks base method func (m *MockautomationScriptsFinder) FindRunnableScripts(resource, event string, cc ...automation.TriggerConditionChecker) automation.ScriptSet { m.ctrl.T.Helper()