From 1da6328ec9e678b492ee6b1699b3871edc9156b1 Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Tue, 26 Sep 2023 18:20:31 +0000 Subject: [PATCH] update mock --- pkg/operator/client/mock/mock.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkg/operator/client/mock/mock.go b/pkg/operator/client/mock/mock.go index ca21376359..f6860fac0e 100644 --- a/pkg/operator/client/mock/mock.go +++ b/pkg/operator/client/mock/mock.go @@ -46,6 +46,18 @@ func (mr *MockClientInterfaceMockRecorder) ApplyAppInformers(args interface{}) * return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyAppInformers", reflect.TypeOf((*MockClientInterface)(nil).ApplyAppInformers), args) } +// ApplyHooksInformer mocks base method. +func (m *MockClientInterface) ApplyHooksInformer(namespaces []string) { + m.ctrl.T.Helper() + m.ctrl.Call(m, "ApplyHooksInformer", namespaces) +} + +// ApplyHooksInformer indicates an expected call of ApplyHooksInformer. +func (mr *MockClientInterfaceMockRecorder) ApplyHooksInformer(namespaces interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyHooksInformer", reflect.TypeOf((*MockClientInterface)(nil).ApplyHooksInformer), namespaces) +} + // DeployApp mocks base method. func (m *MockClientInterface) DeployApp(deployArgs types.DeployAppArgs) (bool, error) { m.ctrl.T.Helper() @@ -75,6 +87,18 @@ func (mr *MockClientInterfaceMockRecorder) Init() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockClientInterface)(nil).Init)) } +// RestartNamespacesInformer mocks base method. +func (m *MockClientInterface) RestartNamespacesInformer(namespaces, imagePullSecrets []string) { + m.ctrl.T.Helper() + m.ctrl.Call(m, "RestartNamespacesInformer", namespaces, imagePullSecrets) +} + +// RestartNamespacesInformer indicates an expected call of RestartNamespacesInformer. +func (mr *MockClientInterfaceMockRecorder) RestartNamespacesInformer(namespaces, imagePullSecrets interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestartNamespacesInformer", reflect.TypeOf((*MockClientInterface)(nil).RestartNamespacesInformer), namespaces, imagePullSecrets) +} + // Shutdown mocks base method. func (m *MockClientInterface) Shutdown() { m.ctrl.T.Helper()