From 4623907c1341f088bfe1c020e498db03594b68e2 Mon Sep 17 00:00:00 2001 From: Christian Kreuzberger Date: Tue, 17 May 2022 12:52:28 +0200 Subject: [PATCH] fix conflicts in mock Signed-off-by: Christian Kreuzberger --- pkg/eventhandler/fake/eventhandlers_mock.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/eventhandler/fake/eventhandlers_mock.go b/pkg/eventhandler/fake/eventhandlers_mock.go index 6680cd3f..38d6bd52 100644 --- a/pkg/eventhandler/fake/eventhandlers_mock.go +++ b/pkg/eventhandler/fake/eventhandlers_mock.go @@ -194,6 +194,21 @@ func (mr *MockK8sMockRecorder) CreateK8sJob(arg0, arg1, arg2, arg3, arg4, arg5 i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateK8sJob", reflect.TypeOf((*MockK8s)(nil).CreateK8sJob), arg0, arg1, arg2, arg3, arg4, arg5) } +// GetFailedEventsForJob mocks base method. +func (m *MockK8s) GetFailedEventsForJob(arg0, arg1 string) (string, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetFailedEventsForJob", arg0, arg1) + ret0, _ := ret[0].(string) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetFailedEventsForJob indicates an expected call of GetFailedEventsForJob. +func (mr *MockK8sMockRecorder) GetFailedEventsForJob(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFailedEventsForJob", reflect.TypeOf((*MockK8s)(nil).GetFailedEventsForJob), arg0, arg1) +} + // GetLogsOfPod mocks base method. func (m *MockK8s) GetLogsOfPod(arg0, arg1 string) (string, error) { m.ctrl.T.Helper()