38
39
// EXPECT returns an object that allows the caller to indicate expected use.
41
>
return m.recorder
42
>
}
43
44
// Execute mocks base method.
45
>
func (m *MockTaskExecutor) Execute(ctx context.Context, replicationTask *repication.ReplicationTask, forceApply bool) error {
task_executor_mock.go
46
>
m.ctrl.T.Helper()
47
>
ret := m.ctrl.Call(m, "Execute", ctx, replicationTask, forceApply)
48
>
ret0, _ := ret[0].(error)
49
>
return ret0
50
>
}
51
52
// Execute indicates an expected call of Execute.
53
>
func (mr *MockTaskExecutorMockRecorder) Execute(ctx, replicationTask, forceApply any) *gomock.Call {
task_executor_mock.go
54
>
mr.mock.ctrl.T.Helper()
55
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockTaskExecutor)(nil).Execute), ctx, replicationTask, forceApply)
56
>
}