diff --git a/mocks/mock_acp/mock_acp.go b/mocks/mock_acp/mock_acp.go index accee4819..eb31733c2 100644 --- a/mocks/mock_acp/mock_acp.go +++ b/mocks/mock_acp/mock_acp.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/acp (interfaces: TridentACP) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_acp/mock_acp.go github.com/netapp/trident/acp TridentACP +// // Package mock_acp is a generated GoMock package. package mock_acp @@ -8,9 +13,8 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - version "github.com/netapp/trident/utils/version" + gomock "go.uber.org/mock/gomock" ) // MockTridentACP is a mock of TridentACP interface. @@ -60,7 +64,7 @@ func (m *MockTridentACP) GetVersion(arg0 context.Context) (*version.Version, err } // GetVersion indicates an expected call of GetVersion. -func (mr *MockTridentACPMockRecorder) GetVersion(arg0 interface{}) *gomock.Call { +func (mr *MockTridentACPMockRecorder) GetVersion(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersion", reflect.TypeOf((*MockTridentACP)(nil).GetVersion), arg0) } @@ -75,7 +79,7 @@ func (m *MockTridentACP) GetVersionWithBackoff(arg0 context.Context) (*version.V } // GetVersionWithBackoff indicates an expected call of GetVersionWithBackoff. -func (mr *MockTridentACPMockRecorder) GetVersionWithBackoff(arg0 interface{}) *gomock.Call { +func (mr *MockTridentACPMockRecorder) GetVersionWithBackoff(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersionWithBackoff", reflect.TypeOf((*MockTridentACP)(nil).GetVersionWithBackoff), arg0) } @@ -89,7 +93,7 @@ func (m *MockTridentACP) IsFeatureEnabled(arg0 context.Context, arg1 string) err } // IsFeatureEnabled indicates an expected call of IsFeatureEnabled. -func (mr *MockTridentACPMockRecorder) IsFeatureEnabled(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentACPMockRecorder) IsFeatureEnabled(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsFeatureEnabled", reflect.TypeOf((*MockTridentACP)(nil).IsFeatureEnabled), arg0, arg1) } diff --git a/mocks/mock_acp/mock_rest/mock_rest.go b/mocks/mock_acp/mock_rest/mock_rest.go index 4f8b3ac19..f26af7e68 100644 --- a/mocks/mock_acp/mock_rest/mock_rest.go +++ b/mocks/mock_acp/mock_rest/mock_rest.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/acp (interfaces: REST) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_acp/mock_rest/mock_rest.go github.com/netapp/trident/acp REST +// // Package mock_acp is a generated GoMock package. package mock_acp @@ -8,9 +13,8 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - version "github.com/netapp/trident/utils/version" + gomock "go.uber.org/mock/gomock" ) // MockREST is a mock of REST interface. @@ -45,7 +49,7 @@ func (m *MockREST) Entitled(arg0 context.Context, arg1 string) error { } // Entitled indicates an expected call of Entitled. -func (mr *MockRESTMockRecorder) Entitled(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockRESTMockRecorder) Entitled(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Entitled", reflect.TypeOf((*MockREST)(nil).Entitled), arg0, arg1) } @@ -60,7 +64,7 @@ func (m *MockREST) GetVersion(arg0 context.Context) (*version.Version, error) { } // GetVersion indicates an expected call of GetVersion. -func (mr *MockRESTMockRecorder) GetVersion(arg0 interface{}) *gomock.Call { +func (mr *MockRESTMockRecorder) GetVersion(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersion", reflect.TypeOf((*MockREST)(nil).GetVersion), arg0) } diff --git a/mocks/mock_cli/mock_k8s_client/mock_k8s_client.go b/mocks/mock_cli/mock_k8s_client/mock_k8s_client.go index f82d76eef..46e43f19d 100644 --- a/mocks/mock_cli/mock_k8s_client/mock_k8s_client.go +++ b/mocks/mock_cli/mock_k8s_client/mock_k8s_client.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/cli/k8s_client (interfaces: KubernetesClient) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_cli/mock_k8s_client/mock_k8s_client.go github.com/netapp/trident/cli/k8s_client KubernetesClient +// // Package mock_k8s_client is a generated GoMock package. package mock_k8s_client @@ -9,6 +14,8 @@ import ( time "time" v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" + k8sclient "github.com/netapp/trident/cli/k8s_client" + version "github.com/netapp/trident/utils/version" gomock "go.uber.org/mock/gomock" v10 "k8s.io/api/apps/v1" v11 "k8s.io/api/core/v1" @@ -18,9 +25,6 @@ import ( v14 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" types "k8s.io/apimachinery/pkg/types" version0 "k8s.io/apimachinery/pkg/version" - - k8sclient "github.com/netapp/trident/cli/k8s_client" - version "github.com/netapp/trident/utils/version" ) // MockKubernetesClient is a mock of KubernetesClient interface. @@ -55,7 +59,7 @@ func (m *MockKubernetesClient) AddFinalizerToCRD(arg0 string) error { } // AddFinalizerToCRD indicates an expected call of AddFinalizerToCRD. -func (mr *MockKubernetesClientMockRecorder) AddFinalizerToCRD(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) AddFinalizerToCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRD", reflect.TypeOf((*MockKubernetesClient)(nil).AddFinalizerToCRD), arg0) } @@ -69,7 +73,7 @@ func (m *MockKubernetesClient) AddFinalizerToCRDs(arg0 []string) error { } // AddFinalizerToCRDs indicates an expected call of AddFinalizerToCRDs. -func (mr *MockKubernetesClientMockRecorder) AddFinalizerToCRDs(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) AddFinalizerToCRDs(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRDs", reflect.TypeOf((*MockKubernetesClient)(nil).AddFinalizerToCRDs), arg0) } @@ -98,7 +102,7 @@ func (m *MockKubernetesClient) CheckCRDExists(arg0 string) (bool, error) { } // CheckCRDExists indicates an expected call of CheckCRDExists. -func (mr *MockKubernetesClientMockRecorder) CheckCRDExists(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckCRDExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCRDExists", reflect.TypeOf((*MockKubernetesClient)(nil).CheckCRDExists), arg0) } @@ -114,7 +118,7 @@ func (m *MockKubernetesClient) CheckCSIDriverExistsByLabel(arg0 string) (bool, s } // CheckCSIDriverExistsByLabel indicates an expected call of CheckCSIDriverExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckCSIDriverExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckCSIDriverExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCSIDriverExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckCSIDriverExistsByLabel), arg0) } @@ -130,7 +134,7 @@ func (m *MockKubernetesClient) CheckClusterRoleBindingExistsByLabel(arg0 string) } // CheckClusterRoleBindingExistsByLabel indicates an expected call of CheckClusterRoleBindingExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleBindingExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckClusterRoleBindingExistsByLabel), arg0) } @@ -146,7 +150,7 @@ func (m *MockKubernetesClient) CheckClusterRoleExistsByLabel(arg0 string) (bool, } // CheckClusterRoleExistsByLabel indicates an expected call of CheckClusterRoleExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckClusterRoleExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckClusterRoleExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckClusterRoleExistsByLabel), arg0) } @@ -161,7 +165,7 @@ func (m *MockKubernetesClient) CheckDaemonSetExists(arg0, arg1 string) (bool, er } // CheckDaemonSetExists indicates an expected call of CheckDaemonSetExists. -func (mr *MockKubernetesClientMockRecorder) CheckDaemonSetExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckDaemonSetExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExists", reflect.TypeOf((*MockKubernetesClient)(nil).CheckDaemonSetExists), arg0, arg1) } @@ -177,7 +181,7 @@ func (m *MockKubernetesClient) CheckDaemonSetExistsByLabel(arg0 string, arg1 boo } // CheckDaemonSetExistsByLabel indicates an expected call of CheckDaemonSetExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckDaemonSetExistsByLabel), arg0, arg1) } @@ -192,7 +196,7 @@ func (m *MockKubernetesClient) CheckDeploymentExists(arg0, arg1 string) (bool, e } // CheckDeploymentExists indicates an expected call of CheckDeploymentExists. -func (mr *MockKubernetesClientMockRecorder) CheckDeploymentExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckDeploymentExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExists", reflect.TypeOf((*MockKubernetesClient)(nil).CheckDeploymentExists), arg0, arg1) } @@ -208,7 +212,7 @@ func (m *MockKubernetesClient) CheckDeploymentExistsByLabel(arg0 string, arg1 bo } // CheckDeploymentExistsByLabel indicates an expected call of CheckDeploymentExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckDeploymentExistsByLabel), arg0, arg1) } @@ -223,7 +227,7 @@ func (m *MockKubernetesClient) CheckNamespaceExists(arg0 string) (bool, error) { } // CheckNamespaceExists indicates an expected call of CheckNamespaceExists. -func (mr *MockKubernetesClientMockRecorder) CheckNamespaceExists(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckNamespaceExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckNamespaceExists", reflect.TypeOf((*MockKubernetesClient)(nil).CheckNamespaceExists), arg0) } @@ -239,7 +243,7 @@ func (m *MockKubernetesClient) CheckPodExistsByLabel(arg0 string, arg1 bool) (bo } // CheckPodExistsByLabel indicates an expected call of CheckPodExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckPodExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckPodExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckPodExistsByLabel), arg0, arg1) } @@ -255,7 +259,7 @@ func (m *MockKubernetesClient) CheckPodSecurityPolicyExistsByLabel(arg0 string) } // CheckPodSecurityPolicyExistsByLabel indicates an expected call of CheckPodSecurityPolicyExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodSecurityPolicyExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckPodSecurityPolicyExistsByLabel), arg0) } @@ -270,7 +274,7 @@ func (m *MockKubernetesClient) CheckSecretExists(arg0 string) (bool, error) { } // CheckSecretExists indicates an expected call of CheckSecretExists. -func (mr *MockKubernetesClientMockRecorder) CheckSecretExists(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckSecretExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckSecretExists", reflect.TypeOf((*MockKubernetesClient)(nil).CheckSecretExists), arg0) } @@ -286,7 +290,7 @@ func (m *MockKubernetesClient) CheckServiceAccountExistsByLabel(arg0 string, arg } // CheckServiceAccountExistsByLabel indicates an expected call of CheckServiceAccountExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceAccountExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckServiceAccountExistsByLabel), arg0, arg1) } @@ -302,7 +306,7 @@ func (m *MockKubernetesClient) CheckServiceExistsByLabel(arg0 string, arg1 bool) } // CheckServiceExistsByLabel indicates an expected call of CheckServiceExistsByLabel. -func (mr *MockKubernetesClientMockRecorder) CheckServiceExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CheckServiceExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceExistsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).CheckServiceExistsByLabel), arg0, arg1) } @@ -316,7 +320,7 @@ func (m *MockKubernetesClient) CreateObjectByFile(arg0 string) error { } // CreateObjectByFile indicates an expected call of CreateObjectByFile. -func (mr *MockKubernetesClientMockRecorder) CreateObjectByFile(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CreateObjectByFile(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByFile", reflect.TypeOf((*MockKubernetesClient)(nil).CreateObjectByFile), arg0) } @@ -330,7 +334,7 @@ func (m *MockKubernetesClient) CreateObjectByYAML(arg0 string) error { } // CreateObjectByYAML indicates an expected call of CreateObjectByYAML. -func (mr *MockKubernetesClientMockRecorder) CreateObjectByYAML(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CreateObjectByYAML(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByYAML", reflect.TypeOf((*MockKubernetesClient)(nil).CreateObjectByYAML), arg0) } @@ -345,7 +349,7 @@ func (m *MockKubernetesClient) CreateSecret(arg0 *v11.Secret) (*v11.Secret, erro } // CreateSecret indicates an expected call of CreateSecret. -func (mr *MockKubernetesClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) CreateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecret", reflect.TypeOf((*MockKubernetesClient)(nil).CreateSecret), arg0) } @@ -359,7 +363,7 @@ func (m *MockKubernetesClient) DeleteCRD(arg0 string) error { } // DeleteCRD indicates an expected call of DeleteCRD. -func (mr *MockKubernetesClientMockRecorder) DeleteCRD(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCRD", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteCRD), arg0) } @@ -373,7 +377,7 @@ func (m *MockKubernetesClient) DeleteCSIDriver(arg0 string) error { } // DeleteCSIDriver indicates an expected call of DeleteCSIDriver. -func (mr *MockKubernetesClientMockRecorder) DeleteCSIDriver(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteCSIDriver(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriver", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteCSIDriver), arg0) } @@ -387,7 +391,7 @@ func (m *MockKubernetesClient) DeleteCSIDriverByLabel(arg0 string) error { } // DeleteCSIDriverByLabel indicates an expected call of DeleteCSIDriverByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriverByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteCSIDriverByLabel), arg0) } @@ -401,7 +405,7 @@ func (m *MockKubernetesClient) DeleteClusterRole(arg0 string) error { } // DeleteClusterRole indicates an expected call of DeleteClusterRole. -func (mr *MockKubernetesClientMockRecorder) DeleteClusterRole(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteClusterRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRole", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteClusterRole), arg0) } @@ -415,7 +419,7 @@ func (m *MockKubernetesClient) DeleteClusterRoleBinding(arg0 string) error { } // DeleteClusterRoleBinding indicates an expected call of DeleteClusterRoleBinding. -func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBinding", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteClusterRoleBinding), arg0) } @@ -429,7 +433,7 @@ func (m *MockKubernetesClient) DeleteClusterRoleBindingByLabel(arg0 string) erro } // DeleteClusterRoleBindingByLabel indicates an expected call of DeleteClusterRoleBindingByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBindingByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteClusterRoleBindingByLabel), arg0) } @@ -443,7 +447,7 @@ func (m *MockKubernetesClient) DeleteClusterRoleByLabel(arg0 string) error { } // DeleteClusterRoleByLabel indicates an expected call of DeleteClusterRoleByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteClusterRoleByLabel), arg0) } @@ -457,7 +461,7 @@ func (m *MockKubernetesClient) DeleteDaemonSet(arg0, arg1 string, arg2 bool) err } // DeleteDaemonSet indicates an expected call of DeleteDaemonSet. -func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSet", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteDaemonSet), arg0, arg1, arg2) } @@ -471,7 +475,7 @@ func (m *MockKubernetesClient) DeleteDaemonSetByLabel(arg0 string) error { } // DeleteDaemonSetByLabel indicates an expected call of DeleteDaemonSetByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSetByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSetByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteDaemonSetByLabel), arg0) } @@ -485,7 +489,7 @@ func (m *MockKubernetesClient) DeleteDaemonSetByLabelAndName(arg0, arg1 string) } // DeleteDaemonSetByLabelAndName indicates an expected call of DeleteDaemonSetByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteDaemonSetByLabelAndName), arg0, arg1) } @@ -499,7 +503,7 @@ func (m *MockKubernetesClient) DeleteDeployment(arg0, arg1 string, arg2 bool) er } // DeleteDeployment indicates an expected call of DeleteDeployment. -func (mr *MockKubernetesClientMockRecorder) DeleteDeployment(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteDeployment(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeployment", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteDeployment), arg0, arg1, arg2) } @@ -513,7 +517,7 @@ func (m *MockKubernetesClient) DeleteDeploymentByLabel(arg0 string) error { } // DeleteDeploymentByLabel indicates an expected call of DeleteDeploymentByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteDeploymentByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteDeploymentByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeploymentByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteDeploymentByLabel), arg0) } @@ -527,7 +531,7 @@ func (m *MockKubernetesClient) DeleteObjectByFile(arg0 string, arg1 bool) error } // DeleteObjectByFile indicates an expected call of DeleteObjectByFile. -func (mr *MockKubernetesClientMockRecorder) DeleteObjectByFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteObjectByFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByFile", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteObjectByFile), arg0, arg1) } @@ -541,7 +545,7 @@ func (m *MockKubernetesClient) DeleteObjectByYAML(arg0 string, arg1 bool) error } // DeleteObjectByYAML indicates an expected call of DeleteObjectByYAML. -func (mr *MockKubernetesClientMockRecorder) DeleteObjectByYAML(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteObjectByYAML(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByYAML", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteObjectByYAML), arg0, arg1) } @@ -555,7 +559,7 @@ func (m *MockKubernetesClient) DeletePod(arg0, arg1 string) error { } // DeletePod indicates an expected call of DeletePod. -func (mr *MockKubernetesClientMockRecorder) DeletePod(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeletePod(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePod", reflect.TypeOf((*MockKubernetesClient)(nil).DeletePod), arg0, arg1) } @@ -569,7 +573,7 @@ func (m *MockKubernetesClient) DeletePodByLabel(arg0 string) error { } // DeletePodByLabel indicates an expected call of DeletePodByLabel. -func (mr *MockKubernetesClientMockRecorder) DeletePodByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeletePodByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeletePodByLabel), arg0) } @@ -583,7 +587,7 @@ func (m *MockKubernetesClient) DeletePodSecurityPolicy(arg0 string) error { } // DeletePodSecurityPolicy indicates an expected call of DeletePodSecurityPolicy. -func (mr *MockKubernetesClientMockRecorder) DeletePodSecurityPolicy(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeletePodSecurityPolicy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicy", reflect.TypeOf((*MockKubernetesClient)(nil).DeletePodSecurityPolicy), arg0) } @@ -597,7 +601,7 @@ func (m *MockKubernetesClient) DeletePodSecurityPolicyByLabel(arg0 string) error } // DeletePodSecurityPolicyByLabel indicates an expected call of DeletePodSecurityPolicyByLabel. -func (mr *MockKubernetesClientMockRecorder) DeletePodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeletePodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicyByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeletePodSecurityPolicyByLabel), arg0) } @@ -611,7 +615,7 @@ func (m *MockKubernetesClient) DeleteResourceQuota(arg0 string) error { } // DeleteResourceQuota indicates an expected call of DeleteResourceQuota. -func (mr *MockKubernetesClientMockRecorder) DeleteResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuota", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteResourceQuota), arg0) } @@ -625,7 +629,7 @@ func (m *MockKubernetesClient) DeleteResourceQuotaByLabel(arg0 string) error { } // DeleteResourceQuotaByLabel indicates an expected call of DeleteResourceQuotaByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuotaByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteResourceQuotaByLabel), arg0) } @@ -639,7 +643,7 @@ func (m *MockKubernetesClient) DeleteRole(arg0 string) error { } // DeleteRole indicates an expected call of DeleteRole. -func (mr *MockKubernetesClientMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRole", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteRole), arg0) } @@ -653,7 +657,7 @@ func (m *MockKubernetesClient) DeleteRoleBinding(arg0 string) error { } // DeleteRoleBinding indicates an expected call of DeleteRoleBinding. -func (mr *MockKubernetesClientMockRecorder) DeleteRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRoleBinding", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteRoleBinding), arg0) } @@ -667,7 +671,7 @@ func (m *MockKubernetesClient) DeleteSecret(arg0, arg1 string) error { } // DeleteSecret indicates an expected call of DeleteSecret. -func (mr *MockKubernetesClientMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteSecret(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecret", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteSecret), arg0, arg1) } @@ -681,7 +685,7 @@ func (m *MockKubernetesClient) DeleteSecretByLabel(arg0 string) error { } // DeleteSecretByLabel indicates an expected call of DeleteSecretByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteSecretByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteSecretByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteSecretByLabel), arg0) } @@ -695,7 +699,7 @@ func (m *MockKubernetesClient) DeleteSecretDefault(arg0 string) error { } // DeleteSecretDefault indicates an expected call of DeleteSecretDefault. -func (mr *MockKubernetesClientMockRecorder) DeleteSecretDefault(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteSecretDefault(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretDefault", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteSecretDefault), arg0) } @@ -709,7 +713,7 @@ func (m *MockKubernetesClient) DeleteService(arg0, arg1 string) error { } // DeleteService indicates an expected call of DeleteService. -func (mr *MockKubernetesClientMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteService(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteService", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteService), arg0, arg1) } @@ -723,7 +727,7 @@ func (m *MockKubernetesClient) DeleteServiceAccount(arg0, arg1 string, arg2 bool } // DeleteServiceAccount indicates an expected call of DeleteServiceAccount. -func (mr *MockKubernetesClientMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccount", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteServiceAccount), arg0, arg1, arg2) } @@ -737,7 +741,7 @@ func (m *MockKubernetesClient) DeleteServiceAccountByLabel(arg0 string) error { } // DeleteServiceAccountByLabel indicates an expected call of DeleteServiceAccountByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteServiceAccountByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteServiceAccountByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccountByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteServiceAccountByLabel), arg0) } @@ -751,7 +755,7 @@ func (m *MockKubernetesClient) DeleteServiceByLabel(arg0 string) error { } // DeleteServiceByLabel indicates an expected call of DeleteServiceByLabel. -func (mr *MockKubernetesClientMockRecorder) DeleteServiceByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) DeleteServiceByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).DeleteServiceByLabel), arg0) } @@ -766,7 +770,7 @@ func (m *MockKubernetesClient) Exec(arg0, arg1 string, arg2 []string) ([]byte, e } // Exec indicates an expected call of Exec. -func (mr *MockKubernetesClientMockRecorder) Exec(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) Exec(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exec", reflect.TypeOf((*MockKubernetesClient)(nil).Exec), arg0, arg1, arg2) } @@ -795,7 +799,7 @@ func (m *MockKubernetesClient) GetCRD(arg0 string) (*v14.CustomResourceDefinitio } // GetCRD indicates an expected call of GetCRD. -func (mr *MockKubernetesClientMockRecorder) GetCRD(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCRD", reflect.TypeOf((*MockKubernetesClient)(nil).GetCRD), arg0) } @@ -810,7 +814,7 @@ func (m *MockKubernetesClient) GetCSIDriverByLabel(arg0 string) (*v13.CSIDriver, } // GetCSIDriverByLabel indicates an expected call of GetCSIDriverByLabel. -func (mr *MockKubernetesClientMockRecorder) GetCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriverByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetCSIDriverByLabel), arg0) } @@ -825,7 +829,7 @@ func (m *MockKubernetesClient) GetCSIDriversByLabel(arg0 string) ([]v13.CSIDrive } // GetCSIDriversByLabel indicates an expected call of GetCSIDriversByLabel. -func (mr *MockKubernetesClientMockRecorder) GetCSIDriversByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetCSIDriversByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriversByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetCSIDriversByLabel), arg0) } @@ -840,7 +844,7 @@ func (m *MockKubernetesClient) GetClusterRoleBindingByLabel(arg0 string) (*v12.C } // GetClusterRoleBindingByLabel indicates an expected call of GetClusterRoleBindingByLabel. -func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRoleBindingByLabel), arg0) } @@ -855,7 +859,7 @@ func (m *MockKubernetesClient) GetClusterRoleBindingByLabelAndName(arg0, arg1 st } // GetClusterRoleBindingByLabelAndName indicates an expected call of GetClusterRoleBindingByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRoleBindingByLabelAndName), arg0, arg1) } @@ -870,7 +874,7 @@ func (m *MockKubernetesClient) GetClusterRoleBindingsByLabel(arg0 string) ([]v12 } // GetClusterRoleBindingsByLabel indicates an expected call of GetClusterRoleBindingsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRoleBindingsByLabel), arg0) } @@ -885,7 +889,7 @@ func (m *MockKubernetesClient) GetClusterRoleByLabel(arg0 string) (*v12.ClusterR } // GetClusterRoleByLabel indicates an expected call of GetClusterRoleByLabel. -func (mr *MockKubernetesClientMockRecorder) GetClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRoleByLabel), arg0) } @@ -900,7 +904,7 @@ func (m *MockKubernetesClient) GetClusterRoleByLabelAndName(arg0, arg1 string) ( } // GetClusterRoleByLabelAndName indicates an expected call of GetClusterRoleByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRoleByLabelAndName), arg0, arg1) } @@ -915,7 +919,7 @@ func (m *MockKubernetesClient) GetClusterRolesByLabel(arg0 string) ([]v12.Cluste } // GetClusterRolesByLabel indicates an expected call of GetClusterRolesByLabel. -func (mr *MockKubernetesClientMockRecorder) GetClusterRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetClusterRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRolesByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetClusterRolesByLabel), arg0) } @@ -930,7 +934,7 @@ func (m *MockKubernetesClient) GetDaemonSetByLabel(arg0 string, arg1 bool) (*v10 } // GetDaemonSetByLabel indicates an expected call of GetDaemonSetByLabel. -func (mr *MockKubernetesClientMockRecorder) GetDaemonSetByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetDaemonSetByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetDaemonSetByLabel), arg0, arg1) } @@ -945,7 +949,7 @@ func (m *MockKubernetesClient) GetDaemonSetByLabelAndName(arg0, arg1 string, arg } // GetDaemonSetByLabelAndName indicates an expected call of GetDaemonSetByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).GetDaemonSetByLabelAndName), arg0, arg1, arg2) } @@ -960,7 +964,7 @@ func (m *MockKubernetesClient) GetDaemonSetsByLabel(arg0 string, arg1 bool) ([]v } // GetDaemonSetsByLabel indicates an expected call of GetDaemonSetsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetDaemonSetsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetDaemonSetsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetDaemonSetsByLabel), arg0, arg1) } @@ -975,7 +979,7 @@ func (m *MockKubernetesClient) GetDeploymentByLabel(arg0 string, arg1 bool) (*v1 } // GetDeploymentByLabel indicates an expected call of GetDeploymentByLabel. -func (mr *MockKubernetesClientMockRecorder) GetDeploymentByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetDeploymentByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetDeploymentByLabel), arg0, arg1) } @@ -990,7 +994,7 @@ func (m *MockKubernetesClient) GetDeploymentsByLabel(arg0 string, arg1 bool) ([] } // GetDeploymentsByLabel indicates an expected call of GetDeploymentsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetDeploymentsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetDeploymentsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetDeploymentsByLabel), arg0, arg1) } @@ -1005,7 +1009,7 @@ func (m *MockKubernetesClient) GetNamespace(arg0 string) (*v11.Namespace, error) } // GetNamespace indicates an expected call of GetNamespace. -func (mr *MockKubernetesClientMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockKubernetesClient)(nil).GetNamespace), arg0) } @@ -1022,7 +1026,7 @@ func (m *MockKubernetesClient) GetOpenShiftSCCByName(arg0, arg1 string) (bool, b } // GetOpenShiftSCCByName indicates an expected call of GetOpenShiftSCCByName. -func (mr *MockKubernetesClientMockRecorder) GetOpenShiftSCCByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetOpenShiftSCCByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOpenShiftSCCByName", reflect.TypeOf((*MockKubernetesClient)(nil).GetOpenShiftSCCByName), arg0, arg1) } @@ -1037,7 +1041,7 @@ func (m *MockKubernetesClient) GetPersistentVolumeClaims(arg0 bool) ([]v11.Persi } // GetPersistentVolumeClaims indicates an expected call of GetPersistentVolumeClaims. -func (mr *MockKubernetesClientMockRecorder) GetPersistentVolumeClaims(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetPersistentVolumeClaims(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPersistentVolumeClaims", reflect.TypeOf((*MockKubernetesClient)(nil).GetPersistentVolumeClaims), arg0) } @@ -1067,7 +1071,7 @@ func (m *MockKubernetesClient) GetPodByLabel(arg0 string, arg1 bool) (*v11.Pod, } // GetPodByLabel indicates an expected call of GetPodByLabel. -func (mr *MockKubernetesClientMockRecorder) GetPodByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetPodByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetPodByLabel), arg0, arg1) } @@ -1082,7 +1086,7 @@ func (m *MockKubernetesClient) GetPodSecurityPoliciesByLabel(arg0 string) ([]v1b } // GetPodSecurityPoliciesByLabel indicates an expected call of GetPodSecurityPoliciesByLabel. -func (mr *MockKubernetesClientMockRecorder) GetPodSecurityPoliciesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetPodSecurityPoliciesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPoliciesByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetPodSecurityPoliciesByLabel), arg0) } @@ -1097,7 +1101,7 @@ func (m *MockKubernetesClient) GetPodSecurityPolicyByLabel(arg0 string) (*v1beta } // GetPodSecurityPolicyByLabel indicates an expected call of GetPodSecurityPolicyByLabel. -func (mr *MockKubernetesClientMockRecorder) GetPodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetPodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPolicyByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetPodSecurityPolicyByLabel), arg0) } @@ -1112,7 +1116,7 @@ func (m *MockKubernetesClient) GetPodsByLabel(arg0 string, arg1 bool) ([]v11.Pod } // GetPodsByLabel indicates an expected call of GetPodsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetPodsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetPodsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetPodsByLabel), arg0, arg1) } @@ -1127,7 +1131,7 @@ func (m *MockKubernetesClient) GetResourceQuota(arg0 string) (*v11.ResourceQuota } // GetResourceQuota indicates an expected call of GetResourceQuota. -func (mr *MockKubernetesClientMockRecorder) GetResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuota", reflect.TypeOf((*MockKubernetesClient)(nil).GetResourceQuota), arg0) } @@ -1142,7 +1146,7 @@ func (m *MockKubernetesClient) GetResourceQuotaByLabel(arg0 string) (*v11.Resour } // GetResourceQuotaByLabel indicates an expected call of GetResourceQuotaByLabel. -func (mr *MockKubernetesClientMockRecorder) GetResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotaByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetResourceQuotaByLabel), arg0) } @@ -1157,7 +1161,7 @@ func (m *MockKubernetesClient) GetResourceQuotasByLabel(arg0 string) ([]v11.Reso } // GetResourceQuotasByLabel indicates an expected call of GetResourceQuotasByLabel. -func (mr *MockKubernetesClientMockRecorder) GetResourceQuotasByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetResourceQuotasByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotasByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetResourceQuotasByLabel), arg0) } @@ -1172,7 +1176,7 @@ func (m *MockKubernetesClient) GetRoleBindingByLabelAndName(arg0, arg1 string) ( } // GetRoleBindingByLabelAndName indicates an expected call of GetRoleBindingByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).GetRoleBindingByLabelAndName), arg0, arg1) } @@ -1187,7 +1191,7 @@ func (m *MockKubernetesClient) GetRoleBindingsByLabel(arg0 string) ([]v12.RoleBi } // GetRoleBindingsByLabel indicates an expected call of GetRoleBindingsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetRoleBindingsByLabel), arg0) } @@ -1202,7 +1206,7 @@ func (m *MockKubernetesClient) GetRolesByLabel(arg0 string) ([]v12.Role, error) } // GetRolesByLabel indicates an expected call of GetRolesByLabel. -func (mr *MockKubernetesClientMockRecorder) GetRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRolesByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetRolesByLabel), arg0) } @@ -1217,7 +1221,7 @@ func (m *MockKubernetesClient) GetSecret(arg0 string) (*v11.Secret, error) { } // GetSecret indicates an expected call of GetSecret. -func (mr *MockKubernetesClientMockRecorder) GetSecret(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecret", reflect.TypeOf((*MockKubernetesClient)(nil).GetSecret), arg0) } @@ -1232,7 +1236,7 @@ func (m *MockKubernetesClient) GetSecretByLabel(arg0 string, arg1 bool) (*v11.Se } // GetSecretByLabel indicates an expected call of GetSecretByLabel. -func (mr *MockKubernetesClientMockRecorder) GetSecretByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetSecretByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetSecretByLabel), arg0, arg1) } @@ -1247,7 +1251,7 @@ func (m *MockKubernetesClient) GetSecretsByLabel(arg0 string, arg1 bool) ([]v11. } // GetSecretsByLabel indicates an expected call of GetSecretsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetSecretsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetSecretsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetSecretsByLabel), arg0, arg1) } @@ -1262,7 +1266,7 @@ func (m *MockKubernetesClient) GetServiceAccountByLabel(arg0 string, arg1 bool) } // GetServiceAccountByLabel indicates an expected call of GetServiceAccountByLabel. -func (mr *MockKubernetesClientMockRecorder) GetServiceAccountByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetServiceAccountByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetServiceAccountByLabel), arg0, arg1) } @@ -1277,7 +1281,7 @@ func (m *MockKubernetesClient) GetServiceAccountByLabelAndName(arg0, arg1 string } // GetServiceAccountByLabelAndName indicates an expected call of GetServiceAccountByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).GetServiceAccountByLabelAndName), arg0, arg1, arg2) } @@ -1292,7 +1296,7 @@ func (m *MockKubernetesClient) GetServiceAccountsByLabel(arg0 string, arg1 bool) } // GetServiceAccountsByLabel indicates an expected call of GetServiceAccountsByLabel. -func (mr *MockKubernetesClientMockRecorder) GetServiceAccountsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetServiceAccountsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountsByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetServiceAccountsByLabel), arg0, arg1) } @@ -1307,7 +1311,7 @@ func (m *MockKubernetesClient) GetServiceByLabel(arg0 string, arg1 bool) (*v11.S } // GetServiceByLabel indicates an expected call of GetServiceByLabel. -func (mr *MockKubernetesClientMockRecorder) GetServiceByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetServiceByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetServiceByLabel), arg0, arg1) } @@ -1322,7 +1326,7 @@ func (m *MockKubernetesClient) GetServicesByLabel(arg0 string, arg1 bool) ([]v11 } // GetServicesByLabel indicates an expected call of GetServicesByLabel. -func (mr *MockKubernetesClientMockRecorder) GetServicesByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetServicesByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServicesByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).GetServicesByLabel), arg0, arg1) } @@ -1367,7 +1371,7 @@ func (m *MockKubernetesClient) GetVolumeSnapshots(arg0 bool) ([]v1.VolumeSnapsho } // GetVolumeSnapshots indicates an expected call of GetVolumeSnapshots. -func (mr *MockKubernetesClientMockRecorder) GetVolumeSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) GetVolumeSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeSnapshots", reflect.TypeOf((*MockKubernetesClient)(nil).GetVolumeSnapshots), arg0) } @@ -1395,7 +1399,7 @@ func (m *MockKubernetesClient) PatchCRD(arg0 string, arg1 []byte, arg2 types.Pat } // PatchCRD indicates an expected call of PatchCRD. -func (mr *MockKubernetesClientMockRecorder) PatchCRD(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchCRD(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCRD", reflect.TypeOf((*MockKubernetesClient)(nil).PatchCRD), arg0, arg1, arg2) } @@ -1409,7 +1413,7 @@ func (m *MockKubernetesClient) PatchCSIDriverByLabel(arg0 string, arg1 []byte, a } // PatchCSIDriverByLabel indicates an expected call of PatchCSIDriverByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCSIDriverByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchCSIDriverByLabel), arg0, arg1, arg2) } @@ -1423,7 +1427,7 @@ func (m *MockKubernetesClient) PatchClusterRoleBindingByLabel(arg0 string, arg1 } // PatchClusterRoleBindingByLabel indicates an expected call of PatchClusterRoleBindingByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchClusterRoleBindingByLabel), arg0, arg1, arg2) } @@ -1437,7 +1441,7 @@ func (m *MockKubernetesClient) PatchClusterRoleBindingByLabelAndName(arg0, arg1 } // PatchClusterRoleBindingByLabelAndName indicates an expected call of PatchClusterRoleBindingByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchClusterRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1451,7 +1455,7 @@ func (m *MockKubernetesClient) PatchClusterRoleByLabel(arg0 string, arg1 []byte, } // PatchClusterRoleByLabel indicates an expected call of PatchClusterRoleByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchClusterRoleByLabel), arg0, arg1, arg2) } @@ -1465,7 +1469,7 @@ func (m *MockKubernetesClient) PatchClusterRoleByLabelAndName(arg0, arg1 string, } // PatchClusterRoleByLabelAndName indicates an expected call of PatchClusterRoleByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchClusterRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1479,7 +1483,7 @@ func (m *MockKubernetesClient) PatchDaemonSetByLabel(arg0 string, arg1 []byte, a } // PatchDaemonSetByLabel indicates an expected call of PatchDaemonSetByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchDaemonSetByLabel), arg0, arg1, arg2) } @@ -1493,7 +1497,7 @@ func (m *MockKubernetesClient) PatchDaemonSetByLabelAndName(arg0, arg1 string, a } // PatchDaemonSetByLabelAndName indicates an expected call of PatchDaemonSetByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchDaemonSetByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1507,7 +1511,7 @@ func (m *MockKubernetesClient) PatchDeploymentByLabel(arg0 string, arg1 []byte, } // PatchDeploymentByLabel indicates an expected call of PatchDeploymentByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDeploymentByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchDeploymentByLabel), arg0, arg1, arg2) } @@ -1521,7 +1525,7 @@ func (m *MockKubernetesClient) PatchNamespace(arg0 string, arg1 []byte, arg2 typ } // PatchNamespace indicates an expected call of PatchNamespace. -func (mr *MockKubernetesClientMockRecorder) PatchNamespace(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchNamespace(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespace", reflect.TypeOf((*MockKubernetesClient)(nil).PatchNamespace), arg0, arg1, arg2) } @@ -1535,7 +1539,7 @@ func (m *MockKubernetesClient) PatchNamespaceLabels(arg0 string, arg1 map[string } // PatchNamespaceLabels indicates an expected call of PatchNamespaceLabels. -func (mr *MockKubernetesClientMockRecorder) PatchNamespaceLabels(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchNamespaceLabels(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespaceLabels", reflect.TypeOf((*MockKubernetesClient)(nil).PatchNamespaceLabels), arg0, arg1) } @@ -1549,7 +1553,7 @@ func (m *MockKubernetesClient) PatchOpenShiftSCC(arg0 []byte) error { } // PatchOpenShiftSCC indicates an expected call of PatchOpenShiftSCC. -func (mr *MockKubernetesClientMockRecorder) PatchOpenShiftSCC(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchOpenShiftSCC(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchOpenShiftSCC", reflect.TypeOf((*MockKubernetesClient)(nil).PatchOpenShiftSCC), arg0) } @@ -1563,7 +1567,7 @@ func (m *MockKubernetesClient) PatchPodSecurityPolicyByLabel(arg0 string, arg1 [ } // PatchPodSecurityPolicyByLabel indicates an expected call of PatchPodSecurityPolicyByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchPodSecurityPolicyByLabel), arg0, arg1, arg2) } @@ -1577,7 +1581,7 @@ func (m *MockKubernetesClient) PatchPodSecurityPolicyByLabelAndName(arg0, arg1 s } // PatchPodSecurityPolicyByLabelAndName indicates an expected call of PatchPodSecurityPolicyByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchPodSecurityPolicyByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1591,7 +1595,7 @@ func (m *MockKubernetesClient) PatchResourceQuotaByLabel(arg0 string, arg1 []byt } // PatchResourceQuotaByLabel indicates an expected call of PatchResourceQuotaByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchResourceQuotaByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchResourceQuotaByLabel), arg0, arg1, arg2) } @@ -1605,7 +1609,7 @@ func (m *MockKubernetesClient) PatchRoleBindingByLabelAndName(arg0, arg1 string, } // PatchRoleBindingByLabelAndName indicates an expected call of PatchRoleBindingByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleBindingByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1619,7 +1623,7 @@ func (m *MockKubernetesClient) PatchRoleByLabelAndName(arg0, arg1 string, arg2 [ } // PatchRoleByLabelAndName indicates an expected call of PatchRoleByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1633,7 +1637,7 @@ func (m *MockKubernetesClient) PatchSecretByLabel(arg0 string, arg1 []byte, arg2 } // PatchSecretByLabel indicates an expected call of PatchSecretByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchSecretByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchSecretByLabel), arg0, arg1, arg2) } @@ -1647,7 +1651,7 @@ func (m *MockKubernetesClient) PatchServiceAccountByLabel(arg0 string, arg1 []by } // PatchServiceAccountByLabel indicates an expected call of PatchServiceAccountByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchServiceAccountByLabel), arg0, arg1, arg2) } @@ -1661,7 +1665,7 @@ func (m *MockKubernetesClient) PatchServiceAccountByLabelAndName(arg0, arg1 stri } // PatchServiceAccountByLabelAndName indicates an expected call of PatchServiceAccountByLabelAndName. -func (mr *MockKubernetesClientMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabelAndName", reflect.TypeOf((*MockKubernetesClient)(nil).PatchServiceAccountByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1675,7 +1679,7 @@ func (m *MockKubernetesClient) PatchServiceByLabel(arg0 string, arg1 []byte, arg } // PatchServiceByLabel indicates an expected call of PatchServiceByLabel. -func (mr *MockKubernetesClientMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceByLabel", reflect.TypeOf((*MockKubernetesClient)(nil).PatchServiceByLabel), arg0, arg1, arg2) } @@ -1689,7 +1693,7 @@ func (m *MockKubernetesClient) RemoveFinalizerFromCRD(arg0 string) error { } // RemoveFinalizerFromCRD indicates an expected call of RemoveFinalizerFromCRD. -func (mr *MockKubernetesClientMockRecorder) RemoveFinalizerFromCRD(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) RemoveFinalizerFromCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveFinalizerFromCRD", reflect.TypeOf((*MockKubernetesClient)(nil).RemoveFinalizerFromCRD), arg0) } @@ -1703,7 +1707,7 @@ func (m *MockKubernetesClient) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 stri } // RemoveTridentUserFromOpenShiftSCC indicates an expected call of RemoveTridentUserFromOpenShiftSCC. -func (mr *MockKubernetesClientMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveTridentUserFromOpenShiftSCC", reflect.TypeOf((*MockKubernetesClient)(nil).RemoveTridentUserFromOpenShiftSCC), arg0, arg1) } @@ -1729,7 +1733,7 @@ func (m *MockKubernetesClient) SetNamespace(arg0 string) { } // SetNamespace indicates an expected call of SetNamespace. -func (mr *MockKubernetesClientMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) SetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespace", reflect.TypeOf((*MockKubernetesClient)(nil).SetNamespace), arg0) } @@ -1741,7 +1745,7 @@ func (m *MockKubernetesClient) SetTimeout(arg0 time.Duration) { } // SetTimeout indicates an expected call of SetTimeout. -func (mr *MockKubernetesClientMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) SetTimeout(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTimeout", reflect.TypeOf((*MockKubernetesClient)(nil).SetTimeout), arg0) } @@ -1756,7 +1760,7 @@ func (m *MockKubernetesClient) UpdateSecret(arg0 *v11.Secret) (*v11.Secret, erro } // UpdateSecret indicates an expected call of UpdateSecret. -func (mr *MockKubernetesClientMockRecorder) UpdateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockKubernetesClientMockRecorder) UpdateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSecret", reflect.TypeOf((*MockKubernetesClient)(nil).UpdateSecret), arg0) } diff --git a/mocks/mock_core/mock_core.go b/mocks/mock_core/mock_core.go index c6f2061e6..015e9e649 100644 --- a/mocks/mock_core/mock_core.go +++ b/mocks/mock_core/mock_core.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/core (interfaces: Orchestrator) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_core/mock_core.go github.com/netapp/trident/core Orchestrator +// // Package mock_core is a generated GoMock package. package mock_core @@ -9,13 +14,12 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - core "github.com/netapp/trident/core" frontend "github.com/netapp/trident/frontend" storage "github.com/netapp/trident/storage" storageclass "github.com/netapp/trident/storage_class" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockOrchestrator is a mock of Orchestrator interface. @@ -51,7 +55,7 @@ func (m *MockOrchestrator) AddBackend(arg0 context.Context, arg1, arg2 string) ( } // AddBackend indicates an expected call of AddBackend. -func (mr *MockOrchestratorMockRecorder) AddBackend(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddBackend(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddBackend", reflect.TypeOf((*MockOrchestrator)(nil).AddBackend), arg0, arg1, arg2) } @@ -63,7 +67,7 @@ func (m *MockOrchestrator) AddFrontend(arg0 context.Context, arg1 frontend.Plugi } // AddFrontend indicates an expected call of AddFrontend. -func (mr *MockOrchestratorMockRecorder) AddFrontend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddFrontend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFrontend", reflect.TypeOf((*MockOrchestrator)(nil).AddFrontend), arg0, arg1) } @@ -77,7 +81,7 @@ func (m *MockOrchestrator) AddNode(arg0 context.Context, arg1 *models.Node, arg2 } // AddNode indicates an expected call of AddNode. -func (mr *MockOrchestratorMockRecorder) AddNode(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddNode(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNode", reflect.TypeOf((*MockOrchestrator)(nil).AddNode), arg0, arg1, arg2) } @@ -92,7 +96,7 @@ func (m *MockOrchestrator) AddStorageClass(arg0 context.Context, arg1 *storagecl } // AddStorageClass indicates an expected call of AddStorageClass. -func (mr *MockOrchestratorMockRecorder) AddStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddStorageClass", reflect.TypeOf((*MockOrchestrator)(nil).AddStorageClass), arg0, arg1) } @@ -107,7 +111,7 @@ func (m *MockOrchestrator) AddVolume(arg0 context.Context, arg1 *storage.VolumeC } // AddVolume indicates an expected call of AddVolume. -func (mr *MockOrchestratorMockRecorder) AddVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolume", reflect.TypeOf((*MockOrchestrator)(nil).AddVolume), arg0, arg1) } @@ -121,7 +125,7 @@ func (m *MockOrchestrator) AddVolumeTransaction(arg0 context.Context, arg1 *stor } // AddVolumeTransaction indicates an expected call of AddVolumeTransaction. -func (mr *MockOrchestratorMockRecorder) AddVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AddVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolumeTransaction", reflect.TypeOf((*MockOrchestrator)(nil).AddVolumeTransaction), arg0, arg1) } @@ -135,7 +139,7 @@ func (m *MockOrchestrator) AttachVolume(arg0 context.Context, arg1, arg2 string, } // AttachVolume indicates an expected call of AttachVolume. -func (mr *MockOrchestratorMockRecorder) AttachVolume(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) AttachVolume(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachVolume", reflect.TypeOf((*MockOrchestrator)(nil).AttachVolume), arg0, arg1, arg2, arg3) } @@ -149,7 +153,7 @@ func (m *MockOrchestrator) Bootstrap(arg0 bool) error { } // Bootstrap indicates an expected call of Bootstrap. -func (mr *MockOrchestratorMockRecorder) Bootstrap(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) Bootstrap(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrap", reflect.TypeOf((*MockOrchestrator)(nil).Bootstrap), arg0) } @@ -164,7 +168,7 @@ func (m *MockOrchestrator) CanBackendMirror(arg0 context.Context, arg1 string) ( } // CanBackendMirror indicates an expected call of CanBackendMirror. -func (mr *MockOrchestratorMockRecorder) CanBackendMirror(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) CanBackendMirror(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanBackendMirror", reflect.TypeOf((*MockOrchestrator)(nil).CanBackendMirror), arg0, arg1) } @@ -179,7 +183,7 @@ func (m *MockOrchestrator) CheckMirrorTransferState(arg0 context.Context, arg1 s } // CheckMirrorTransferState indicates an expected call of CheckMirrorTransferState. -func (mr *MockOrchestratorMockRecorder) CheckMirrorTransferState(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) CheckMirrorTransferState(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckMirrorTransferState", reflect.TypeOf((*MockOrchestrator)(nil).CheckMirrorTransferState), arg0, arg1) } @@ -194,7 +198,7 @@ func (m *MockOrchestrator) CloneVolume(arg0 context.Context, arg1 *storage.Volum } // CloneVolume indicates an expected call of CloneVolume. -func (mr *MockOrchestratorMockRecorder) CloneVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) CloneVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloneVolume", reflect.TypeOf((*MockOrchestrator)(nil).CloneVolume), arg0, arg1) } @@ -209,7 +213,7 @@ func (m *MockOrchestrator) CreateSnapshot(arg0 context.Context, arg1 *storage.Sn } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockOrchestratorMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) CreateSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockOrchestrator)(nil).CreateSnapshot), arg0, arg1) } @@ -223,7 +227,7 @@ func (m *MockOrchestrator) DeleteBackend(arg0 context.Context, arg1 string) erro } // DeleteBackend indicates an expected call of DeleteBackend. -func (mr *MockOrchestratorMockRecorder) DeleteBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBackend", reflect.TypeOf((*MockOrchestrator)(nil).DeleteBackend), arg0, arg1) } @@ -237,7 +241,7 @@ func (m *MockOrchestrator) DeleteBackendByBackendUUID(arg0 context.Context, arg1 } // DeleteBackendByBackendUUID indicates an expected call of DeleteBackendByBackendUUID. -func (mr *MockOrchestratorMockRecorder) DeleteBackendByBackendUUID(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteBackendByBackendUUID(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBackendByBackendUUID", reflect.TypeOf((*MockOrchestrator)(nil).DeleteBackendByBackendUUID), arg0, arg1, arg2) } @@ -251,7 +255,7 @@ func (m *MockOrchestrator) DeleteNode(arg0 context.Context, arg1 string) error { } // DeleteNode indicates an expected call of DeleteNode. -func (mr *MockOrchestratorMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNode", reflect.TypeOf((*MockOrchestrator)(nil).DeleteNode), arg0, arg1) } @@ -265,7 +269,7 @@ func (m *MockOrchestrator) DeleteSnapshot(arg0 context.Context, arg1, arg2 strin } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockOrchestratorMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockOrchestrator)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -279,7 +283,7 @@ func (m *MockOrchestrator) DeleteStorageClass(arg0 context.Context, arg1 string) } // DeleteStorageClass indicates an expected call of DeleteStorageClass. -func (mr *MockOrchestratorMockRecorder) DeleteStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStorageClass", reflect.TypeOf((*MockOrchestrator)(nil).DeleteStorageClass), arg0, arg1) } @@ -293,7 +297,7 @@ func (m *MockOrchestrator) DeleteVolume(arg0 context.Context, arg1 string) error } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockOrchestratorMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockOrchestrator)(nil).DeleteVolume), arg0, arg1) } @@ -307,7 +311,7 @@ func (m *MockOrchestrator) DeleteVolumePublication(arg0 context.Context, arg1, a } // DeleteVolumePublication indicates an expected call of DeleteVolumePublication. -func (mr *MockOrchestratorMockRecorder) DeleteVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteVolumePublication(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumePublication", reflect.TypeOf((*MockOrchestrator)(nil).DeleteVolumePublication), arg0, arg1, arg2) } @@ -321,7 +325,7 @@ func (m *MockOrchestrator) DeleteVolumeTransaction(arg0 context.Context, arg1 *s } // DeleteVolumeTransaction indicates an expected call of DeleteVolumeTransaction. -func (mr *MockOrchestratorMockRecorder) DeleteVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DeleteVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumeTransaction", reflect.TypeOf((*MockOrchestrator)(nil).DeleteVolumeTransaction), arg0, arg1) } @@ -335,7 +339,7 @@ func (m *MockOrchestrator) DetachVolume(arg0 context.Context, arg1, arg2 string) } // DetachVolume indicates an expected call of DetachVolume. -func (mr *MockOrchestratorMockRecorder) DetachVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) DetachVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachVolume", reflect.TypeOf((*MockOrchestrator)(nil).DetachVolume), arg0, arg1, arg2) } @@ -349,7 +353,7 @@ func (m *MockOrchestrator) EstablishMirror(arg0 context.Context, arg1, arg2, arg } // EstablishMirror indicates an expected call of EstablishMirror. -func (mr *MockOrchestratorMockRecorder) EstablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) EstablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstablishMirror", reflect.TypeOf((*MockOrchestrator)(nil).EstablishMirror), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -364,7 +368,7 @@ func (m *MockOrchestrator) GetBackend(arg0 context.Context, arg1 string) (*stora } // GetBackend indicates an expected call of GetBackend. -func (mr *MockOrchestratorMockRecorder) GetBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackend", reflect.TypeOf((*MockOrchestrator)(nil).GetBackend), arg0, arg1) } @@ -379,7 +383,7 @@ func (m *MockOrchestrator) GetBackendByBackendUUID(arg0 context.Context, arg1 st } // GetBackendByBackendUUID indicates an expected call of GetBackendByBackendUUID. -func (mr *MockOrchestratorMockRecorder) GetBackendByBackendUUID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetBackendByBackendUUID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackendByBackendUUID", reflect.TypeOf((*MockOrchestrator)(nil).GetBackendByBackendUUID), arg0, arg1) } @@ -394,7 +398,7 @@ func (m *MockOrchestrator) GetCHAP(arg0 context.Context, arg1, arg2 string) (*mo } // GetCHAP indicates an expected call of GetCHAP. -func (mr *MockOrchestratorMockRecorder) GetCHAP(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetCHAP(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCHAP", reflect.TypeOf((*MockOrchestrator)(nil).GetCHAP), arg0, arg1, arg2) } @@ -409,7 +413,7 @@ func (m *MockOrchestrator) GetFrontend(arg0 context.Context, arg1 string) (front } // GetFrontend indicates an expected call of GetFrontend. -func (mr *MockOrchestratorMockRecorder) GetFrontend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetFrontend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFrontend", reflect.TypeOf((*MockOrchestrator)(nil).GetFrontend), arg0, arg1) } @@ -424,7 +428,7 @@ func (m *MockOrchestrator) GetLogLevel(arg0 context.Context) (string, error) { } // GetLogLevel indicates an expected call of GetLogLevel. -func (mr *MockOrchestratorMockRecorder) GetLogLevel(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetLogLevel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogLevel", reflect.TypeOf((*MockOrchestrator)(nil).GetLogLevel), arg0) } @@ -439,7 +443,7 @@ func (m *MockOrchestrator) GetMirrorStatus(arg0 context.Context, arg1, arg2, arg } // GetMirrorStatus indicates an expected call of GetMirrorStatus. -func (mr *MockOrchestratorMockRecorder) GetMirrorStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetMirrorStatus(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMirrorStatus", reflect.TypeOf((*MockOrchestrator)(nil).GetMirrorStatus), arg0, arg1, arg2, arg3) } @@ -454,7 +458,7 @@ func (m *MockOrchestrator) GetMirrorTransferTime(arg0 context.Context, arg1 stri } // GetMirrorTransferTime indicates an expected call of GetMirrorTransferTime. -func (mr *MockOrchestratorMockRecorder) GetMirrorTransferTime(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetMirrorTransferTime(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMirrorTransferTime", reflect.TypeOf((*MockOrchestrator)(nil).GetMirrorTransferTime), arg0, arg1) } @@ -469,7 +473,7 @@ func (m *MockOrchestrator) GetNode(arg0 context.Context, arg1 string) (*models.N } // GetNode indicates an expected call of GetNode. -func (mr *MockOrchestratorMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNode", reflect.TypeOf((*MockOrchestrator)(nil).GetNode), arg0, arg1) } @@ -486,7 +490,7 @@ func (m *MockOrchestrator) GetReplicationDetails(arg0 context.Context, arg1, arg } // GetReplicationDetails indicates an expected call of GetReplicationDetails. -func (mr *MockOrchestratorMockRecorder) GetReplicationDetails(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetReplicationDetails(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetReplicationDetails", reflect.TypeOf((*MockOrchestrator)(nil).GetReplicationDetails), arg0, arg1, arg2, arg3) } @@ -501,7 +505,7 @@ func (m *MockOrchestrator) GetSelectedLogLayers(arg0 context.Context) (string, e } // GetSelectedLogLayers indicates an expected call of GetSelectedLogLayers. -func (mr *MockOrchestratorMockRecorder) GetSelectedLogLayers(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetSelectedLogLayers(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSelectedLogLayers", reflect.TypeOf((*MockOrchestrator)(nil).GetSelectedLogLayers), arg0) } @@ -516,7 +520,7 @@ func (m *MockOrchestrator) GetSelectedLoggingWorkflows(arg0 context.Context) (st } // GetSelectedLoggingWorkflows indicates an expected call of GetSelectedLoggingWorkflows. -func (mr *MockOrchestratorMockRecorder) GetSelectedLoggingWorkflows(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetSelectedLoggingWorkflows(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSelectedLoggingWorkflows", reflect.TypeOf((*MockOrchestrator)(nil).GetSelectedLoggingWorkflows), arg0) } @@ -531,7 +535,7 @@ func (m *MockOrchestrator) GetSnapshot(arg0 context.Context, arg1, arg2 string) } // GetSnapshot indicates an expected call of GetSnapshot. -func (mr *MockOrchestratorMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshot", reflect.TypeOf((*MockOrchestrator)(nil).GetSnapshot), arg0, arg1, arg2) } @@ -546,7 +550,7 @@ func (m *MockOrchestrator) GetStorageClass(arg0 context.Context, arg1 string) (* } // GetStorageClass indicates an expected call of GetStorageClass. -func (mr *MockOrchestratorMockRecorder) GetStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageClass", reflect.TypeOf((*MockOrchestrator)(nil).GetStorageClass), arg0, arg1) } @@ -561,7 +565,7 @@ func (m *MockOrchestrator) GetSubordinateSourceVolume(arg0 context.Context, arg1 } // GetSubordinateSourceVolume indicates an expected call of GetSubordinateSourceVolume. -func (mr *MockOrchestratorMockRecorder) GetSubordinateSourceVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetSubordinateSourceVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubordinateSourceVolume", reflect.TypeOf((*MockOrchestrator)(nil).GetSubordinateSourceVolume), arg0, arg1) } @@ -576,7 +580,7 @@ func (m *MockOrchestrator) GetVersion(arg0 context.Context) (string, error) { } // GetVersion indicates an expected call of GetVersion. -func (mr *MockOrchestratorMockRecorder) GetVersion(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVersion(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersion", reflect.TypeOf((*MockOrchestrator)(nil).GetVersion), arg0) } @@ -591,7 +595,7 @@ func (m *MockOrchestrator) GetVolume(arg0 context.Context, arg1 string) (*storag } // GetVolume indicates an expected call of GetVolume. -func (mr *MockOrchestratorMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolume", reflect.TypeOf((*MockOrchestrator)(nil).GetVolume), arg0, arg1) } @@ -606,7 +610,7 @@ func (m *MockOrchestrator) GetVolumeByInternalName(arg0 context.Context, arg1 st } // GetVolumeByInternalName indicates an expected call of GetVolumeByInternalName. -func (mr *MockOrchestratorMockRecorder) GetVolumeByInternalName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVolumeByInternalName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByInternalName", reflect.TypeOf((*MockOrchestrator)(nil).GetVolumeByInternalName), arg0, arg1) } @@ -621,7 +625,7 @@ func (m *MockOrchestrator) GetVolumeForImport(arg0 context.Context, arg1, arg2 s } // GetVolumeForImport indicates an expected call of GetVolumeForImport. -func (mr *MockOrchestratorMockRecorder) GetVolumeForImport(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVolumeForImport(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeForImport", reflect.TypeOf((*MockOrchestrator)(nil).GetVolumeForImport), arg0, arg1, arg2) } @@ -636,7 +640,7 @@ func (m *MockOrchestrator) GetVolumePublication(arg0 context.Context, arg1, arg2 } // GetVolumePublication indicates an expected call of GetVolumePublication. -func (mr *MockOrchestratorMockRecorder) GetVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVolumePublication(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumePublication", reflect.TypeOf((*MockOrchestrator)(nil).GetVolumePublication), arg0, arg1, arg2) } @@ -651,7 +655,7 @@ func (m *MockOrchestrator) GetVolumeTransaction(arg0 context.Context, arg1 *stor } // GetVolumeTransaction indicates an expected call of GetVolumeTransaction. -func (mr *MockOrchestratorMockRecorder) GetVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) GetVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeTransaction", reflect.TypeOf((*MockOrchestrator)(nil).GetVolumeTransaction), arg0, arg1) } @@ -666,7 +670,7 @@ func (m *MockOrchestrator) ImportSnapshot(arg0 context.Context, arg1 *storage.Sn } // ImportSnapshot indicates an expected call of ImportSnapshot. -func (mr *MockOrchestratorMockRecorder) ImportSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ImportSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportSnapshot", reflect.TypeOf((*MockOrchestrator)(nil).ImportSnapshot), arg0, arg1) } @@ -681,7 +685,7 @@ func (m *MockOrchestrator) ImportVolume(arg0 context.Context, arg1 *storage.Volu } // ImportVolume indicates an expected call of ImportVolume. -func (mr *MockOrchestratorMockRecorder) ImportVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ImportVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportVolume", reflect.TypeOf((*MockOrchestrator)(nil).ImportVolume), arg0, arg1) } @@ -696,7 +700,7 @@ func (m *MockOrchestrator) ListBackends(arg0 context.Context) ([]*storage.Backen } // ListBackends indicates an expected call of ListBackends. -func (mr *MockOrchestratorMockRecorder) ListBackends(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListBackends(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBackends", reflect.TypeOf((*MockOrchestrator)(nil).ListBackends), arg0) } @@ -711,7 +715,7 @@ func (m *MockOrchestrator) ListLogLayers(arg0 context.Context) ([]string, error) } // ListLogLayers indicates an expected call of ListLogLayers. -func (mr *MockOrchestratorMockRecorder) ListLogLayers(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListLogLayers(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogLayers", reflect.TypeOf((*MockOrchestrator)(nil).ListLogLayers), arg0) } @@ -726,7 +730,7 @@ func (m *MockOrchestrator) ListLoggingWorkflows(arg0 context.Context) ([]string, } // ListLoggingWorkflows indicates an expected call of ListLoggingWorkflows. -func (mr *MockOrchestratorMockRecorder) ListLoggingWorkflows(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListLoggingWorkflows(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoggingWorkflows", reflect.TypeOf((*MockOrchestrator)(nil).ListLoggingWorkflows), arg0) } @@ -741,7 +745,7 @@ func (m *MockOrchestrator) ListNodes(arg0 context.Context) ([]*models.NodeExtern } // ListNodes indicates an expected call of ListNodes. -func (mr *MockOrchestratorMockRecorder) ListNodes(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListNodes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNodes", reflect.TypeOf((*MockOrchestrator)(nil).ListNodes), arg0) } @@ -756,7 +760,7 @@ func (m *MockOrchestrator) ListSnapshots(arg0 context.Context) ([]*storage.Snaps } // ListSnapshots indicates an expected call of ListSnapshots. -func (mr *MockOrchestratorMockRecorder) ListSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSnapshots", reflect.TypeOf((*MockOrchestrator)(nil).ListSnapshots), arg0) } @@ -771,7 +775,7 @@ func (m *MockOrchestrator) ListSnapshotsByName(arg0 context.Context, arg1 string } // ListSnapshotsByName indicates an expected call of ListSnapshotsByName. -func (mr *MockOrchestratorMockRecorder) ListSnapshotsByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListSnapshotsByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSnapshotsByName", reflect.TypeOf((*MockOrchestrator)(nil).ListSnapshotsByName), arg0, arg1) } @@ -786,7 +790,7 @@ func (m *MockOrchestrator) ListSnapshotsForVolume(arg0 context.Context, arg1 str } // ListSnapshotsForVolume indicates an expected call of ListSnapshotsForVolume. -func (mr *MockOrchestratorMockRecorder) ListSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListSnapshotsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSnapshotsForVolume", reflect.TypeOf((*MockOrchestrator)(nil).ListSnapshotsForVolume), arg0, arg1) } @@ -801,7 +805,7 @@ func (m *MockOrchestrator) ListStorageClasses(arg0 context.Context) ([]*storagec } // ListStorageClasses indicates an expected call of ListStorageClasses. -func (mr *MockOrchestratorMockRecorder) ListStorageClasses(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListStorageClasses(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListStorageClasses", reflect.TypeOf((*MockOrchestrator)(nil).ListStorageClasses), arg0) } @@ -816,7 +820,7 @@ func (m *MockOrchestrator) ListSubordinateVolumes(arg0 context.Context, arg1 str } // ListSubordinateVolumes indicates an expected call of ListSubordinateVolumes. -func (mr *MockOrchestratorMockRecorder) ListSubordinateVolumes(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListSubordinateVolumes(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubordinateVolumes", reflect.TypeOf((*MockOrchestrator)(nil).ListSubordinateVolumes), arg0, arg1) } @@ -831,7 +835,7 @@ func (m *MockOrchestrator) ListVolumePublications(arg0 context.Context) ([]*mode } // ListVolumePublications indicates an expected call of ListVolumePublications. -func (mr *MockOrchestratorMockRecorder) ListVolumePublications(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListVolumePublications(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumePublications", reflect.TypeOf((*MockOrchestrator)(nil).ListVolumePublications), arg0) } @@ -846,7 +850,7 @@ func (m *MockOrchestrator) ListVolumePublicationsForNode(arg0 context.Context, a } // ListVolumePublicationsForNode indicates an expected call of ListVolumePublicationsForNode. -func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumePublicationsForNode", reflect.TypeOf((*MockOrchestrator)(nil).ListVolumePublicationsForNode), arg0, arg1) } @@ -861,7 +865,7 @@ func (m *MockOrchestrator) ListVolumePublicationsForVolume(arg0 context.Context, } // ListVolumePublicationsForVolume indicates an expected call of ListVolumePublicationsForVolume. -func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumePublicationsForVolume", reflect.TypeOf((*MockOrchestrator)(nil).ListVolumePublicationsForVolume), arg0, arg1) } @@ -876,7 +880,7 @@ func (m *MockOrchestrator) ListVolumes(arg0 context.Context) ([]*storage.VolumeE } // ListVolumes indicates an expected call of ListVolumes. -func (mr *MockOrchestratorMockRecorder) ListVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ListVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumes", reflect.TypeOf((*MockOrchestrator)(nil).ListVolumes), arg0) } @@ -888,7 +892,7 @@ func (m *MockOrchestrator) PeriodicallyReconcileBackendState(arg0 time.Duration) } // PeriodicallyReconcileBackendState indicates an expected call of PeriodicallyReconcileBackendState. -func (mr *MockOrchestratorMockRecorder) PeriodicallyReconcileBackendState(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) PeriodicallyReconcileBackendState(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PeriodicallyReconcileBackendState", reflect.TypeOf((*MockOrchestrator)(nil).PeriodicallyReconcileBackendState), arg0) } @@ -915,7 +919,7 @@ func (m *MockOrchestrator) PromoteMirror(arg0 context.Context, arg1, arg2, arg3, } // PromoteMirror indicates an expected call of PromoteMirror. -func (mr *MockOrchestratorMockRecorder) PromoteMirror(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) PromoteMirror(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PromoteMirror", reflect.TypeOf((*MockOrchestrator)(nil).PromoteMirror), arg0, arg1, arg2, arg3, arg4) } @@ -929,7 +933,7 @@ func (m *MockOrchestrator) PublishVolume(arg0 context.Context, arg1 string, arg2 } // PublishVolume indicates an expected call of PublishVolume. -func (mr *MockOrchestratorMockRecorder) PublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) PublishVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishVolume", reflect.TypeOf((*MockOrchestrator)(nil).PublishVolume), arg0, arg1, arg2) } @@ -944,7 +948,7 @@ func (m *MockOrchestrator) ReadSnapshotsForVolume(arg0 context.Context, arg1 str } // ReadSnapshotsForVolume indicates an expected call of ReadSnapshotsForVolume. -func (mr *MockOrchestratorMockRecorder) ReadSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ReadSnapshotsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadSnapshotsForVolume", reflect.TypeOf((*MockOrchestrator)(nil).ReadSnapshotsForVolume), arg0, arg1) } @@ -958,7 +962,7 @@ func (m *MockOrchestrator) ReconcileVolumePublications(arg0 context.Context, arg } // ReconcileVolumePublications indicates an expected call of ReconcileVolumePublications. -func (mr *MockOrchestratorMockRecorder) ReconcileVolumePublications(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ReconcileVolumePublications(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileVolumePublications", reflect.TypeOf((*MockOrchestrator)(nil).ReconcileVolumePublications), arg0, arg1) } @@ -972,7 +976,7 @@ func (m *MockOrchestrator) ReestablishMirror(arg0 context.Context, arg1, arg2, a } // ReestablishMirror indicates an expected call of ReestablishMirror. -func (mr *MockOrchestratorMockRecorder) ReestablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ReestablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReestablishMirror", reflect.TypeOf((*MockOrchestrator)(nil).ReestablishMirror), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -986,7 +990,7 @@ func (m *MockOrchestrator) ReleaseMirror(arg0 context.Context, arg1, arg2 string } // ReleaseMirror indicates an expected call of ReleaseMirror. -func (mr *MockOrchestratorMockRecorder) ReleaseMirror(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ReleaseMirror(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseMirror", reflect.TypeOf((*MockOrchestrator)(nil).ReleaseMirror), arg0, arg1, arg2) } @@ -1000,7 +1004,7 @@ func (m *MockOrchestrator) ReloadVolumes(arg0 context.Context) error { } // ReloadVolumes indicates an expected call of ReloadVolumes. -func (mr *MockOrchestratorMockRecorder) ReloadVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ReloadVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReloadVolumes", reflect.TypeOf((*MockOrchestrator)(nil).ReloadVolumes), arg0) } @@ -1014,7 +1018,7 @@ func (m *MockOrchestrator) RemoveBackendConfigRef(arg0 context.Context, arg1, ar } // RemoveBackendConfigRef indicates an expected call of RemoveBackendConfigRef. -func (mr *MockOrchestratorMockRecorder) RemoveBackendConfigRef(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) RemoveBackendConfigRef(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveBackendConfigRef", reflect.TypeOf((*MockOrchestrator)(nil).RemoveBackendConfigRef), arg0, arg1, arg2) } @@ -1028,7 +1032,7 @@ func (m *MockOrchestrator) ResizeVolume(arg0 context.Context, arg1, arg2 string) } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockOrchestratorMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockOrchestrator)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -1042,7 +1046,7 @@ func (m *MockOrchestrator) RestoreSnapshot(arg0 context.Context, arg1, arg2 stri } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockOrchestratorMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockOrchestrator)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -1056,7 +1060,7 @@ func (m *MockOrchestrator) SetLogLayers(arg0 context.Context, arg1 string) error } // SetLogLayers indicates an expected call of SetLogLayers. -func (mr *MockOrchestratorMockRecorder) SetLogLayers(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) SetLogLayers(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogLayers", reflect.TypeOf((*MockOrchestrator)(nil).SetLogLayers), arg0, arg1) } @@ -1070,7 +1074,7 @@ func (m *MockOrchestrator) SetLogLevel(arg0 context.Context, arg1 string) error } // SetLogLevel indicates an expected call of SetLogLevel. -func (mr *MockOrchestratorMockRecorder) SetLogLevel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) SetLogLevel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogLevel", reflect.TypeOf((*MockOrchestrator)(nil).SetLogLevel), arg0, arg1) } @@ -1084,7 +1088,7 @@ func (m *MockOrchestrator) SetLoggingWorkflows(arg0 context.Context, arg1 string } // SetLoggingWorkflows indicates an expected call of SetLoggingWorkflows. -func (mr *MockOrchestratorMockRecorder) SetLoggingWorkflows(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) SetLoggingWorkflows(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoggingWorkflows", reflect.TypeOf((*MockOrchestrator)(nil).SetLoggingWorkflows), arg0, arg1) } @@ -1098,7 +1102,7 @@ func (m *MockOrchestrator) SetVolumeState(arg0 context.Context, arg1 string, arg } // SetVolumeState indicates an expected call of SetVolumeState. -func (mr *MockOrchestratorMockRecorder) SetVolumeState(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) SetVolumeState(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVolumeState", reflect.TypeOf((*MockOrchestrator)(nil).SetVolumeState), arg0, arg1, arg2) } @@ -1112,7 +1116,7 @@ func (m *MockOrchestrator) UnpublishVolume(arg0 context.Context, arg1, arg2 stri } // UnpublishVolume indicates an expected call of UnpublishVolume. -func (mr *MockOrchestratorMockRecorder) UnpublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UnpublishVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnpublishVolume", reflect.TypeOf((*MockOrchestrator)(nil).UnpublishVolume), arg0, arg1, arg2) } @@ -1127,7 +1131,7 @@ func (m *MockOrchestrator) UpdateBackend(arg0 context.Context, arg1, arg2, arg3 } // UpdateBackend indicates an expected call of UpdateBackend. -func (mr *MockOrchestratorMockRecorder) UpdateBackend(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateBackend(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBackend", reflect.TypeOf((*MockOrchestrator)(nil).UpdateBackend), arg0, arg1, arg2, arg3) } @@ -1142,7 +1146,7 @@ func (m *MockOrchestrator) UpdateBackendByBackendUUID(arg0 context.Context, arg1 } // UpdateBackendByBackendUUID indicates an expected call of UpdateBackendByBackendUUID. -func (mr *MockOrchestratorMockRecorder) UpdateBackendByBackendUUID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateBackendByBackendUUID(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBackendByBackendUUID", reflect.TypeOf((*MockOrchestrator)(nil).UpdateBackendByBackendUUID), arg0, arg1, arg2, arg3, arg4) } @@ -1157,7 +1161,7 @@ func (m *MockOrchestrator) UpdateBackendState(arg0 context.Context, arg1, arg2, } // UpdateBackendState indicates an expected call of UpdateBackendState. -func (mr *MockOrchestratorMockRecorder) UpdateBackendState(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateBackendState(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBackendState", reflect.TypeOf((*MockOrchestrator)(nil).UpdateBackendState), arg0, arg1, arg2, arg3) } @@ -1171,7 +1175,7 @@ func (m *MockOrchestrator) UpdateMirror(arg0 context.Context, arg1, arg2 string) } // UpdateMirror indicates an expected call of UpdateMirror. -func (mr *MockOrchestratorMockRecorder) UpdateMirror(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateMirror(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateMirror", reflect.TypeOf((*MockOrchestrator)(nil).UpdateMirror), arg0, arg1, arg2) } @@ -1185,7 +1189,7 @@ func (m *MockOrchestrator) UpdateNode(arg0 context.Context, arg1 string, arg2 *m } // UpdateNode indicates an expected call of UpdateNode. -func (mr *MockOrchestratorMockRecorder) UpdateNode(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateNode(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNode", reflect.TypeOf((*MockOrchestrator)(nil).UpdateNode), arg0, arg1, arg2) } @@ -1199,7 +1203,7 @@ func (m *MockOrchestrator) UpdateVolume(arg0 context.Context, arg1 string, arg2 } // UpdateVolume indicates an expected call of UpdateVolume. -func (mr *MockOrchestratorMockRecorder) UpdateVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolume", reflect.TypeOf((*MockOrchestrator)(nil).UpdateVolume), arg0, arg1, arg2) } @@ -1213,7 +1217,7 @@ func (m *MockOrchestrator) UpdateVolumeLUKSPassphraseNames(arg0 context.Context, } // UpdateVolumeLUKSPassphraseNames indicates an expected call of UpdateVolumeLUKSPassphraseNames. -func (mr *MockOrchestratorMockRecorder) UpdateVolumeLUKSPassphraseNames(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockOrchestratorMockRecorder) UpdateVolumeLUKSPassphraseNames(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolumeLUKSPassphraseNames", reflect.TypeOf((*MockOrchestrator)(nil).UpdateVolumeLUKSPassphraseNames), arg0, arg1, arg2) } diff --git a/mocks/mock_frontend/mock_csi/mock_controller_api/mock_controller_api.go b/mocks/mock_frontend/mock_csi/mock_controller_api/mock_controller_api.go index 99b2c0205..22c8d8a74 100644 --- a/mocks/mock_frontend/mock_csi/mock_controller_api/mock_controller_api.go +++ b/mocks/mock_frontend/mock_csi/mock_controller_api/mock_controller_api.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/frontend/csi/controller_api (interfaces: TridentController) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_frontend/mock_csi/mock_controller_api/mock_controller_api.go github.com/netapp/trident/frontend/csi/controller_api TridentController +// // Package mock_controller_api is a generated GoMock package. package mock_controller_api @@ -9,10 +14,9 @@ import ( http "net/http" reflect "reflect" - gomock "go.uber.org/mock/gomock" - controllerAPI "github.com/netapp/trident/frontend/csi/controller_api" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockTridentController is a mock of TridentController interface. @@ -48,7 +52,7 @@ func (m *MockTridentController) CreateNode(arg0 context.Context, arg1 *models.No } // CreateNode indicates an expected call of CreateNode. -func (mr *MockTridentControllerMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) CreateNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNode", reflect.TypeOf((*MockTridentController)(nil).CreateNode), arg0, arg1) } @@ -62,7 +66,7 @@ func (m *MockTridentController) DeleteNode(arg0 context.Context, arg1 string) er } // DeleteNode indicates an expected call of DeleteNode. -func (mr *MockTridentControllerMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) DeleteNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNode", reflect.TypeOf((*MockTridentController)(nil).DeleteNode), arg0, arg1) } @@ -77,7 +81,7 @@ func (m *MockTridentController) GetChap(arg0 context.Context, arg1, arg2 string) } // GetChap indicates an expected call of GetChap. -func (mr *MockTridentControllerMockRecorder) GetChap(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) GetChap(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChap", reflect.TypeOf((*MockTridentController)(nil).GetChap), arg0, arg1, arg2) } @@ -92,7 +96,7 @@ func (m *MockTridentController) GetNode(arg0 context.Context, arg1 string) (*mod } // GetNode indicates an expected call of GetNode. -func (mr *MockTridentControllerMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) GetNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNode", reflect.TypeOf((*MockTridentController)(nil).GetNode), arg0, arg1) } @@ -107,7 +111,7 @@ func (m *MockTridentController) GetNodes(arg0 context.Context) ([]string, error) } // GetNodes indicates an expected call of GetNodes. -func (mr *MockTridentControllerMockRecorder) GetNodes(arg0 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) GetNodes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodes", reflect.TypeOf((*MockTridentController)(nil).GetNodes), arg0) } @@ -123,7 +127,7 @@ func (m *MockTridentController) InvokeAPI(arg0 context.Context, arg1 []byte, arg } // InvokeAPI indicates an expected call of InvokeAPI. -func (mr *MockTridentControllerMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InvokeAPI", reflect.TypeOf((*MockTridentController)(nil).InvokeAPI), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -138,7 +142,7 @@ func (m *MockTridentController) ListVolumePublicationsForNode(arg0 context.Conte } // ListVolumePublicationsForNode indicates an expected call of ListVolumePublicationsForNode. -func (mr *MockTridentControllerMockRecorder) ListVolumePublicationsForNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) ListVolumePublicationsForNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumePublicationsForNode", reflect.TypeOf((*MockTridentController)(nil).ListVolumePublicationsForNode), arg0, arg1) } @@ -152,7 +156,7 @@ func (m *MockTridentController) UpdateNode(arg0 context.Context, arg1 string, ar } // UpdateNode indicates an expected call of UpdateNode. -func (mr *MockTridentControllerMockRecorder) UpdateNode(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) UpdateNode(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNode", reflect.TypeOf((*MockTridentController)(nil).UpdateNode), arg0, arg1, arg2) } @@ -166,7 +170,7 @@ func (m *MockTridentController) UpdateVolumeLUKSPassphraseNames(arg0 context.Con } // UpdateVolumeLUKSPassphraseNames indicates an expected call of UpdateVolumeLUKSPassphraseNames. -func (mr *MockTridentControllerMockRecorder) UpdateVolumeLUKSPassphraseNames(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockTridentControllerMockRecorder) UpdateVolumeLUKSPassphraseNames(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolumeLUKSPassphraseNames", reflect.TypeOf((*MockTridentController)(nil).UpdateVolumeLUKSPassphraseNames), arg0, arg1, arg2) } diff --git a/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_controller_helpers.go b/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_controller_helpers.go index a1da32144..24f78ca3e 100644 --- a/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_controller_helpers.go +++ b/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_controller_helpers.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/frontend/csi/controller_helpers (interfaces: ControllerHelper) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_controller_helpers.go github.com/netapp/trident/frontend/csi/controller_helpers ControllerHelper +// // Package mock_controller_helpers is a generated GoMock package. package mock_controller_helpers @@ -8,12 +13,11 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - config "github.com/netapp/trident/config" controllerhelpers "github.com/netapp/trident/frontend/csi/controller_helpers" storage "github.com/netapp/trident/storage" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockControllerHelper is a mock of ControllerHelper interface. @@ -49,7 +53,7 @@ func (m *MockControllerHelper) GetNodePublicationState(arg0 context.Context, arg } // GetNodePublicationState indicates an expected call of GetNodePublicationState. -func (mr *MockControllerHelperMockRecorder) GetNodePublicationState(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) GetNodePublicationState(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodePublicationState", reflect.TypeOf((*MockControllerHelper)(nil).GetNodePublicationState), arg0, arg1) } @@ -64,7 +68,7 @@ func (m *MockControllerHelper) GetNodeTopologyLabels(arg0 context.Context, arg1 } // GetNodeTopologyLabels indicates an expected call of GetNodeTopologyLabels. -func (mr *MockControllerHelperMockRecorder) GetNodeTopologyLabels(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) GetNodeTopologyLabels(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodeTopologyLabels", reflect.TypeOf((*MockControllerHelper)(nil).GetNodeTopologyLabels), arg0, arg1) } @@ -79,7 +83,7 @@ func (m *MockControllerHelper) GetSnapshotConfigForCreate(arg0, arg1 string) (*s } // GetSnapshotConfigForCreate indicates an expected call of GetSnapshotConfigForCreate. -func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForCreate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForCreate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotConfigForCreate", reflect.TypeOf((*MockControllerHelper)(nil).GetSnapshotConfigForCreate), arg0, arg1) } @@ -94,7 +98,7 @@ func (m *MockControllerHelper) GetSnapshotConfigForImport(arg0 context.Context, } // GetSnapshotConfigForImport indicates an expected call of GetSnapshotConfigForImport. -func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForImport(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) GetSnapshotConfigForImport(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotConfigForImport", reflect.TypeOf((*MockControllerHelper)(nil).GetSnapshotConfigForImport), arg0, arg1, arg2) } @@ -109,7 +113,7 @@ func (m *MockControllerHelper) GetVolumeConfig(arg0 context.Context, arg1 string } // GetVolumeConfig indicates an expected call of GetVolumeConfig. -func (mr *MockControllerHelperMockRecorder) GetVolumeConfig(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) GetVolumeConfig(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeConfig", reflect.TypeOf((*MockControllerHelper)(nil).GetVolumeConfig), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) } @@ -123,7 +127,7 @@ func (m *MockControllerHelper) IsTopologyInUse(arg0 context.Context) bool { } // IsTopologyInUse indicates an expected call of IsTopologyInUse. -func (mr *MockControllerHelperMockRecorder) IsTopologyInUse(arg0 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) IsTopologyInUse(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsTopologyInUse", reflect.TypeOf((*MockControllerHelper)(nil).IsTopologyInUse), arg0) } @@ -137,7 +141,7 @@ func (m *MockControllerHelper) IsValidResourceName(arg0 string) bool { } // IsValidResourceName indicates an expected call of IsValidResourceName. -func (mr *MockControllerHelperMockRecorder) IsValidResourceName(arg0 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) IsValidResourceName(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsValidResourceName", reflect.TypeOf((*MockControllerHelper)(nil).IsValidResourceName), arg0) } @@ -149,7 +153,7 @@ func (m *MockControllerHelper) RecordNodeEvent(arg0 context.Context, arg1, arg2, } // RecordNodeEvent indicates an expected call of RecordNodeEvent. -func (mr *MockControllerHelperMockRecorder) RecordNodeEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) RecordNodeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecordNodeEvent", reflect.TypeOf((*MockControllerHelper)(nil).RecordNodeEvent), arg0, arg1, arg2, arg3, arg4) } @@ -161,7 +165,7 @@ func (m *MockControllerHelper) RecordVolumeEvent(arg0 context.Context, arg1, arg } // RecordVolumeEvent indicates an expected call of RecordVolumeEvent. -func (mr *MockControllerHelperMockRecorder) RecordVolumeEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) RecordVolumeEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecordVolumeEvent", reflect.TypeOf((*MockControllerHelper)(nil).RecordVolumeEvent), arg0, arg1, arg2, arg3, arg4) } @@ -175,7 +179,7 @@ func (m *MockControllerHelper) SupportsFeature(arg0 context.Context, arg1 contro } // SupportsFeature indicates an expected call of SupportsFeature. -func (mr *MockControllerHelperMockRecorder) SupportsFeature(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockControllerHelperMockRecorder) SupportsFeature(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SupportsFeature", reflect.TypeOf((*MockControllerHelper)(nil).SupportsFeature), arg0, arg1) } diff --git a/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_kubernetes_helper/mock_kubernetes_helper.go b/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_kubernetes_helper/mock_kubernetes_helper.go index 3c376ef32..571e5c69a 100644 --- a/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_kubernetes_helper/mock_kubernetes_helper.go +++ b/mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_kubernetes_helper/mock_kubernetes_helper.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/frontend/csi/controller_helpers/kubernetes (interfaces: K8SControllerHelperPlugin) +// +// Generated by this command: +// +// mockgen -destination=../../../../mocks/mock_frontend/mock_csi/mock_controller_helpers/mock_kubernetes_helper/mock_kubernetes_helper.go github.com/netapp/trident/frontend/csi/controller_helpers/kubernetes K8SControllerHelperPlugin +// // Package mock_kubernetes is a generated GoMock package. package mock_kubernetes @@ -8,10 +13,9 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - storage "github.com/netapp/trident/storage" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockK8SControllerHelperPlugin is a mock of K8SControllerHelperPlugin interface. @@ -89,7 +93,7 @@ func (m *MockK8SControllerHelperPlugin) GetNodePublicationState(arg0 context.Con } // GetNodePublicationState indicates an expected call of GetNodePublicationState. -func (mr *MockK8SControllerHelperPluginMockRecorder) GetNodePublicationState(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockK8SControllerHelperPluginMockRecorder) GetNodePublicationState(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodePublicationState", reflect.TypeOf((*MockK8SControllerHelperPlugin)(nil).GetNodePublicationState), arg0, arg1) } @@ -104,7 +108,7 @@ func (m *MockK8SControllerHelperPlugin) ImportVolume(arg0 context.Context, arg1 } // ImportVolume indicates an expected call of ImportVolume. -func (mr *MockK8SControllerHelperPluginMockRecorder) ImportVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockK8SControllerHelperPluginMockRecorder) ImportVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportVolume", reflect.TypeOf((*MockK8SControllerHelperPlugin)(nil).ImportVolume), arg0, arg1) } diff --git a/mocks/mock_frontend/mock_csi/mock_node_helpers/mock_node_helpers.go b/mocks/mock_frontend/mock_csi/mock_node_helpers/mock_node_helpers.go index 56bd219a8..97d5843a7 100644 --- a/mocks/mock_frontend/mock_csi/mock_node_helpers/mock_node_helpers.go +++ b/mocks/mock_frontend/mock_csi/mock_node_helpers/mock_node_helpers.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/frontend/csi/node_helpers (interfaces: NodeHelper,VolumePublishManager) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_frontend/mock_csi/mock_node_helpers/mock_node_helpers.go github.com/netapp/trident/frontend/csi/node_helpers NodeHelper,VolumePublishManager +// // Package mock_node_helpers is a generated GoMock package. package mock_node_helpers @@ -9,9 +14,8 @@ import ( fs "io/fs" reflect "reflect" - gomock "go.uber.org/mock/gomock" - models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockNodeHelper is a mock of NodeHelper interface. @@ -46,7 +50,7 @@ func (m *MockNodeHelper) AddPublishedPath(arg0 context.Context, arg1, arg2 strin } // AddPublishedPath indicates an expected call of AddPublishedPath. -func (mr *MockNodeHelperMockRecorder) AddPublishedPath(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) AddPublishedPath(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPublishedPath", reflect.TypeOf((*MockNodeHelper)(nil).AddPublishedPath), arg0, arg1, arg2) } @@ -58,7 +62,7 @@ func (m *MockNodeHelper) DeleteFailedUpgradeTrackingFile(arg0 context.Context, a } // DeleteFailedUpgradeTrackingFile indicates an expected call of DeleteFailedUpgradeTrackingFile. -func (mr *MockNodeHelperMockRecorder) DeleteFailedUpgradeTrackingFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) DeleteFailedUpgradeTrackingFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteFailedUpgradeTrackingFile", reflect.TypeOf((*MockNodeHelper)(nil).DeleteFailedUpgradeTrackingFile), arg0, arg1) } @@ -72,7 +76,7 @@ func (m *MockNodeHelper) DeleteTrackingInfo(arg0 context.Context, arg1 string) e } // DeleteTrackingInfo indicates an expected call of DeleteTrackingInfo. -func (mr *MockNodeHelperMockRecorder) DeleteTrackingInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) DeleteTrackingInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTrackingInfo", reflect.TypeOf((*MockNodeHelper)(nil).DeleteTrackingInfo), arg0, arg1) } @@ -102,7 +106,7 @@ func (m *MockNodeHelper) ListVolumeTrackingInfo(arg0 context.Context) (map[strin } // ListVolumeTrackingInfo indicates an expected call of ListVolumeTrackingInfo. -func (mr *MockNodeHelperMockRecorder) ListVolumeTrackingInfo(arg0 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) ListVolumeTrackingInfo(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumeTrackingInfo", reflect.TypeOf((*MockNodeHelper)(nil).ListVolumeTrackingInfo), arg0) } @@ -117,7 +121,7 @@ func (m *MockNodeHelper) ReadTrackingInfo(arg0 context.Context, arg1 string) (*m } // ReadTrackingInfo indicates an expected call of ReadTrackingInfo. -func (mr *MockNodeHelperMockRecorder) ReadTrackingInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) ReadTrackingInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadTrackingInfo", reflect.TypeOf((*MockNodeHelper)(nil).ReadTrackingInfo), arg0, arg1) } @@ -131,7 +135,7 @@ func (m *MockNodeHelper) RemovePublishedPath(arg0 context.Context, arg1, arg2 st } // RemovePublishedPath indicates an expected call of RemovePublishedPath. -func (mr *MockNodeHelperMockRecorder) RemovePublishedPath(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) RemovePublishedPath(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePublishedPath", reflect.TypeOf((*MockNodeHelper)(nil).RemovePublishedPath), arg0, arg1, arg2) } @@ -146,7 +150,7 @@ func (m *MockNodeHelper) UpgradeVolumeTrackingFile(arg0 context.Context, arg1 st } // UpgradeVolumeTrackingFile indicates an expected call of UpgradeVolumeTrackingFile. -func (mr *MockNodeHelperMockRecorder) UpgradeVolumeTrackingFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) UpgradeVolumeTrackingFile(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpgradeVolumeTrackingFile", reflect.TypeOf((*MockNodeHelper)(nil).UpgradeVolumeTrackingFile), arg0, arg1, arg2, arg3) } @@ -161,7 +165,7 @@ func (m *MockNodeHelper) ValidateTrackingFile(arg0 context.Context, arg1 string) } // ValidateTrackingFile indicates an expected call of ValidateTrackingFile. -func (mr *MockNodeHelperMockRecorder) ValidateTrackingFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) ValidateTrackingFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateTrackingFile", reflect.TypeOf((*MockNodeHelper)(nil).ValidateTrackingFile), arg0, arg1) } @@ -175,7 +179,7 @@ func (m *MockNodeHelper) WriteTrackingInfo(arg0 context.Context, arg1 string, ar } // WriteTrackingInfo indicates an expected call of WriteTrackingInfo. -func (mr *MockNodeHelperMockRecorder) WriteTrackingInfo(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNodeHelperMockRecorder) WriteTrackingInfo(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTrackingInfo", reflect.TypeOf((*MockNodeHelper)(nil).WriteTrackingInfo), arg0, arg1, arg2) } @@ -210,7 +214,7 @@ func (m *MockVolumePublishManager) DeleteFailedUpgradeTrackingFile(arg0 context. } // DeleteFailedUpgradeTrackingFile indicates an expected call of DeleteFailedUpgradeTrackingFile. -func (mr *MockVolumePublishManagerMockRecorder) DeleteFailedUpgradeTrackingFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) DeleteFailedUpgradeTrackingFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteFailedUpgradeTrackingFile", reflect.TypeOf((*MockVolumePublishManager)(nil).DeleteFailedUpgradeTrackingFile), arg0, arg1) } @@ -224,7 +228,7 @@ func (m *MockVolumePublishManager) DeleteTrackingInfo(arg0 context.Context, arg1 } // DeleteTrackingInfo indicates an expected call of DeleteTrackingInfo. -func (mr *MockVolumePublishManagerMockRecorder) DeleteTrackingInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) DeleteTrackingInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTrackingInfo", reflect.TypeOf((*MockVolumePublishManager)(nil).DeleteTrackingInfo), arg0, arg1) } @@ -254,7 +258,7 @@ func (m *MockVolumePublishManager) ListVolumeTrackingInfo(arg0 context.Context) } // ListVolumeTrackingInfo indicates an expected call of ListVolumeTrackingInfo. -func (mr *MockVolumePublishManagerMockRecorder) ListVolumeTrackingInfo(arg0 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) ListVolumeTrackingInfo(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListVolumeTrackingInfo", reflect.TypeOf((*MockVolumePublishManager)(nil).ListVolumeTrackingInfo), arg0) } @@ -269,7 +273,7 @@ func (m *MockVolumePublishManager) ReadTrackingInfo(arg0 context.Context, arg1 s } // ReadTrackingInfo indicates an expected call of ReadTrackingInfo. -func (mr *MockVolumePublishManagerMockRecorder) ReadTrackingInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) ReadTrackingInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadTrackingInfo", reflect.TypeOf((*MockVolumePublishManager)(nil).ReadTrackingInfo), arg0, arg1) } @@ -284,7 +288,7 @@ func (m *MockVolumePublishManager) UpgradeVolumeTrackingFile(arg0 context.Contex } // UpgradeVolumeTrackingFile indicates an expected call of UpgradeVolumeTrackingFile. -func (mr *MockVolumePublishManagerMockRecorder) UpgradeVolumeTrackingFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) UpgradeVolumeTrackingFile(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpgradeVolumeTrackingFile", reflect.TypeOf((*MockVolumePublishManager)(nil).UpgradeVolumeTrackingFile), arg0, arg1, arg2, arg3) } @@ -299,7 +303,7 @@ func (m *MockVolumePublishManager) ValidateTrackingFile(arg0 context.Context, ar } // ValidateTrackingFile indicates an expected call of ValidateTrackingFile. -func (mr *MockVolumePublishManagerMockRecorder) ValidateTrackingFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) ValidateTrackingFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateTrackingFile", reflect.TypeOf((*MockVolumePublishManager)(nil).ValidateTrackingFile), arg0, arg1) } @@ -313,7 +317,7 @@ func (m *MockVolumePublishManager) WriteTrackingInfo(arg0 context.Context, arg1 } // WriteTrackingInfo indicates an expected call of WriteTrackingInfo. -func (mr *MockVolumePublishManagerMockRecorder) WriteTrackingInfo(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockVolumePublishManagerMockRecorder) WriteTrackingInfo(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteTrackingInfo", reflect.TypeOf((*MockVolumePublishManager)(nil).WriteTrackingInfo), arg0, arg1, arg2) } diff --git a/mocks/mock_frontend/mock_plugin.go b/mocks/mock_frontend/mock_plugin.go index 6c22a4519..40f6108c7 100644 --- a/mocks/mock_frontend/mock_plugin.go +++ b/mocks/mock_frontend/mock_plugin.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/frontend (interfaces: Plugin) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_frontend/mock_plugin.go github.com/netapp/trident/frontend Plugin +// // Package mock_frontend is a generated GoMock package. package mock_frontend diff --git a/mocks/mock_internal/mock_fiji/mock_injector.go b/mocks/mock_internal/mock_fiji/mock_injector.go index 4c5875e66..007a42a6b 100644 --- a/mocks/mock_internal/mock_fiji/mock_injector.go +++ b/mocks/mock_internal/mock_fiji/mock_injector.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/internal/fiji (interfaces: Injector) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_internal/mock_fiji/mock_injector.go github.com/netapp/trident/internal/fiji Injector +// // Package mock_fiji is a generated GoMock package. package mock_fiji diff --git a/mocks/mock_internal/mock_fiji/mock_models/mock_handler.go b/mocks/mock_internal/mock_fiji/mock_models/mock_handler.go index 785e9277c..d523c2e2e 100644 --- a/mocks/mock_internal/mock_fiji/mock_models/mock_handler.go +++ b/mocks/mock_internal/mock_fiji/mock_models/mock_handler.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/internal/fiji/models (interfaces: FaultHandler) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_internal/mock_fiji/mock_models/mock_handler.go github.com/netapp/trident/internal/fiji/models FaultHandler +// // Package mock_models is a generated GoMock package. package mock_models diff --git a/mocks/mock_internal/mock_fiji/mock_rest/mock_store.go b/mocks/mock_internal/mock_fiji/mock_rest/mock_store.go index b08e27294..50ae2bf68 100644 --- a/mocks/mock_internal/mock_fiji/mock_rest/mock_store.go +++ b/mocks/mock_internal/mock_fiji/mock_rest/mock_store.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/internal/fiji/rest (interfaces: FaultStore) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_internal/mock_fiji/mock_rest/mock_store.go github.com/netapp/trident/internal/fiji/rest FaultStore +// // Package mock_rest is a generated GoMock package. package mock_rest @@ -7,9 +12,8 @@ package mock_rest import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" - store "github.com/netapp/trident/internal/fiji/store" + gomock "go.uber.org/mock/gomock" ) // MockFaultStore is a mock of FaultStore interface. @@ -42,7 +46,7 @@ func (m *MockFaultStore) Add(arg0 string, arg1 store.Fault) { } // Add indicates an expected call of Add. -func (mr *MockFaultStoreMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockFaultStoreMockRecorder) Add(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Add", reflect.TypeOf((*MockFaultStore)(nil).Add), arg0, arg1) } @@ -56,7 +60,7 @@ func (m *MockFaultStore) Exists(arg0 string) bool { } // Exists indicates an expected call of Exists. -func (mr *MockFaultStoreMockRecorder) Exists(arg0 interface{}) *gomock.Call { +func (mr *MockFaultStoreMockRecorder) Exists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exists", reflect.TypeOf((*MockFaultStore)(nil).Exists), arg0) } @@ -71,7 +75,7 @@ func (m *MockFaultStore) Get(arg0 string) (store.Fault, bool) { } // Get indicates an expected call of Get. -func (mr *MockFaultStoreMockRecorder) Get(arg0 interface{}) *gomock.Call { +func (mr *MockFaultStoreMockRecorder) Get(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockFaultStore)(nil).Get), arg0) } @@ -99,7 +103,7 @@ func (m *MockFaultStore) Reset(arg0 string) error { } // Reset indicates an expected call of Reset. -func (mr *MockFaultStoreMockRecorder) Reset(arg0 interface{}) *gomock.Call { +func (mr *MockFaultStoreMockRecorder) Reset(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockFaultStore)(nil).Reset), arg0) } @@ -113,7 +117,7 @@ func (m *MockFaultStore) Set(arg0 string, arg1 []byte) error { } // Set indicates an expected call of Set. -func (mr *MockFaultStoreMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockFaultStoreMockRecorder) Set(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockFaultStore)(nil).Set), arg0, arg1) } diff --git a/mocks/mock_internal/mock_fiji/mock_store/mock_fault.go b/mocks/mock_internal/mock_fiji/mock_store/mock_fault.go index 6cf2b8c6f..b1c0b4e07 100644 --- a/mocks/mock_internal/mock_fiji/mock_store/mock_fault.go +++ b/mocks/mock_internal/mock_fiji/mock_store/mock_fault.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/internal/fiji/store (interfaces: Fault) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_internal/mock_fiji/mock_store/mock_fault.go github.com/netapp/trident/internal/fiji/store Fault +// // Package mock_store is a generated GoMock package. package mock_store @@ -82,7 +87,7 @@ func (m *MockFault) SetHandler(arg0 []byte) error { } // SetHandler indicates an expected call of SetHandler. -func (mr *MockFaultMockRecorder) SetHandler(arg0 interface{}) *gomock.Call { +func (mr *MockFaultMockRecorder) SetHandler(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHandler", reflect.TypeOf((*MockFault)(nil).SetHandler), arg0) } diff --git a/mocks/mock_nodeprep/mock_mpathconfig/mock_config.go b/mocks/mock_nodeprep/mock_mpathconfig/mock_config.go index 07e7f0825..f61ea57ef 100644 --- a/mocks/mock_nodeprep/mock_mpathconfig/mock_config.go +++ b/mocks/mock_nodeprep/mock_mpathconfig/mock_config.go @@ -12,9 +12,8 @@ package mock_mpathconfig import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" - mpathconfig "github.com/netapp/trident/internal/nodeprep/mpathconfig" + gomock "go.uber.org/mock/gomock" ) // MockMpathConfiguration is a mock of MpathConfiguration interface. diff --git a/mocks/mock_nodeprep/mock_mpathconfig/mock_section.go b/mocks/mock_nodeprep/mock_mpathconfig/mock_section.go index 22703cc01..e4c0c932d 100644 --- a/mocks/mock_nodeprep/mock_mpathconfig/mock_section.go +++ b/mocks/mock_nodeprep/mock_mpathconfig/mock_section.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/internal/nodeprep/mpathconfig (interfaces: MpathConfigurationSection) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_nodeprep/mock_mpathconfig/mock_section.go github.com/netapp/trident/internal/nodeprep/mpathconfig MpathConfigurationSection +// // Package mock_mpathconfig is a generated GoMock package. package mock_mpathconfig @@ -7,9 +12,8 @@ package mock_mpathconfig import ( reflect "reflect" - gomock "go.uber.org/mock/gomock" - mpathconfig "github.com/netapp/trident/internal/nodeprep/mpathconfig" + gomock "go.uber.org/mock/gomock" ) // MockMpathConfigurationSection is a mock of MpathConfigurationSection interface. @@ -45,7 +49,7 @@ func (m *MockMpathConfigurationSection) AddSection(arg0 string) (mpathconfig.Mpa } // AddSection indicates an expected call of AddSection. -func (mr *MockMpathConfigurationSectionMockRecorder) AddSection(arg0 interface{}) *gomock.Call { +func (mr *MockMpathConfigurationSectionMockRecorder) AddSection(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSection", reflect.TypeOf((*MockMpathConfigurationSection)(nil).AddSection), arg0) } @@ -60,7 +64,7 @@ func (m *MockMpathConfigurationSection) GetDeviceSection(arg0, arg1, arg2 string } // GetDeviceSection indicates an expected call of GetDeviceSection. -func (mr *MockMpathConfigurationSectionMockRecorder) GetDeviceSection(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockMpathConfigurationSectionMockRecorder) GetDeviceSection(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceSection", reflect.TypeOf((*MockMpathConfigurationSection)(nil).GetDeviceSection), arg0, arg1, arg2) } @@ -75,7 +79,7 @@ func (m *MockMpathConfigurationSection) GetProperty(arg0 string) (string, error) } // GetProperty indicates an expected call of GetProperty. -func (mr *MockMpathConfigurationSectionMockRecorder) GetProperty(arg0 interface{}) *gomock.Call { +func (mr *MockMpathConfigurationSectionMockRecorder) GetProperty(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProperty", reflect.TypeOf((*MockMpathConfigurationSection)(nil).GetProperty), arg0) } @@ -89,7 +93,7 @@ func (m *MockMpathConfigurationSection) HasProperty(arg0 string) bool { } // HasProperty indicates an expected call of HasProperty. -func (mr *MockMpathConfigurationSectionMockRecorder) HasProperty(arg0 interface{}) *gomock.Call { +func (mr *MockMpathConfigurationSectionMockRecorder) HasProperty(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasProperty", reflect.TypeOf((*MockMpathConfigurationSection)(nil).HasProperty), arg0) } @@ -103,7 +107,7 @@ func (m *MockMpathConfigurationSection) SetProperty(arg0, arg1 string) error { } // SetProperty indicates an expected call of SetProperty. -func (mr *MockMpathConfigurationSectionMockRecorder) SetProperty(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockMpathConfigurationSectionMockRecorder) SetProperty(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetProperty", reflect.TypeOf((*MockMpathConfigurationSection)(nil).SetProperty), arg0, arg1) } diff --git a/mocks/mock_operator/mock_clients/mock_api.go b/mocks/mock_operator/mock_clients/mock_api.go index a7d82d4b2..b236ad625 100644 --- a/mocks/mock_operator/mock_clients/mock_api.go +++ b/mocks/mock_operator/mock_clients/mock_api.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/operator/clients (interfaces: OperatorCRDClientInterface,TridentCRDClientInterface,SnapshotCRDClientInterface) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_operator/mock_clients/mock_api.go github.com/netapp/trident/operator/clients OperatorCRDClientInterface,TridentCRDClientInterface,SnapshotCRDClientInterface +// // Package mock_clients is a generated GoMock package. package mock_clients @@ -8,11 +13,10 @@ import ( reflect "reflect" v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - gomock "go.uber.org/mock/gomock" - types "k8s.io/apimachinery/pkg/types" - v10 "github.com/netapp/trident/operator/crd/apis/netapp/v1" v11 "github.com/netapp/trident/persistent_store/crd/apis/netapp/v1" + gomock "go.uber.org/mock/gomock" + types "k8s.io/apimachinery/pkg/types" ) // MockOperatorCRDClientInterface is a mock of OperatorCRDClientInterface interface. @@ -63,7 +67,7 @@ func (m *MockOperatorCRDClientInterface) GetTconfCR(arg0 string) (*v10.TridentCo } // GetTconfCR indicates an expected call of GetTconfCR. -func (mr *MockOperatorCRDClientInterfaceMockRecorder) GetTconfCR(arg0 interface{}) *gomock.Call { +func (mr *MockOperatorCRDClientInterfaceMockRecorder) GetTconfCR(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTconfCR", reflect.TypeOf((*MockOperatorCRDClientInterface)(nil).GetTconfCR), arg0) } @@ -109,7 +113,7 @@ func (m *MockOperatorCRDClientInterface) UpdateTridentConfiguratorStatus(arg0 *v } // UpdateTridentConfiguratorStatus indicates an expected call of UpdateTridentConfiguratorStatus. -func (mr *MockOperatorCRDClientInterfaceMockRecorder) UpdateTridentConfiguratorStatus(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockOperatorCRDClientInterfaceMockRecorder) UpdateTridentConfiguratorStatus(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateTridentConfiguratorStatus", reflect.TypeOf((*MockOperatorCRDClientInterface)(nil).UpdateTridentConfiguratorStatus), arg0, arg1) } @@ -147,7 +151,7 @@ func (m *MockTridentCRDClientInterface) CheckTridentBackendConfigExists(arg0, ar } // CheckTridentBackendConfigExists indicates an expected call of CheckTridentBackendConfigExists. -func (mr *MockTridentCRDClientInterfaceMockRecorder) CheckTridentBackendConfigExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentCRDClientInterfaceMockRecorder) CheckTridentBackendConfigExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckTridentBackendConfigExists", reflect.TypeOf((*MockTridentCRDClientInterface)(nil).CheckTridentBackendConfigExists), arg0, arg1) } @@ -161,7 +165,7 @@ func (m *MockTridentCRDClientInterface) DeleteTridentBackendConfig(arg0, arg1 st } // DeleteTridentBackendConfig indicates an expected call of DeleteTridentBackendConfig. -func (mr *MockTridentCRDClientInterfaceMockRecorder) DeleteTridentBackendConfig(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentCRDClientInterfaceMockRecorder) DeleteTridentBackendConfig(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentBackendConfig", reflect.TypeOf((*MockTridentCRDClientInterface)(nil).DeleteTridentBackendConfig), arg0, arg1) } @@ -176,7 +180,7 @@ func (m *MockTridentCRDClientInterface) GetTridentBackendConfig(arg0, arg1 strin } // GetTridentBackendConfig indicates an expected call of GetTridentBackendConfig. -func (mr *MockTridentCRDClientInterfaceMockRecorder) GetTridentBackendConfig(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockTridentCRDClientInterfaceMockRecorder) GetTridentBackendConfig(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTridentBackendConfig", reflect.TypeOf((*MockTridentCRDClientInterface)(nil).GetTridentBackendConfig), arg0, arg1) } @@ -190,7 +194,7 @@ func (m *MockTridentCRDClientInterface) PatchTridentBackendConfig(arg0, arg1 str } // PatchTridentBackendConfig indicates an expected call of PatchTridentBackendConfig. -func (mr *MockTridentCRDClientInterfaceMockRecorder) PatchTridentBackendConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockTridentCRDClientInterfaceMockRecorder) PatchTridentBackendConfig(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchTridentBackendConfig", reflect.TypeOf((*MockTridentCRDClientInterface)(nil).PatchTridentBackendConfig), arg0, arg1, arg2, arg3) } @@ -228,7 +232,7 @@ func (m *MockSnapshotCRDClientInterface) CheckVolumeSnapshotClassExists(arg0 str } // CheckVolumeSnapshotClassExists indicates an expected call of CheckVolumeSnapshotClassExists. -func (mr *MockSnapshotCRDClientInterfaceMockRecorder) CheckVolumeSnapshotClassExists(arg0 interface{}) *gomock.Call { +func (mr *MockSnapshotCRDClientInterfaceMockRecorder) CheckVolumeSnapshotClassExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckVolumeSnapshotClassExists", reflect.TypeOf((*MockSnapshotCRDClientInterface)(nil).CheckVolumeSnapshotClassExists), arg0) } @@ -242,7 +246,7 @@ func (m *MockSnapshotCRDClientInterface) DeleteVolumeSnapshotClass(arg0 string) } // DeleteVolumeSnapshotClass indicates an expected call of DeleteVolumeSnapshotClass. -func (mr *MockSnapshotCRDClientInterfaceMockRecorder) DeleteVolumeSnapshotClass(arg0 interface{}) *gomock.Call { +func (mr *MockSnapshotCRDClientInterfaceMockRecorder) DeleteVolumeSnapshotClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumeSnapshotClass", reflect.TypeOf((*MockSnapshotCRDClientInterface)(nil).DeleteVolumeSnapshotClass), arg0) } @@ -257,7 +261,7 @@ func (m *MockSnapshotCRDClientInterface) GetVolumeSnapshotClass(arg0 string) (*v } // GetVolumeSnapshotClass indicates an expected call of GetVolumeSnapshotClass. -func (mr *MockSnapshotCRDClientInterfaceMockRecorder) GetVolumeSnapshotClass(arg0 interface{}) *gomock.Call { +func (mr *MockSnapshotCRDClientInterfaceMockRecorder) GetVolumeSnapshotClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeSnapshotClass", reflect.TypeOf((*MockSnapshotCRDClientInterface)(nil).GetVolumeSnapshotClass), arg0) } @@ -271,7 +275,7 @@ func (m *MockSnapshotCRDClientInterface) PatchVolumeSnapshotClass(arg0 string, a } // PatchVolumeSnapshotClass indicates an expected call of PatchVolumeSnapshotClass. -func (mr *MockSnapshotCRDClientInterfaceMockRecorder) PatchVolumeSnapshotClass(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockSnapshotCRDClientInterfaceMockRecorder) PatchVolumeSnapshotClass(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchVolumeSnapshotClass", reflect.TypeOf((*MockSnapshotCRDClientInterface)(nil).PatchVolumeSnapshotClass), arg0, arg1, arg2) } diff --git a/mocks/mock_operator/mock_controllers/mock_configurator/mock_clients/mock_api.go b/mocks/mock_operator/mock_controllers/mock_configurator/mock_clients/mock_api.go index 280fd84f5..79e0d27db 100644 --- a/mocks/mock_operator/mock_controllers/mock_configurator/mock_clients/mock_api.go +++ b/mocks/mock_operator/mock_controllers/mock_configurator/mock_clients/mock_api.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/operator/controllers/configurator/clients (interfaces: ConfiguratorClientInterface,ExtendedK8sClientInterface) +// +// Generated by this command: +// +// mockgen -destination=../../../../mocks/mock_operator/mock_controllers/mock_configurator/mock_clients/mock_api.go github.com/netapp/trident/operator/controllers/configurator/clients ConfiguratorClientInterface,ExtendedK8sClientInterface +// // Package mock_clients is a generated GoMock package. package mock_clients @@ -9,6 +14,10 @@ import ( time "time" v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" + k8sclient "github.com/netapp/trident/cli/k8s_client" + clients "github.com/netapp/trident/operator/controllers/configurator/clients" + v10 "github.com/netapp/trident/operator/crd/apis/netapp/v1" + version "github.com/netapp/trident/utils/version" gomock "go.uber.org/mock/gomock" v11 "k8s.io/api/apps/v1" v12 "k8s.io/api/core/v1" @@ -18,11 +27,6 @@ import ( v15 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" types "k8s.io/apimachinery/pkg/types" version0 "k8s.io/apimachinery/pkg/version" - - k8sclient "github.com/netapp/trident/cli/k8s_client" - clients "github.com/netapp/trident/operator/controllers/configurator/clients" - v10 "github.com/netapp/trident/operator/crd/apis/netapp/v1" - version "github.com/netapp/trident/utils/version" ) // MockConfiguratorClientInterface is a mock of ConfiguratorClientInterface interface. @@ -57,7 +61,7 @@ func (m *MockConfiguratorClientInterface) CreateOrPatchObject(arg0 clients.Objec } // CreateOrPatchObject indicates an expected call of CreateOrPatchObject. -func (mr *MockConfiguratorClientInterfaceMockRecorder) CreateOrPatchObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockConfiguratorClientInterfaceMockRecorder) CreateOrPatchObject(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrPatchObject", reflect.TypeOf((*MockConfiguratorClientInterface)(nil).CreateOrPatchObject), arg0, arg1, arg2, arg3) } @@ -73,7 +77,7 @@ func (m *MockConfiguratorClientInterface) GetANFSecrets(arg0 string) (string, st } // GetANFSecrets indicates an expected call of GetANFSecrets. -func (mr *MockConfiguratorClientInterfaceMockRecorder) GetANFSecrets(arg0 interface{}) *gomock.Call { +func (mr *MockConfiguratorClientInterfaceMockRecorder) GetANFSecrets(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetANFSecrets", reflect.TypeOf((*MockConfiguratorClientInterface)(nil).GetANFSecrets), arg0) } @@ -103,7 +107,7 @@ func (m *MockConfiguratorClientInterface) GetTconfCR(arg0 string) (*v10.TridentC } // GetTconfCR indicates an expected call of GetTconfCR. -func (mr *MockConfiguratorClientInterfaceMockRecorder) GetTconfCR(arg0 interface{}) *gomock.Call { +func (mr *MockConfiguratorClientInterfaceMockRecorder) GetTconfCR(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTconfCR", reflect.TypeOf((*MockConfiguratorClientInterface)(nil).GetTconfCR), arg0) } @@ -119,7 +123,7 @@ func (m *MockConfiguratorClientInterface) UpdateTridentConfiguratorStatus(arg0 * } // UpdateTridentConfiguratorStatus indicates an expected call of UpdateTridentConfiguratorStatus. -func (mr *MockConfiguratorClientInterfaceMockRecorder) UpdateTridentConfiguratorStatus(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockConfiguratorClientInterfaceMockRecorder) UpdateTridentConfiguratorStatus(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateTridentConfiguratorStatus", reflect.TypeOf((*MockConfiguratorClientInterface)(nil).UpdateTridentConfiguratorStatus), arg0, arg1) } @@ -156,7 +160,7 @@ func (m *MockExtendedK8sClientInterface) AddFinalizerToCRD(arg0 string) error { } // AddFinalizerToCRD indicates an expected call of AddFinalizerToCRD. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) AddFinalizerToCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) AddFinalizerToCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRD", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).AddFinalizerToCRD), arg0) } @@ -170,7 +174,7 @@ func (m *MockExtendedK8sClientInterface) AddFinalizerToCRDs(arg0 []string) error } // AddFinalizerToCRDs indicates an expected call of AddFinalizerToCRDs. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) AddFinalizerToCRDs(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) AddFinalizerToCRDs(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRDs", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).AddFinalizerToCRDs), arg0) } @@ -199,7 +203,7 @@ func (m *MockExtendedK8sClientInterface) CheckCRDExists(arg0 string) (bool, erro } // CheckCRDExists indicates an expected call of CheckCRDExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckCRDExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckCRDExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCRDExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckCRDExists), arg0) } @@ -215,7 +219,7 @@ func (m *MockExtendedK8sClientInterface) CheckCSIDriverExistsByLabel(arg0 string } // CheckCSIDriverExistsByLabel indicates an expected call of CheckCSIDriverExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckCSIDriverExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckCSIDriverExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCSIDriverExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckCSIDriverExistsByLabel), arg0) } @@ -231,7 +235,7 @@ func (m *MockExtendedK8sClientInterface) CheckClusterRoleBindingExistsByLabel(ar } // CheckClusterRoleBindingExistsByLabel indicates an expected call of CheckClusterRoleBindingExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleBindingExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckClusterRoleBindingExistsByLabel), arg0) } @@ -247,7 +251,7 @@ func (m *MockExtendedK8sClientInterface) CheckClusterRoleExistsByLabel(arg0 stri } // CheckClusterRoleExistsByLabel indicates an expected call of CheckClusterRoleExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckClusterRoleExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckClusterRoleExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckClusterRoleExistsByLabel), arg0) } @@ -262,7 +266,7 @@ func (m *MockExtendedK8sClientInterface) CheckDaemonSetExists(arg0, arg1 string) } // CheckDaemonSetExists indicates an expected call of CheckDaemonSetExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDaemonSetExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDaemonSetExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckDaemonSetExists), arg0, arg1) } @@ -278,7 +282,7 @@ func (m *MockExtendedK8sClientInterface) CheckDaemonSetExistsByLabel(arg0 string } // CheckDaemonSetExistsByLabel indicates an expected call of CheckDaemonSetExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckDaemonSetExistsByLabel), arg0, arg1) } @@ -293,7 +297,7 @@ func (m *MockExtendedK8sClientInterface) CheckDeploymentExists(arg0, arg1 string } // CheckDeploymentExists indicates an expected call of CheckDeploymentExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDeploymentExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDeploymentExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckDeploymentExists), arg0, arg1) } @@ -309,7 +313,7 @@ func (m *MockExtendedK8sClientInterface) CheckDeploymentExistsByLabel(arg0 strin } // CheckDeploymentExistsByLabel indicates an expected call of CheckDeploymentExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckDeploymentExistsByLabel), arg0, arg1) } @@ -324,7 +328,7 @@ func (m *MockExtendedK8sClientInterface) CheckNamespaceExists(arg0 string) (bool } // CheckNamespaceExists indicates an expected call of CheckNamespaceExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckNamespaceExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckNamespaceExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckNamespaceExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckNamespaceExists), arg0) } @@ -340,7 +344,7 @@ func (m *MockExtendedK8sClientInterface) CheckPodExistsByLabel(arg0 string, arg1 } // CheckPodExistsByLabel indicates an expected call of CheckPodExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckPodExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckPodExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckPodExistsByLabel), arg0, arg1) } @@ -356,7 +360,7 @@ func (m *MockExtendedK8sClientInterface) CheckPodSecurityPolicyExistsByLabel(arg } // CheckPodSecurityPolicyExistsByLabel indicates an expected call of CheckPodSecurityPolicyExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodSecurityPolicyExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckPodSecurityPolicyExistsByLabel), arg0) } @@ -371,7 +375,7 @@ func (m *MockExtendedK8sClientInterface) CheckSecretExists(arg0 string) (bool, e } // CheckSecretExists indicates an expected call of CheckSecretExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckSecretExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckSecretExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckSecretExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckSecretExists), arg0) } @@ -387,7 +391,7 @@ func (m *MockExtendedK8sClientInterface) CheckServiceAccountExistsByLabel(arg0 s } // CheckServiceAccountExistsByLabel indicates an expected call of CheckServiceAccountExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceAccountExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckServiceAccountExistsByLabel), arg0, arg1) } @@ -403,7 +407,7 @@ func (m *MockExtendedK8sClientInterface) CheckServiceExistsByLabel(arg0 string, } // CheckServiceExistsByLabel indicates an expected call of CheckServiceExistsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckServiceExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckServiceExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceExistsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckServiceExistsByLabel), arg0, arg1) } @@ -418,7 +422,7 @@ func (m *MockExtendedK8sClientInterface) CheckStorageClassExists(arg0 string) (b } // CheckStorageClassExists indicates an expected call of CheckStorageClassExists. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckStorageClassExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CheckStorageClassExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckStorageClassExists", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CheckStorageClassExists), arg0) } @@ -432,7 +436,7 @@ func (m *MockExtendedK8sClientInterface) CreateObjectByFile(arg0 string) error { } // CreateObjectByFile indicates an expected call of CreateObjectByFile. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateObjectByFile(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateObjectByFile(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByFile", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CreateObjectByFile), arg0) } @@ -446,7 +450,7 @@ func (m *MockExtendedK8sClientInterface) CreateObjectByYAML(arg0 string) error { } // CreateObjectByYAML indicates an expected call of CreateObjectByYAML. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateObjectByYAML(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateObjectByYAML(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByYAML", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CreateObjectByYAML), arg0) } @@ -461,7 +465,7 @@ func (m *MockExtendedK8sClientInterface) CreateSecret(arg0 *v12.Secret) (*v12.Se } // CreateSecret indicates an expected call of CreateSecret. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) CreateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecret", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).CreateSecret), arg0) } @@ -475,7 +479,7 @@ func (m *MockExtendedK8sClientInterface) DeleteCRD(arg0 string) error { } // DeleteCRD indicates an expected call of DeleteCRD. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCRD", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteCRD), arg0) } @@ -489,7 +493,7 @@ func (m *MockExtendedK8sClientInterface) DeleteCSIDriver(arg0 string) error { } // DeleteCSIDriver indicates an expected call of DeleteCSIDriver. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCSIDriver(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCSIDriver(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriver", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteCSIDriver), arg0) } @@ -503,7 +507,7 @@ func (m *MockExtendedK8sClientInterface) DeleteCSIDriverByLabel(arg0 string) err } // DeleteCSIDriverByLabel indicates an expected call of DeleteCSIDriverByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteCSIDriverByLabel), arg0) } @@ -517,7 +521,7 @@ func (m *MockExtendedK8sClientInterface) DeleteClusterRole(arg0 string) error { } // DeleteClusterRole indicates an expected call of DeleteClusterRole. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRole(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRole", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteClusterRole), arg0) } @@ -531,7 +535,7 @@ func (m *MockExtendedK8sClientInterface) DeleteClusterRoleBinding(arg0 string) e } // DeleteClusterRoleBinding indicates an expected call of DeleteClusterRoleBinding. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBinding", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteClusterRoleBinding), arg0) } @@ -545,7 +549,7 @@ func (m *MockExtendedK8sClientInterface) DeleteClusterRoleBindingByLabel(arg0 st } // DeleteClusterRoleBindingByLabel indicates an expected call of DeleteClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteClusterRoleBindingByLabel), arg0) } @@ -559,7 +563,7 @@ func (m *MockExtendedK8sClientInterface) DeleteClusterRoleByLabel(arg0 string) e } // DeleteClusterRoleByLabel indicates an expected call of DeleteClusterRoleByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteClusterRoleByLabel), arg0) } @@ -573,7 +577,7 @@ func (m *MockExtendedK8sClientInterface) DeleteDaemonSet(arg0, arg1 string, arg2 } // DeleteDaemonSet indicates an expected call of DeleteDaemonSet. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSet", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteDaemonSet), arg0, arg1, arg2) } @@ -587,7 +591,7 @@ func (m *MockExtendedK8sClientInterface) DeleteDaemonSetByLabel(arg0 string) err } // DeleteDaemonSetByLabel indicates an expected call of DeleteDaemonSetByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSetByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSetByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteDaemonSetByLabel), arg0) } @@ -601,7 +605,7 @@ func (m *MockExtendedK8sClientInterface) DeleteDaemonSetByLabelAndName(arg0, arg } // DeleteDaemonSetByLabelAndName indicates an expected call of DeleteDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteDaemonSetByLabelAndName), arg0, arg1) } @@ -615,7 +619,7 @@ func (m *MockExtendedK8sClientInterface) DeleteDeployment(arg0, arg1 string, arg } // DeleteDeployment indicates an expected call of DeleteDeployment. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDeployment(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDeployment(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeployment", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteDeployment), arg0, arg1, arg2) } @@ -629,7 +633,7 @@ func (m *MockExtendedK8sClientInterface) DeleteDeploymentByLabel(arg0 string) er } // DeleteDeploymentByLabel indicates an expected call of DeleteDeploymentByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDeploymentByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteDeploymentByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteDeploymentByLabel), arg0) } @@ -643,7 +647,7 @@ func (m *MockExtendedK8sClientInterface) DeleteObjectByFile(arg0 string, arg1 bo } // DeleteObjectByFile indicates an expected call of DeleteObjectByFile. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteObjectByFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteObjectByFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByFile", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteObjectByFile), arg0, arg1) } @@ -657,7 +661,7 @@ func (m *MockExtendedK8sClientInterface) DeleteObjectByYAML(arg0 string, arg1 bo } // DeleteObjectByYAML indicates an expected call of DeleteObjectByYAML. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteObjectByYAML(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteObjectByYAML(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByYAML", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteObjectByYAML), arg0, arg1) } @@ -671,7 +675,7 @@ func (m *MockExtendedK8sClientInterface) DeletePod(arg0, arg1 string) error { } // DeletePod indicates an expected call of DeletePod. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePod(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePod(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePod", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeletePod), arg0, arg1) } @@ -685,7 +689,7 @@ func (m *MockExtendedK8sClientInterface) DeletePodByLabel(arg0 string) error { } // DeletePodByLabel indicates an expected call of DeletePodByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeletePodByLabel), arg0) } @@ -699,7 +703,7 @@ func (m *MockExtendedK8sClientInterface) DeletePodSecurityPolicy(arg0 string) er } // DeletePodSecurityPolicy indicates an expected call of DeletePodSecurityPolicy. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodSecurityPolicy(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodSecurityPolicy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicy", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeletePodSecurityPolicy), arg0) } @@ -713,7 +717,7 @@ func (m *MockExtendedK8sClientInterface) DeletePodSecurityPolicyByLabel(arg0 str } // DeletePodSecurityPolicyByLabel indicates an expected call of DeletePodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeletePodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeletePodSecurityPolicyByLabel), arg0) } @@ -727,7 +731,7 @@ func (m *MockExtendedK8sClientInterface) DeleteResourceQuota(arg0 string) error } // DeleteResourceQuota indicates an expected call of DeleteResourceQuota. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuota", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteResourceQuota), arg0) } @@ -741,7 +745,7 @@ func (m *MockExtendedK8sClientInterface) DeleteResourceQuotaByLabel(arg0 string) } // DeleteResourceQuotaByLabel indicates an expected call of DeleteResourceQuotaByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteResourceQuotaByLabel), arg0) } @@ -755,7 +759,7 @@ func (m *MockExtendedK8sClientInterface) DeleteRole(arg0 string) error { } // DeleteRole indicates an expected call of DeleteRole. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRole", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteRole), arg0) } @@ -769,7 +773,7 @@ func (m *MockExtendedK8sClientInterface) DeleteRoleBinding(arg0 string) error { } // DeleteRoleBinding indicates an expected call of DeleteRoleBinding. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRoleBinding", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteRoleBinding), arg0) } @@ -783,7 +787,7 @@ func (m *MockExtendedK8sClientInterface) DeleteSecret(arg0, arg1 string) error { } // DeleteSecret indicates an expected call of DeleteSecret. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecret(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecret", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteSecret), arg0, arg1) } @@ -797,7 +801,7 @@ func (m *MockExtendedK8sClientInterface) DeleteSecretByLabel(arg0 string) error } // DeleteSecretByLabel indicates an expected call of DeleteSecretByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecretByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecretByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteSecretByLabel), arg0) } @@ -811,7 +815,7 @@ func (m *MockExtendedK8sClientInterface) DeleteSecretDefault(arg0 string) error } // DeleteSecretDefault indicates an expected call of DeleteSecretDefault. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecretDefault(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteSecretDefault(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretDefault", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteSecretDefault), arg0) } @@ -825,7 +829,7 @@ func (m *MockExtendedK8sClientInterface) DeleteService(arg0, arg1 string) error } // DeleteService indicates an expected call of DeleteService. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteService(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteService", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteService), arg0, arg1) } @@ -839,7 +843,7 @@ func (m *MockExtendedK8sClientInterface) DeleteServiceAccount(arg0, arg1 string, } // DeleteServiceAccount indicates an expected call of DeleteServiceAccount. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccount", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteServiceAccount), arg0, arg1, arg2) } @@ -853,7 +857,7 @@ func (m *MockExtendedK8sClientInterface) DeleteServiceAccountByLabel(arg0 string } // DeleteServiceAccountByLabel indicates an expected call of DeleteServiceAccountByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceAccountByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceAccountByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteServiceAccountByLabel), arg0) } @@ -867,7 +871,7 @@ func (m *MockExtendedK8sClientInterface) DeleteServiceByLabel(arg0 string) error } // DeleteServiceByLabel indicates an expected call of DeleteServiceByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteServiceByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteServiceByLabel), arg0) } @@ -881,7 +885,7 @@ func (m *MockExtendedK8sClientInterface) DeleteStorageClass(arg0 string) error { } // DeleteStorageClass indicates an expected call of DeleteStorageClass. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteStorageClass(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) DeleteStorageClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStorageClass", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).DeleteStorageClass), arg0) } @@ -896,7 +900,7 @@ func (m *MockExtendedK8sClientInterface) Exec(arg0, arg1 string, arg2 []string) } // Exec indicates an expected call of Exec. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) Exec(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) Exec(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exec", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).Exec), arg0, arg1, arg2) } @@ -925,7 +929,7 @@ func (m *MockExtendedK8sClientInterface) GetCRD(arg0 string) (*v15.CustomResourc } // GetCRD indicates an expected call of GetCRD. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCRD", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetCRD), arg0) } @@ -940,7 +944,7 @@ func (m *MockExtendedK8sClientInterface) GetCSIDriverByLabel(arg0 string) (*v14. } // GetCSIDriverByLabel indicates an expected call of GetCSIDriverByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetCSIDriverByLabel), arg0) } @@ -955,7 +959,7 @@ func (m *MockExtendedK8sClientInterface) GetCSIDriversByLabel(arg0 string) ([]v1 } // GetCSIDriversByLabel indicates an expected call of GetCSIDriversByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCSIDriversByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetCSIDriversByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriversByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetCSIDriversByLabel), arg0) } @@ -970,7 +974,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRoleBindingByLabel(arg0 strin } // GetClusterRoleBindingByLabel indicates an expected call of GetClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRoleBindingByLabel), arg0) } @@ -985,7 +989,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRoleBindingByLabelAndName(arg } // GetClusterRoleBindingByLabelAndName indicates an expected call of GetClusterRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRoleBindingByLabelAndName), arg0, arg1) } @@ -1000,7 +1004,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRoleBindingsByLabel(arg0 stri } // GetClusterRoleBindingsByLabel indicates an expected call of GetClusterRoleBindingsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRoleBindingsByLabel), arg0) } @@ -1015,7 +1019,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRoleByLabel(arg0 string) (*v1 } // GetClusterRoleByLabel indicates an expected call of GetClusterRoleByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRoleByLabel), arg0) } @@ -1030,7 +1034,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRoleByLabelAndName(arg0, arg1 } // GetClusterRoleByLabelAndName indicates an expected call of GetClusterRoleByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRoleByLabelAndName), arg0, arg1) } @@ -1045,7 +1049,7 @@ func (m *MockExtendedK8sClientInterface) GetClusterRolesByLabel(arg0 string) ([] } // GetClusterRolesByLabel indicates an expected call of GetClusterRolesByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetClusterRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRolesByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetClusterRolesByLabel), arg0) } @@ -1060,7 +1064,7 @@ func (m *MockExtendedK8sClientInterface) GetDaemonSetByLabel(arg0 string, arg1 b } // GetDaemonSetByLabel indicates an expected call of GetDaemonSetByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetDaemonSetByLabel), arg0, arg1) } @@ -1075,7 +1079,7 @@ func (m *MockExtendedK8sClientInterface) GetDaemonSetByLabelAndName(arg0, arg1 s } // GetDaemonSetByLabelAndName indicates an expected call of GetDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetDaemonSetByLabelAndName), arg0, arg1, arg2) } @@ -1090,7 +1094,7 @@ func (m *MockExtendedK8sClientInterface) GetDaemonSetsByLabel(arg0 string, arg1 } // GetDaemonSetsByLabel indicates an expected call of GetDaemonSetsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDaemonSetsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetDaemonSetsByLabel), arg0, arg1) } @@ -1105,7 +1109,7 @@ func (m *MockExtendedK8sClientInterface) GetDeploymentByLabel(arg0 string, arg1 } // GetDeploymentByLabel indicates an expected call of GetDeploymentByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDeploymentByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDeploymentByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetDeploymentByLabel), arg0, arg1) } @@ -1120,7 +1124,7 @@ func (m *MockExtendedK8sClientInterface) GetDeploymentsByLabel(arg0 string, arg1 } // GetDeploymentsByLabel indicates an expected call of GetDeploymentsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDeploymentsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetDeploymentsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetDeploymentsByLabel), arg0, arg1) } @@ -1135,7 +1139,7 @@ func (m *MockExtendedK8sClientInterface) GetNamespace(arg0 string) (*v12.Namespa } // GetNamespace indicates an expected call of GetNamespace. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetNamespace), arg0) } @@ -1152,7 +1156,7 @@ func (m *MockExtendedK8sClientInterface) GetOpenShiftSCCByName(arg0, arg1 string } // GetOpenShiftSCCByName indicates an expected call of GetOpenShiftSCCByName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetOpenShiftSCCByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetOpenShiftSCCByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOpenShiftSCCByName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetOpenShiftSCCByName), arg0, arg1) } @@ -1167,7 +1171,7 @@ func (m *MockExtendedK8sClientInterface) GetPersistentVolumeClaims(arg0 bool) ([ } // GetPersistentVolumeClaims indicates an expected call of GetPersistentVolumeClaims. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPersistentVolumeClaims(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPersistentVolumeClaims(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPersistentVolumeClaims", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetPersistentVolumeClaims), arg0) } @@ -1197,7 +1201,7 @@ func (m *MockExtendedK8sClientInterface) GetPodByLabel(arg0 string, arg1 bool) ( } // GetPodByLabel indicates an expected call of GetPodByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetPodByLabel), arg0, arg1) } @@ -1212,7 +1216,7 @@ func (m *MockExtendedK8sClientInterface) GetPodSecurityPoliciesByLabel(arg0 stri } // GetPodSecurityPoliciesByLabel indicates an expected call of GetPodSecurityPoliciesByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodSecurityPoliciesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodSecurityPoliciesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPoliciesByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetPodSecurityPoliciesByLabel), arg0) } @@ -1227,7 +1231,7 @@ func (m *MockExtendedK8sClientInterface) GetPodSecurityPolicyByLabel(arg0 string } // GetPodSecurityPolicyByLabel indicates an expected call of GetPodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetPodSecurityPolicyByLabel), arg0) } @@ -1242,7 +1246,7 @@ func (m *MockExtendedK8sClientInterface) GetPodsByLabel(arg0 string, arg1 bool) } // GetPodsByLabel indicates an expected call of GetPodsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetPodsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetPodsByLabel), arg0, arg1) } @@ -1257,7 +1261,7 @@ func (m *MockExtendedK8sClientInterface) GetResourceQuota(arg0 string) (*v12.Res } // GetResourceQuota indicates an expected call of GetResourceQuota. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuota", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetResourceQuota), arg0) } @@ -1272,7 +1276,7 @@ func (m *MockExtendedK8sClientInterface) GetResourceQuotaByLabel(arg0 string) (* } // GetResourceQuotaByLabel indicates an expected call of GetResourceQuotaByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetResourceQuotaByLabel), arg0) } @@ -1287,7 +1291,7 @@ func (m *MockExtendedK8sClientInterface) GetResourceQuotasByLabel(arg0 string) ( } // GetResourceQuotasByLabel indicates an expected call of GetResourceQuotasByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuotasByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetResourceQuotasByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotasByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetResourceQuotasByLabel), arg0) } @@ -1302,7 +1306,7 @@ func (m *MockExtendedK8sClientInterface) GetRoleBindingByLabelAndName(arg0, arg1 } // GetRoleBindingByLabelAndName indicates an expected call of GetRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetRoleBindingByLabelAndName), arg0, arg1) } @@ -1317,7 +1321,7 @@ func (m *MockExtendedK8sClientInterface) GetRoleBindingsByLabel(arg0 string) ([] } // GetRoleBindingsByLabel indicates an expected call of GetRoleBindingsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetRoleBindingsByLabel), arg0) } @@ -1332,7 +1336,7 @@ func (m *MockExtendedK8sClientInterface) GetRolesByLabel(arg0 string) ([]v13.Rol } // GetRolesByLabel indicates an expected call of GetRolesByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRolesByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetRolesByLabel), arg0) } @@ -1347,7 +1351,7 @@ func (m *MockExtendedK8sClientInterface) GetSecret(arg0 string) (*v12.Secret, er } // GetSecret indicates an expected call of GetSecret. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecret", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetSecret), arg0) } @@ -1362,7 +1366,7 @@ func (m *MockExtendedK8sClientInterface) GetSecretByLabel(arg0 string, arg1 bool } // GetSecretByLabel indicates an expected call of GetSecretByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecretByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecretByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetSecretByLabel), arg0, arg1) } @@ -1377,7 +1381,7 @@ func (m *MockExtendedK8sClientInterface) GetSecretsByLabel(arg0 string, arg1 boo } // GetSecretsByLabel indicates an expected call of GetSecretsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecretsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetSecretsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetSecretsByLabel), arg0, arg1) } @@ -1392,7 +1396,7 @@ func (m *MockExtendedK8sClientInterface) GetServiceAccountByLabel(arg0 string, a } // GetServiceAccountByLabel indicates an expected call of GetServiceAccountByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetServiceAccountByLabel), arg0, arg1) } @@ -1407,7 +1411,7 @@ func (m *MockExtendedK8sClientInterface) GetServiceAccountByLabelAndName(arg0, a } // GetServiceAccountByLabelAndName indicates an expected call of GetServiceAccountByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetServiceAccountByLabelAndName), arg0, arg1, arg2) } @@ -1422,7 +1426,7 @@ func (m *MockExtendedK8sClientInterface) GetServiceAccountsByLabel(arg0 string, } // GetServiceAccountsByLabel indicates an expected call of GetServiceAccountsByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceAccountsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountsByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetServiceAccountsByLabel), arg0, arg1) } @@ -1437,7 +1441,7 @@ func (m *MockExtendedK8sClientInterface) GetServiceByLabel(arg0 string, arg1 boo } // GetServiceByLabel indicates an expected call of GetServiceByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServiceByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetServiceByLabel), arg0, arg1) } @@ -1452,7 +1456,7 @@ func (m *MockExtendedK8sClientInterface) GetServicesByLabel(arg0 string, arg1 bo } // GetServicesByLabel indicates an expected call of GetServicesByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServicesByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetServicesByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServicesByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetServicesByLabel), arg0, arg1) } @@ -1467,7 +1471,7 @@ func (m *MockExtendedK8sClientInterface) GetStorageClass(arg0 string) (*v14.Stor } // GetStorageClass indicates an expected call of GetStorageClass. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetStorageClass(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetStorageClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageClass", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetStorageClass), arg0) } @@ -1512,7 +1516,7 @@ func (m *MockExtendedK8sClientInterface) GetVolumeSnapshots(arg0 bool) ([]v1.Vol } // GetVolumeSnapshots indicates an expected call of GetVolumeSnapshots. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetVolumeSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) GetVolumeSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeSnapshots", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).GetVolumeSnapshots), arg0) } @@ -1540,7 +1544,7 @@ func (m *MockExtendedK8sClientInterface) PatchCRD(arg0 string, arg1 []byte, arg2 } // PatchCRD indicates an expected call of PatchCRD. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchCRD(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchCRD(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCRD", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchCRD), arg0, arg1, arg2) } @@ -1554,7 +1558,7 @@ func (m *MockExtendedK8sClientInterface) PatchCSIDriverByLabel(arg0 string, arg1 } // PatchCSIDriverByLabel indicates an expected call of PatchCSIDriverByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchCSIDriverByLabel), arg0, arg1, arg2) } @@ -1568,7 +1572,7 @@ func (m *MockExtendedK8sClientInterface) PatchClusterRoleBindingByLabel(arg0 str } // PatchClusterRoleBindingByLabel indicates an expected call of PatchClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchClusterRoleBindingByLabel), arg0, arg1, arg2) } @@ -1582,7 +1586,7 @@ func (m *MockExtendedK8sClientInterface) PatchClusterRoleBindingByLabelAndName(a } // PatchClusterRoleBindingByLabelAndName indicates an expected call of PatchClusterRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchClusterRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1596,7 +1600,7 @@ func (m *MockExtendedK8sClientInterface) PatchClusterRoleByLabel(arg0 string, ar } // PatchClusterRoleByLabel indicates an expected call of PatchClusterRoleByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchClusterRoleByLabel), arg0, arg1, arg2) } @@ -1610,7 +1614,7 @@ func (m *MockExtendedK8sClientInterface) PatchClusterRoleByLabelAndName(arg0, ar } // PatchClusterRoleByLabelAndName indicates an expected call of PatchClusterRoleByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchClusterRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1624,7 +1628,7 @@ func (m *MockExtendedK8sClientInterface) PatchDaemonSetByLabel(arg0 string, arg1 } // PatchDaemonSetByLabel indicates an expected call of PatchDaemonSetByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchDaemonSetByLabel), arg0, arg1, arg2) } @@ -1638,7 +1642,7 @@ func (m *MockExtendedK8sClientInterface) PatchDaemonSetByLabelAndName(arg0, arg1 } // PatchDaemonSetByLabelAndName indicates an expected call of PatchDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchDaemonSetByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1652,7 +1656,7 @@ func (m *MockExtendedK8sClientInterface) PatchDeploymentByLabel(arg0 string, arg } // PatchDeploymentByLabel indicates an expected call of PatchDeploymentByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchDeploymentByLabel), arg0, arg1, arg2) } @@ -1666,7 +1670,7 @@ func (m *MockExtendedK8sClientInterface) PatchNamespace(arg0 string, arg1 []byte } // PatchNamespace indicates an expected call of PatchNamespace. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchNamespace(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchNamespace(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespace", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchNamespace), arg0, arg1, arg2) } @@ -1680,7 +1684,7 @@ func (m *MockExtendedK8sClientInterface) PatchNamespaceLabels(arg0 string, arg1 } // PatchNamespaceLabels indicates an expected call of PatchNamespaceLabels. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchNamespaceLabels(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchNamespaceLabels(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespaceLabels", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchNamespaceLabels), arg0, arg1) } @@ -1694,7 +1698,7 @@ func (m *MockExtendedK8sClientInterface) PatchOpenShiftSCC(arg0 []byte) error { } // PatchOpenShiftSCC indicates an expected call of PatchOpenShiftSCC. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchOpenShiftSCC(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchOpenShiftSCC(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchOpenShiftSCC), arg0) } @@ -1708,7 +1712,7 @@ func (m *MockExtendedK8sClientInterface) PatchPodSecurityPolicyByLabel(arg0 stri } // PatchPodSecurityPolicyByLabel indicates an expected call of PatchPodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchPodSecurityPolicyByLabel), arg0, arg1, arg2) } @@ -1722,7 +1726,7 @@ func (m *MockExtendedK8sClientInterface) PatchPodSecurityPolicyByLabelAndName(ar } // PatchPodSecurityPolicyByLabelAndName indicates an expected call of PatchPodSecurityPolicyByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchPodSecurityPolicyByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1736,7 +1740,7 @@ func (m *MockExtendedK8sClientInterface) PatchResourceQuotaByLabel(arg0 string, } // PatchResourceQuotaByLabel indicates an expected call of PatchResourceQuotaByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchResourceQuotaByLabel), arg0, arg1, arg2) } @@ -1750,7 +1754,7 @@ func (m *MockExtendedK8sClientInterface) PatchRoleBindingByLabelAndName(arg0, ar } // PatchRoleBindingByLabelAndName indicates an expected call of PatchRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1764,7 +1768,7 @@ func (m *MockExtendedK8sClientInterface) PatchRoleByLabelAndName(arg0, arg1 stri } // PatchRoleByLabelAndName indicates an expected call of PatchRoleByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1778,7 +1782,7 @@ func (m *MockExtendedK8sClientInterface) PatchSecretByLabel(arg0 string, arg1 [] } // PatchSecretByLabel indicates an expected call of PatchSecretByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchSecretByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchSecretByLabel), arg0, arg1, arg2) } @@ -1792,7 +1796,7 @@ func (m *MockExtendedK8sClientInterface) PatchServiceAccountByLabel(arg0 string, } // PatchServiceAccountByLabel indicates an expected call of PatchServiceAccountByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchServiceAccountByLabel), arg0, arg1, arg2) } @@ -1806,7 +1810,7 @@ func (m *MockExtendedK8sClientInterface) PatchServiceAccountByLabelAndName(arg0, } // PatchServiceAccountByLabelAndName indicates an expected call of PatchServiceAccountByLabelAndName. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabelAndName", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchServiceAccountByLabelAndName), arg0, arg1, arg2, arg3) } @@ -1820,7 +1824,7 @@ func (m *MockExtendedK8sClientInterface) PatchServiceByLabel(arg0 string, arg1 [ } // PatchServiceByLabel indicates an expected call of PatchServiceByLabel. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceByLabel", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchServiceByLabel), arg0, arg1, arg2) } @@ -1834,7 +1838,7 @@ func (m *MockExtendedK8sClientInterface) PatchStorageClass(arg0 string, arg1 []b } // PatchStorageClass indicates an expected call of PatchStorageClass. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchStorageClass(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) PatchStorageClass(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchStorageClass", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).PatchStorageClass), arg0, arg1, arg2) } @@ -1848,7 +1852,7 @@ func (m *MockExtendedK8sClientInterface) RemoveFinalizerFromCRD(arg0 string) err } // RemoveFinalizerFromCRD indicates an expected call of RemoveFinalizerFromCRD. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) RemoveFinalizerFromCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) RemoveFinalizerFromCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveFinalizerFromCRD", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).RemoveFinalizerFromCRD), arg0) } @@ -1862,7 +1866,7 @@ func (m *MockExtendedK8sClientInterface) RemoveTridentUserFromOpenShiftSCC(arg0, } // RemoveTridentUserFromOpenShiftSCC indicates an expected call of RemoveTridentUserFromOpenShiftSCC. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveTridentUserFromOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).RemoveTridentUserFromOpenShiftSCC), arg0, arg1) } @@ -1888,7 +1892,7 @@ func (m *MockExtendedK8sClientInterface) SetNamespace(arg0 string) { } // SetNamespace indicates an expected call of SetNamespace. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) SetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespace", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).SetNamespace), arg0) } @@ -1900,7 +1904,7 @@ func (m *MockExtendedK8sClientInterface) SetTimeout(arg0 time.Duration) { } // SetTimeout indicates an expected call of SetTimeout. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) SetTimeout(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTimeout", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).SetTimeout), arg0) } @@ -1915,7 +1919,7 @@ func (m *MockExtendedK8sClientInterface) UpdateSecret(arg0 *v12.Secret) (*v12.Se } // UpdateSecret indicates an expected call of UpdateSecret. -func (mr *MockExtendedK8sClientInterfaceMockRecorder) UpdateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientInterfaceMockRecorder) UpdateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSecret", reflect.TypeOf((*MockExtendedK8sClientInterface)(nil).UpdateSecret), arg0) } diff --git a/mocks/mock_operator/mock_controllers/mock_orchestrator/mock_installer/mock_installer.go b/mocks/mock_operator/mock_controllers/mock_orchestrator/mock_installer/mock_installer.go index d1d5df159..4d4718348 100644 --- a/mocks/mock_operator/mock_controllers/mock_orchestrator/mock_installer/mock_installer.go +++ b/mocks/mock_operator/mock_controllers/mock_orchestrator/mock_installer/mock_installer.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/operator/controllers/orchestrator/installer (interfaces: TridentInstaller,ExtendedK8sClient) +// +// Generated by this command: +// +// mockgen -destination=../../../../mocks/mock_operator/mock_controllers/mock_orchestrator/mock_installer/mock_installer.go github.com/netapp/trident/operator/controllers/orchestrator/installer TridentInstaller,ExtendedK8sClient +// // Package mock_installer is a generated GoMock package. package mock_installer @@ -9,6 +14,9 @@ import ( time "time" v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" + k8sclient "github.com/netapp/trident/cli/k8s_client" + v10 "github.com/netapp/trident/operator/crd/apis/netapp/v1" + version "github.com/netapp/trident/utils/version" gomock "go.uber.org/mock/gomock" v11 "k8s.io/api/apps/v1" v12 "k8s.io/api/core/v1" @@ -18,10 +26,6 @@ import ( v15 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" types "k8s.io/apimachinery/pkg/types" version0 "k8s.io/apimachinery/pkg/version" - - k8sclient "github.com/netapp/trident/cli/k8s_client" - v10 "github.com/netapp/trident/operator/crd/apis/netapp/v1" - version "github.com/netapp/trident/utils/version" ) // MockTridentInstaller is a mock of TridentInstaller interface. @@ -56,7 +60,7 @@ func (m *MockTridentInstaller) CreateOrPatchCRD(arg0, arg1 string, arg2 bool) er } // CreateOrPatchCRD indicates an expected call of CreateOrPatchCRD. -func (mr *MockTridentInstallerMockRecorder) CreateOrPatchCRD(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockTridentInstallerMockRecorder) CreateOrPatchCRD(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrPatchCRD", reflect.TypeOf((*MockTridentInstaller)(nil).CreateOrPatchCRD), arg0, arg1, arg2) } @@ -87,7 +91,7 @@ func (m *MockTridentInstaller) InstallOrPatchTrident(arg0 v10.TridentOrchestrato } // InstallOrPatchTrident indicates an expected call of InstallOrPatchTrident. -func (mr *MockTridentInstallerMockRecorder) InstallOrPatchTrident(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockTridentInstallerMockRecorder) InstallOrPatchTrident(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstallOrPatchTrident", reflect.TypeOf((*MockTridentInstaller)(nil).InstallOrPatchTrident), arg0, arg1, arg2, arg3) } @@ -135,7 +139,7 @@ func (m *MockTridentInstaller) TridentDeploymentInformation(arg0 string) (*v11.D } // TridentDeploymentInformation indicates an expected call of TridentDeploymentInformation. -func (mr *MockTridentInstallerMockRecorder) TridentDeploymentInformation(arg0 interface{}) *gomock.Call { +func (mr *MockTridentInstallerMockRecorder) TridentDeploymentInformation(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TridentDeploymentInformation", reflect.TypeOf((*MockTridentInstaller)(nil).TridentDeploymentInformation), arg0) } @@ -186,7 +190,7 @@ func (m *MockExtendedK8sClient) AddFinalizerToCRD(arg0 string) error { } // AddFinalizerToCRD indicates an expected call of AddFinalizerToCRD. -func (mr *MockExtendedK8sClientMockRecorder) AddFinalizerToCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) AddFinalizerToCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRD", reflect.TypeOf((*MockExtendedK8sClient)(nil).AddFinalizerToCRD), arg0) } @@ -200,7 +204,7 @@ func (m *MockExtendedK8sClient) AddFinalizerToCRDs(arg0 []string) error { } // AddFinalizerToCRDs indicates an expected call of AddFinalizerToCRDs. -func (mr *MockExtendedK8sClientMockRecorder) AddFinalizerToCRDs(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) AddFinalizerToCRDs(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFinalizerToCRDs", reflect.TypeOf((*MockExtendedK8sClient)(nil).AddFinalizerToCRDs), arg0) } @@ -229,7 +233,7 @@ func (m *MockExtendedK8sClient) CheckCRDExists(arg0 string) (bool, error) { } // CheckCRDExists indicates an expected call of CheckCRDExists. -func (mr *MockExtendedK8sClientMockRecorder) CheckCRDExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckCRDExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCRDExists", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckCRDExists), arg0) } @@ -245,7 +249,7 @@ func (m *MockExtendedK8sClient) CheckCSIDriverExistsByLabel(arg0 string) (bool, } // CheckCSIDriverExistsByLabel indicates an expected call of CheckCSIDriverExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckCSIDriverExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckCSIDriverExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckCSIDriverExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckCSIDriverExistsByLabel), arg0) } @@ -261,7 +265,7 @@ func (m *MockExtendedK8sClient) CheckClusterRoleBindingExistsByLabel(arg0 string } // CheckClusterRoleBindingExistsByLabel indicates an expected call of CheckClusterRoleBindingExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckClusterRoleBindingExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleBindingExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckClusterRoleBindingExistsByLabel), arg0) } @@ -277,7 +281,7 @@ func (m *MockExtendedK8sClient) CheckClusterRoleExistsByLabel(arg0 string) (bool } // CheckClusterRoleExistsByLabel indicates an expected call of CheckClusterRoleExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckClusterRoleExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckClusterRoleExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckClusterRoleExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckClusterRoleExistsByLabel), arg0) } @@ -292,7 +296,7 @@ func (m *MockExtendedK8sClient) CheckDaemonSetExists(arg0, arg1 string) (bool, e } // CheckDaemonSetExists indicates an expected call of CheckDaemonSetExists. -func (mr *MockExtendedK8sClientMockRecorder) CheckDaemonSetExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckDaemonSetExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExists", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckDaemonSetExists), arg0, arg1) } @@ -308,7 +312,7 @@ func (m *MockExtendedK8sClient) CheckDaemonSetExistsByLabel(arg0 string, arg1 bo } // CheckDaemonSetExistsByLabel indicates an expected call of CheckDaemonSetExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckDaemonSetExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDaemonSetExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckDaemonSetExistsByLabel), arg0, arg1) } @@ -323,7 +327,7 @@ func (m *MockExtendedK8sClient) CheckDeploymentExists(arg0, arg1 string) (bool, } // CheckDeploymentExists indicates an expected call of CheckDeploymentExists. -func (mr *MockExtendedK8sClientMockRecorder) CheckDeploymentExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckDeploymentExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExists", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckDeploymentExists), arg0, arg1) } @@ -339,7 +343,7 @@ func (m *MockExtendedK8sClient) CheckDeploymentExistsByLabel(arg0 string, arg1 b } // CheckDeploymentExistsByLabel indicates an expected call of CheckDeploymentExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckDeploymentExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDeploymentExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckDeploymentExistsByLabel), arg0, arg1) } @@ -354,7 +358,7 @@ func (m *MockExtendedK8sClient) CheckNamespaceExists(arg0 string) (bool, error) } // CheckNamespaceExists indicates an expected call of CheckNamespaceExists. -func (mr *MockExtendedK8sClientMockRecorder) CheckNamespaceExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckNamespaceExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckNamespaceExists", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckNamespaceExists), arg0) } @@ -370,7 +374,7 @@ func (m *MockExtendedK8sClient) CheckPodExistsByLabel(arg0 string, arg1 bool) (b } // CheckPodExistsByLabel indicates an expected call of CheckPodExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckPodExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckPodExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckPodExistsByLabel), arg0, arg1) } @@ -386,7 +390,7 @@ func (m *MockExtendedK8sClient) CheckPodSecurityPolicyExistsByLabel(arg0 string) } // CheckPodSecurityPolicyExistsByLabel indicates an expected call of CheckPodSecurityPolicyExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckPodSecurityPolicyExistsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPodSecurityPolicyExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckPodSecurityPolicyExistsByLabel), arg0) } @@ -401,7 +405,7 @@ func (m *MockExtendedK8sClient) CheckSecretExists(arg0 string) (bool, error) { } // CheckSecretExists indicates an expected call of CheckSecretExists. -func (mr *MockExtendedK8sClientMockRecorder) CheckSecretExists(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckSecretExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckSecretExists", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckSecretExists), arg0) } @@ -417,7 +421,7 @@ func (m *MockExtendedK8sClient) CheckServiceAccountExistsByLabel(arg0 string, ar } // CheckServiceAccountExistsByLabel indicates an expected call of CheckServiceAccountExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckServiceAccountExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceAccountExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckServiceAccountExistsByLabel), arg0, arg1) } @@ -433,7 +437,7 @@ func (m *MockExtendedK8sClient) CheckServiceExistsByLabel(arg0 string, arg1 bool } // CheckServiceExistsByLabel indicates an expected call of CheckServiceExistsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) CheckServiceExistsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CheckServiceExistsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckServiceExistsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).CheckServiceExistsByLabel), arg0, arg1) } @@ -447,7 +451,7 @@ func (m *MockExtendedK8sClient) CreateCustomResourceDefinition(arg0, arg1 string } // CreateCustomResourceDefinition indicates an expected call of CreateCustomResourceDefinition. -func (mr *MockExtendedK8sClientMockRecorder) CreateCustomResourceDefinition(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CreateCustomResourceDefinition(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomResourceDefinition", reflect.TypeOf((*MockExtendedK8sClient)(nil).CreateCustomResourceDefinition), arg0, arg1) } @@ -461,7 +465,7 @@ func (m *MockExtendedK8sClient) CreateObjectByFile(arg0 string) error { } // CreateObjectByFile indicates an expected call of CreateObjectByFile. -func (mr *MockExtendedK8sClientMockRecorder) CreateObjectByFile(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CreateObjectByFile(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByFile", reflect.TypeOf((*MockExtendedK8sClient)(nil).CreateObjectByFile), arg0) } @@ -475,7 +479,7 @@ func (m *MockExtendedK8sClient) CreateObjectByYAML(arg0 string) error { } // CreateObjectByYAML indicates an expected call of CreateObjectByYAML. -func (mr *MockExtendedK8sClientMockRecorder) CreateObjectByYAML(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CreateObjectByYAML(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateObjectByYAML", reflect.TypeOf((*MockExtendedK8sClient)(nil).CreateObjectByYAML), arg0) } @@ -490,7 +494,7 @@ func (m *MockExtendedK8sClient) CreateSecret(arg0 *v12.Secret) (*v12.Secret, err } // CreateSecret indicates an expected call of CreateSecret. -func (mr *MockExtendedK8sClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) CreateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).CreateSecret), arg0) } @@ -504,7 +508,7 @@ func (m *MockExtendedK8sClient) DeleteCRD(arg0 string) error { } // DeleteCRD indicates an expected call of DeleteCRD. -func (mr *MockExtendedK8sClientMockRecorder) DeleteCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCRD", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteCRD), arg0) } @@ -518,7 +522,7 @@ func (m *MockExtendedK8sClient) DeleteCSIDriver(arg0 string) error { } // DeleteCSIDriver indicates an expected call of DeleteCSIDriver. -func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriver(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriver(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriver", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteCSIDriver), arg0) } @@ -532,7 +536,7 @@ func (m *MockExtendedK8sClient) DeleteCSIDriverByLabel(arg0 string) error { } // DeleteCSIDriverByLabel indicates an expected call of DeleteCSIDriverByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteCSIDriverByLabel), arg0) } @@ -546,7 +550,7 @@ func (m *MockExtendedK8sClient) DeleteCSIDriverCR(arg0, arg1 string) error { } // DeleteCSIDriverCR indicates an expected call of DeleteCSIDriverCR. -func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriverCR(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteCSIDriverCR(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCSIDriverCR", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteCSIDriverCR), arg0, arg1) } @@ -560,7 +564,7 @@ func (m *MockExtendedK8sClient) DeleteClusterRole(arg0 string) error { } // DeleteClusterRole indicates an expected call of DeleteClusterRole. -func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRole(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRole", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteClusterRole), arg0) } @@ -574,7 +578,7 @@ func (m *MockExtendedK8sClient) DeleteClusterRoleBinding(arg0 string) error { } // DeleteClusterRoleBinding indicates an expected call of DeleteClusterRoleBinding. -func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBinding", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteClusterRoleBinding), arg0) } @@ -588,7 +592,7 @@ func (m *MockExtendedK8sClient) DeleteClusterRoleBindingByLabel(arg0 string) err } // DeleteClusterRoleBindingByLabel indicates an expected call of DeleteClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteClusterRoleBindingByLabel), arg0) } @@ -602,7 +606,7 @@ func (m *MockExtendedK8sClient) DeleteClusterRoleByLabel(arg0 string) error { } // DeleteClusterRoleByLabel indicates an expected call of DeleteClusterRoleByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteClusterRoleByLabel), arg0) } @@ -616,7 +620,7 @@ func (m *MockExtendedK8sClient) DeleteCustomResourceDefinition(arg0, arg1 string } // DeleteCustomResourceDefinition indicates an expected call of DeleteCustomResourceDefinition. -func (mr *MockExtendedK8sClientMockRecorder) DeleteCustomResourceDefinition(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteCustomResourceDefinition(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomResourceDefinition", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteCustomResourceDefinition), arg0, arg1) } @@ -630,7 +634,7 @@ func (m *MockExtendedK8sClient) DeleteDaemonSet(arg0, arg1 string, arg2 bool) er } // DeleteDaemonSet indicates an expected call of DeleteDaemonSet. -func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSet(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSet", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteDaemonSet), arg0, arg1, arg2) } @@ -644,7 +648,7 @@ func (m *MockExtendedK8sClient) DeleteDaemonSetByLabel(arg0 string) error { } // DeleteDaemonSetByLabel indicates an expected call of DeleteDaemonSetByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSetByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSetByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteDaemonSetByLabel), arg0) } @@ -658,7 +662,7 @@ func (m *MockExtendedK8sClient) DeleteDaemonSetByLabelAndName(arg0, arg1 string) } // DeleteDaemonSetByLabelAndName indicates an expected call of DeleteDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteDaemonSetByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteDaemonSetByLabelAndName), arg0, arg1) } @@ -672,7 +676,7 @@ func (m *MockExtendedK8sClient) DeleteDeployment(arg0, arg1 string, arg2 bool) e } // DeleteDeployment indicates an expected call of DeleteDeployment. -func (mr *MockExtendedK8sClientMockRecorder) DeleteDeployment(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteDeployment(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeployment", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteDeployment), arg0, arg1, arg2) } @@ -686,7 +690,7 @@ func (m *MockExtendedK8sClient) DeleteDeploymentByLabel(arg0 string) error { } // DeleteDeploymentByLabel indicates an expected call of DeleteDeploymentByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteDeploymentByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteDeploymentByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteDeploymentByLabel), arg0) } @@ -700,7 +704,7 @@ func (m *MockExtendedK8sClient) DeleteMultipleOpenShiftSCC(arg0, arg1 []string, } // DeleteMultipleOpenShiftSCC indicates an expected call of DeleteMultipleOpenShiftSCC. -func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleOpenShiftSCC(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleOpenShiftSCC(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteMultipleOpenShiftSCC), arg0, arg1, arg2) } @@ -714,7 +718,7 @@ func (m *MockExtendedK8sClient) DeleteMultipleTridentRoleBindings(arg0 []string, } // DeleteMultipleTridentRoleBindings indicates an expected call of DeleteMultipleTridentRoleBindings. -func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentRoleBindings(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentRoleBindings(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleTridentRoleBindings", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteMultipleTridentRoleBindings), arg0, arg1) } @@ -728,7 +732,7 @@ func (m *MockExtendedK8sClient) DeleteMultipleTridentRoles(arg0 []string, arg1 s } // DeleteMultipleTridentRoles indicates an expected call of DeleteMultipleTridentRoles. -func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentRoles(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentRoles(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleTridentRoles", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteMultipleTridentRoles), arg0, arg1) } @@ -742,7 +746,7 @@ func (m *MockExtendedK8sClient) DeleteMultipleTridentServiceAccounts(arg0 []stri } // DeleteMultipleTridentServiceAccounts indicates an expected call of DeleteMultipleTridentServiceAccounts. -func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentServiceAccounts(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteMultipleTridentServiceAccounts(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleTridentServiceAccounts", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteMultipleTridentServiceAccounts), arg0, arg1, arg2) } @@ -756,7 +760,7 @@ func (m *MockExtendedK8sClient) DeleteObjectByFile(arg0 string, arg1 bool) error } // DeleteObjectByFile indicates an expected call of DeleteObjectByFile. -func (mr *MockExtendedK8sClientMockRecorder) DeleteObjectByFile(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteObjectByFile(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByFile", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteObjectByFile), arg0, arg1) } @@ -770,7 +774,7 @@ func (m *MockExtendedK8sClient) DeleteObjectByYAML(arg0 string, arg1 bool) error } // DeleteObjectByYAML indicates an expected call of DeleteObjectByYAML. -func (mr *MockExtendedK8sClientMockRecorder) DeleteObjectByYAML(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteObjectByYAML(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectByYAML", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteObjectByYAML), arg0, arg1) } @@ -784,7 +788,7 @@ func (m *MockExtendedK8sClient) DeletePod(arg0, arg1 string) error { } // DeletePod indicates an expected call of DeletePod. -func (mr *MockExtendedK8sClientMockRecorder) DeletePod(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeletePod(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePod", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeletePod), arg0, arg1) } @@ -798,7 +802,7 @@ func (m *MockExtendedK8sClient) DeletePodByLabel(arg0 string) error { } // DeletePodByLabel indicates an expected call of DeletePodByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeletePodByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeletePodByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeletePodByLabel), arg0) } @@ -812,7 +816,7 @@ func (m *MockExtendedK8sClient) DeletePodSecurityPolicy(arg0 string) error { } // DeletePodSecurityPolicy indicates an expected call of DeletePodSecurityPolicy. -func (mr *MockExtendedK8sClientMockRecorder) DeletePodSecurityPolicy(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeletePodSecurityPolicy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicy", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeletePodSecurityPolicy), arg0) } @@ -826,7 +830,7 @@ func (m *MockExtendedK8sClient) DeletePodSecurityPolicyByLabel(arg0 string) erro } // DeletePodSecurityPolicyByLabel indicates an expected call of DeletePodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeletePodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeletePodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeletePodSecurityPolicyByLabel), arg0) } @@ -840,7 +844,7 @@ func (m *MockExtendedK8sClient) DeleteResourceQuota(arg0 string) error { } // DeleteResourceQuota indicates an expected call of DeleteResourceQuota. -func (mr *MockExtendedK8sClientMockRecorder) DeleteResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuota", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteResourceQuota), arg0) } @@ -854,7 +858,7 @@ func (m *MockExtendedK8sClient) DeleteResourceQuotaByLabel(arg0 string) error { } // DeleteResourceQuotaByLabel indicates an expected call of DeleteResourceQuotaByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteResourceQuotaByLabel), arg0) } @@ -868,7 +872,7 @@ func (m *MockExtendedK8sClient) DeleteRole(arg0 string) error { } // DeleteRole indicates an expected call of DeleteRole. -func (mr *MockExtendedK8sClientMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteRole(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRole", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteRole), arg0) } @@ -882,7 +886,7 @@ func (m *MockExtendedK8sClient) DeleteRoleBinding(arg0 string) error { } // DeleteRoleBinding indicates an expected call of DeleteRoleBinding. -func (mr *MockExtendedK8sClientMockRecorder) DeleteRoleBinding(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteRoleBinding(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRoleBinding", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteRoleBinding), arg0) } @@ -896,7 +900,7 @@ func (m *MockExtendedK8sClient) DeleteSecret(arg0, arg1 string) error { } // DeleteSecret indicates an expected call of DeleteSecret. -func (mr *MockExtendedK8sClientMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteSecret(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteSecret), arg0, arg1) } @@ -910,7 +914,7 @@ func (m *MockExtendedK8sClient) DeleteSecretByLabel(arg0 string) error { } // DeleteSecretByLabel indicates an expected call of DeleteSecretByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteSecretByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteSecretByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteSecretByLabel), arg0) } @@ -924,7 +928,7 @@ func (m *MockExtendedK8sClient) DeleteSecretDefault(arg0 string) error { } // DeleteSecretDefault indicates an expected call of DeleteSecretDefault. -func (mr *MockExtendedK8sClientMockRecorder) DeleteSecretDefault(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteSecretDefault(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecretDefault", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteSecretDefault), arg0) } @@ -938,7 +942,7 @@ func (m *MockExtendedK8sClient) DeleteService(arg0, arg1 string) error { } // DeleteService indicates an expected call of DeleteService. -func (mr *MockExtendedK8sClientMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteService(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteService", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteService), arg0, arg1) } @@ -952,7 +956,7 @@ func (m *MockExtendedK8sClient) DeleteServiceAccount(arg0, arg1 string, arg2 boo } // DeleteServiceAccount indicates an expected call of DeleteServiceAccount. -func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceAccount(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccount", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteServiceAccount), arg0, arg1, arg2) } @@ -966,7 +970,7 @@ func (m *MockExtendedK8sClient) DeleteServiceAccountByLabel(arg0 string) error { } // DeleteServiceAccountByLabel indicates an expected call of DeleteServiceAccountByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceAccountByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceAccountByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteServiceAccountByLabel), arg0) } @@ -980,7 +984,7 @@ func (m *MockExtendedK8sClient) DeleteServiceByLabel(arg0 string) error { } // DeleteServiceByLabel indicates an expected call of DeleteServiceByLabel. -func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteServiceByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteServiceByLabel), arg0) } @@ -994,7 +998,7 @@ func (m *MockExtendedK8sClient) DeleteTransientVersionPod(arg0 string) error { } // DeleteTransientVersionPod indicates an expected call of DeleteTransientVersionPod. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTransientVersionPod(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTransientVersionPod(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTransientVersionPod", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTransientVersionPod), arg0) } @@ -1008,7 +1012,7 @@ func (m *MockExtendedK8sClient) DeleteTridentClusterRole(arg0, arg1 string) erro } // DeleteTridentClusterRole indicates an expected call of DeleteTridentClusterRole. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentClusterRole(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentClusterRole(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentClusterRole", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentClusterRole), arg0, arg1) } @@ -1022,7 +1026,7 @@ func (m *MockExtendedK8sClient) DeleteTridentClusterRoleBinding(arg0, arg1 strin } // DeleteTridentClusterRoleBinding indicates an expected call of DeleteTridentClusterRoleBinding. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentClusterRoleBinding(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentClusterRoleBinding(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentClusterRoleBinding", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentClusterRoleBinding), arg0, arg1) } @@ -1036,7 +1040,7 @@ func (m *MockExtendedK8sClient) DeleteTridentDaemonSet(arg0 string) error { } // DeleteTridentDaemonSet indicates an expected call of DeleteTridentDaemonSet. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentDaemonSet(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentDaemonSet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentDaemonSet", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentDaemonSet), arg0) } @@ -1050,7 +1054,7 @@ func (m *MockExtendedK8sClient) DeleteTridentDeployment(arg0 string) error { } // DeleteTridentDeployment indicates an expected call of DeleteTridentDeployment. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentDeployment(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentDeployment(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentDeployment", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentDeployment), arg0) } @@ -1064,7 +1068,7 @@ func (m *MockExtendedK8sClient) DeleteTridentPodSecurityPolicy(arg0, arg1 string } // DeleteTridentPodSecurityPolicy indicates an expected call of DeleteTridentPodSecurityPolicy. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentPodSecurityPolicy(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentPodSecurityPolicy(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentPodSecurityPolicy", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentPodSecurityPolicy), arg0, arg1) } @@ -1078,7 +1082,7 @@ func (m *MockExtendedK8sClient) DeleteTridentResourceQuota(arg0 string) error { } // DeleteTridentResourceQuota indicates an expected call of DeleteTridentResourceQuota. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentResourceQuota", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentResourceQuota), arg0) } @@ -1092,7 +1096,7 @@ func (m *MockExtendedK8sClient) DeleteTridentSecret(arg0, arg1, arg2 string) err } // DeleteTridentSecret indicates an expected call of DeleteTridentSecret. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentSecret(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentSecret(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentSecret), arg0, arg1, arg2) } @@ -1106,7 +1110,7 @@ func (m *MockExtendedK8sClient) DeleteTridentService(arg0, arg1, arg2 string) er } // DeleteTridentService indicates an expected call of DeleteTridentService. -func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentService(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) DeleteTridentService(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTridentService", reflect.TypeOf((*MockExtendedK8sClient)(nil).DeleteTridentService), arg0, arg1, arg2) } @@ -1121,7 +1125,7 @@ func (m *MockExtendedK8sClient) Exec(arg0, arg1 string, arg2 []string) ([]byte, } // Exec indicates an expected call of Exec. -func (mr *MockExtendedK8sClientMockRecorder) Exec(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) Exec(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Exec", reflect.TypeOf((*MockExtendedK8sClient)(nil).Exec), arg0, arg1, arg2) } @@ -1136,7 +1140,7 @@ func (m *MockExtendedK8sClient) ExecPodForVersionInformation(arg0 string, arg1 [ } // ExecPodForVersionInformation indicates an expected call of ExecPodForVersionInformation. -func (mr *MockExtendedK8sClientMockRecorder) ExecPodForVersionInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) ExecPodForVersionInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecPodForVersionInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).ExecPodForVersionInformation), arg0, arg1, arg2) } @@ -1165,7 +1169,7 @@ func (m *MockExtendedK8sClient) GetCRD(arg0 string) (*v15.CustomResourceDefiniti } // GetCRD indicates an expected call of GetCRD. -func (mr *MockExtendedK8sClientMockRecorder) GetCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCRD", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetCRD), arg0) } @@ -1180,7 +1184,7 @@ func (m *MockExtendedK8sClient) GetCSIDriverByLabel(arg0 string) (*v14.CSIDriver } // GetCSIDriverByLabel indicates an expected call of GetCSIDriverByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriverByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriverByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetCSIDriverByLabel), arg0) } @@ -1197,7 +1201,7 @@ func (m *MockExtendedK8sClient) GetCSIDriverInformation(arg0, arg1 string, arg2 } // GetCSIDriverInformation indicates an expected call of GetCSIDriverInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriverInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriverInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriverInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetCSIDriverInformation), arg0, arg1, arg2) } @@ -1212,7 +1216,7 @@ func (m *MockExtendedK8sClient) GetCSIDriversByLabel(arg0 string) ([]v14.CSIDriv } // GetCSIDriversByLabel indicates an expected call of GetCSIDriversByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriversByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetCSIDriversByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSIDriversByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetCSIDriversByLabel), arg0) } @@ -1227,7 +1231,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleBindingByLabel(arg0 string) (*v13. } // GetClusterRoleBindingByLabel indicates an expected call of GetClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleBindingByLabel), arg0) } @@ -1242,7 +1246,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleBindingByLabelAndName(arg0, arg1 s } // GetClusterRoleBindingByLabelAndName indicates an expected call of GetClusterRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleBindingByLabelAndName), arg0, arg1) } @@ -1259,7 +1263,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleBindingInformation(arg0, arg1 stri } // GetClusterRoleBindingInformation indicates an expected call of GetClusterRoleBindingInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleBindingInformation), arg0, arg1, arg2) } @@ -1274,7 +1278,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleBindingsByLabel(arg0 string) ([]v1 } // GetClusterRoleBindingsByLabel indicates an expected call of GetClusterRoleBindingsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleBindingsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleBindingsByLabel), arg0) } @@ -1289,7 +1293,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleByLabel(arg0 string) (*v13.Cluster } // GetClusterRoleByLabel indicates an expected call of GetClusterRoleByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleByLabel), arg0) } @@ -1304,7 +1308,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleByLabelAndName(arg0, arg1 string) } // GetClusterRoleByLabelAndName indicates an expected call of GetClusterRoleByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleByLabelAndName), arg0, arg1) } @@ -1321,7 +1325,7 @@ func (m *MockExtendedK8sClient) GetClusterRoleInformation(arg0, arg1 string, arg } // GetClusterRoleInformation indicates an expected call of GetClusterRoleInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRoleInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRoleInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRoleInformation), arg0, arg1, arg2) } @@ -1336,7 +1340,7 @@ func (m *MockExtendedK8sClient) GetClusterRolesByLabel(arg0 string) ([]v13.Clust } // GetClusterRolesByLabel indicates an expected call of GetClusterRolesByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetClusterRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetClusterRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterRolesByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetClusterRolesByLabel), arg0) } @@ -1351,7 +1355,7 @@ func (m *MockExtendedK8sClient) GetDaemonSetByLabel(arg0 string, arg1 bool) (*v1 } // GetDaemonSetByLabel indicates an expected call of GetDaemonSetByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDaemonSetByLabel), arg0, arg1) } @@ -1366,7 +1370,7 @@ func (m *MockExtendedK8sClient) GetDaemonSetByLabelAndName(arg0, arg1 string, ar } // GetDaemonSetByLabelAndName indicates an expected call of GetDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDaemonSetByLabelAndName), arg0, arg1, arg2) } @@ -1383,7 +1387,7 @@ func (m *MockExtendedK8sClient) GetDaemonSetInformation(arg0, arg1 string, arg2 } // GetDaemonSetInformation indicates an expected call of GetDaemonSetInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDaemonSetInformation), arg0, arg1, arg2) } @@ -1398,7 +1402,7 @@ func (m *MockExtendedK8sClient) GetDaemonSetsByLabel(arg0 string, arg1 bool) ([] } // GetDaemonSetsByLabel indicates an expected call of GetDaemonSetsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDaemonSetsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDaemonSetsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDaemonSetsByLabel), arg0, arg1) } @@ -1413,7 +1417,7 @@ func (m *MockExtendedK8sClient) GetDeploymentByLabel(arg0 string, arg1 bool) (*v } // GetDeploymentByLabel indicates an expected call of GetDeploymentByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDeploymentByLabel), arg0, arg1) } @@ -1430,7 +1434,7 @@ func (m *MockExtendedK8sClient) GetDeploymentInformation(arg0, arg1, arg2 string } // GetDeploymentInformation indicates an expected call of GetDeploymentInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDeploymentInformation), arg0, arg1, arg2) } @@ -1445,7 +1449,7 @@ func (m *MockExtendedK8sClient) GetDeploymentsByLabel(arg0 string, arg1 bool) ([ } // GetDeploymentsByLabel indicates an expected call of GetDeploymentsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetDeploymentsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetDeploymentsByLabel), arg0, arg1) } @@ -1462,7 +1466,7 @@ func (m *MockExtendedK8sClient) GetMultiplePodSecurityPolicyInformation(arg0 []s } // GetMultiplePodSecurityPolicyInformation indicates an expected call of GetMultiplePodSecurityPolicyInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetMultiplePodSecurityPolicyInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetMultiplePodSecurityPolicyInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultiplePodSecurityPolicyInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetMultiplePodSecurityPolicyInformation), arg0, arg1, arg2) } @@ -1479,7 +1483,7 @@ func (m *MockExtendedK8sClient) GetMultipleRoleBindingInformation(arg0 []string, } // GetMultipleRoleBindingInformation indicates an expected call of GetMultipleRoleBindingInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetMultipleRoleBindingInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetMultipleRoleBindingInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipleRoleBindingInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetMultipleRoleBindingInformation), arg0, arg1, arg2) } @@ -1496,7 +1500,7 @@ func (m *MockExtendedK8sClient) GetMultipleRoleInformation(arg0 []string, arg1 s } // GetMultipleRoleInformation indicates an expected call of GetMultipleRoleInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetMultipleRoleInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetMultipleRoleInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipleRoleInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetMultipleRoleInformation), arg0, arg1, arg2) } @@ -1514,7 +1518,7 @@ func (m *MockExtendedK8sClient) GetMultipleServiceAccountInformation(arg0 []stri } // GetMultipleServiceAccountInformation indicates an expected call of GetMultipleServiceAccountInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetMultipleServiceAccountInformation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetMultipleServiceAccountInformation(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipleServiceAccountInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetMultipleServiceAccountInformation), arg0, arg1, arg2, arg3) } @@ -1531,7 +1535,7 @@ func (m *MockExtendedK8sClient) GetMultipleTridentOpenShiftSCCInformation(arg0, } // GetMultipleTridentOpenShiftSCCInformation indicates an expected call of GetMultipleTridentOpenShiftSCCInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetMultipleTridentOpenShiftSCCInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetMultipleTridentOpenShiftSCCInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipleTridentOpenShiftSCCInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetMultipleTridentOpenShiftSCCInformation), arg0, arg1, arg2) } @@ -1546,7 +1550,7 @@ func (m *MockExtendedK8sClient) GetNamespace(arg0 string) (*v12.Namespace, error } // GetNamespace indicates an expected call of GetNamespace. -func (mr *MockExtendedK8sClientMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetNamespace), arg0) } @@ -1563,7 +1567,7 @@ func (m *MockExtendedK8sClient) GetOpenShiftSCCByName(arg0, arg1 string) (bool, } // GetOpenShiftSCCByName indicates an expected call of GetOpenShiftSCCByName. -func (mr *MockExtendedK8sClientMockRecorder) GetOpenShiftSCCByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetOpenShiftSCCByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOpenShiftSCCByName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetOpenShiftSCCByName), arg0, arg1) } @@ -1578,7 +1582,7 @@ func (m *MockExtendedK8sClient) GetPersistentVolumeClaims(arg0 bool) ([]v12.Pers } // GetPersistentVolumeClaims indicates an expected call of GetPersistentVolumeClaims. -func (mr *MockExtendedK8sClientMockRecorder) GetPersistentVolumeClaims(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetPersistentVolumeClaims(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPersistentVolumeClaims", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetPersistentVolumeClaims), arg0) } @@ -1608,7 +1612,7 @@ func (m *MockExtendedK8sClient) GetPodByLabel(arg0 string, arg1 bool) (*v12.Pod, } // GetPodByLabel indicates an expected call of GetPodByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetPodByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetPodByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetPodByLabel), arg0, arg1) } @@ -1623,7 +1627,7 @@ func (m *MockExtendedK8sClient) GetPodSecurityPoliciesByLabel(arg0 string) ([]v1 } // GetPodSecurityPoliciesByLabel indicates an expected call of GetPodSecurityPoliciesByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetPodSecurityPoliciesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetPodSecurityPoliciesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPoliciesByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetPodSecurityPoliciesByLabel), arg0) } @@ -1638,7 +1642,7 @@ func (m *MockExtendedK8sClient) GetPodSecurityPolicyByLabel(arg0 string) (*v1bet } // GetPodSecurityPolicyByLabel indicates an expected call of GetPodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetPodSecurityPolicyByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetPodSecurityPolicyByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetPodSecurityPolicyByLabel), arg0) } @@ -1653,7 +1657,7 @@ func (m *MockExtendedK8sClient) GetPodsByLabel(arg0 string, arg1 bool) ([]v12.Po } // GetPodsByLabel indicates an expected call of GetPodsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetPodsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetPodsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetPodsByLabel), arg0, arg1) } @@ -1668,7 +1672,7 @@ func (m *MockExtendedK8sClient) GetResourceQuota(arg0 string) (*v12.ResourceQuot } // GetResourceQuota indicates an expected call of GetResourceQuota. -func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuota(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuota(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuota", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetResourceQuota), arg0) } @@ -1683,7 +1687,7 @@ func (m *MockExtendedK8sClient) GetResourceQuotaByLabel(arg0 string) (*v12.Resou } // GetResourceQuotaByLabel indicates an expected call of GetResourceQuotaByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotaByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotaByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetResourceQuotaByLabel), arg0) } @@ -1700,7 +1704,7 @@ func (m *MockExtendedK8sClient) GetResourceQuotaInformation(arg0, arg1, arg2 str } // GetResourceQuotaInformation indicates an expected call of GetResourceQuotaInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotaInformation(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotaInformation(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotaInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetResourceQuotaInformation), arg0, arg1, arg2) } @@ -1715,7 +1719,7 @@ func (m *MockExtendedK8sClient) GetResourceQuotasByLabel(arg0 string) ([]v12.Res } // GetResourceQuotasByLabel indicates an expected call of GetResourceQuotasByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotasByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetResourceQuotasByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceQuotasByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetResourceQuotasByLabel), arg0) } @@ -1730,7 +1734,7 @@ func (m *MockExtendedK8sClient) GetRoleBindingByLabelAndName(arg0, arg1 string) } // GetRoleBindingByLabelAndName indicates an expected call of GetRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetRoleBindingByLabelAndName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetRoleBindingByLabelAndName), arg0, arg1) } @@ -1745,7 +1749,7 @@ func (m *MockExtendedK8sClient) GetRoleBindingsByLabel(arg0 string) ([]v13.RoleB } // GetRoleBindingsByLabel indicates an expected call of GetRoleBindingsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetRoleBindingsByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetRoleBindingsByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleBindingsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetRoleBindingsByLabel), arg0) } @@ -1760,7 +1764,7 @@ func (m *MockExtendedK8sClient) GetRolesByLabel(arg0 string) ([]v13.Role, error) } // GetRolesByLabel indicates an expected call of GetRolesByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetRolesByLabel(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetRolesByLabel(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRolesByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetRolesByLabel), arg0) } @@ -1775,7 +1779,7 @@ func (m *MockExtendedK8sClient) GetSecret(arg0 string) (*v12.Secret, error) { } // GetSecret indicates an expected call of GetSecret. -func (mr *MockExtendedK8sClientMockRecorder) GetSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetSecret), arg0) } @@ -1790,7 +1794,7 @@ func (m *MockExtendedK8sClient) GetSecretByLabel(arg0 string, arg1 bool) (*v12.S } // GetSecretByLabel indicates an expected call of GetSecretByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetSecretByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetSecretByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetSecretByLabel), arg0, arg1) } @@ -1807,7 +1811,7 @@ func (m *MockExtendedK8sClient) GetSecretInformation(arg0, arg1, arg2 string, ar } // GetSecretInformation indicates an expected call of GetSecretInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetSecretInformation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetSecretInformation(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetSecretInformation), arg0, arg1, arg2, arg3) } @@ -1822,7 +1826,7 @@ func (m *MockExtendedK8sClient) GetSecretsByLabel(arg0 string, arg1 bool) ([]v12 } // GetSecretsByLabel indicates an expected call of GetSecretsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetSecretsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetSecretsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetSecretsByLabel), arg0, arg1) } @@ -1837,7 +1841,7 @@ func (m *MockExtendedK8sClient) GetServiceAccountByLabel(arg0 string, arg1 bool) } // GetServiceAccountByLabel indicates an expected call of GetServiceAccountByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServiceAccountByLabel), arg0, arg1) } @@ -1852,7 +1856,7 @@ func (m *MockExtendedK8sClient) GetServiceAccountByLabelAndName(arg0, arg1 strin } // GetServiceAccountByLabelAndName indicates an expected call of GetServiceAccountByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountByLabelAndName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServiceAccountByLabelAndName), arg0, arg1, arg2) } @@ -1867,7 +1871,7 @@ func (m *MockExtendedK8sClient) GetServiceAccountsByLabel(arg0 string, arg1 bool } // GetServiceAccountsByLabel indicates an expected call of GetServiceAccountsByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountsByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServiceAccountsByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccountsByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServiceAccountsByLabel), arg0, arg1) } @@ -1882,7 +1886,7 @@ func (m *MockExtendedK8sClient) GetServiceByLabel(arg0 string, arg1 bool) (*v12. } // GetServiceByLabel indicates an expected call of GetServiceByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetServiceByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServiceByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServiceByLabel), arg0, arg1) } @@ -1899,7 +1903,7 @@ func (m *MockExtendedK8sClient) GetServiceInformation(arg0, arg1, arg2 string, a } // GetServiceInformation indicates an expected call of GetServiceInformation. -func (mr *MockExtendedK8sClientMockRecorder) GetServiceInformation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServiceInformation(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceInformation", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServiceInformation), arg0, arg1, arg2, arg3) } @@ -1914,7 +1918,7 @@ func (m *MockExtendedK8sClient) GetServicesByLabel(arg0 string, arg1 bool) ([]v1 } // GetServicesByLabel indicates an expected call of GetServicesByLabel. -func (mr *MockExtendedK8sClientMockRecorder) GetServicesByLabel(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetServicesByLabel(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServicesByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetServicesByLabel), arg0, arg1) } @@ -1959,7 +1963,7 @@ func (m *MockExtendedK8sClient) GetVolumeSnapshots(arg0 bool) ([]v1.VolumeSnapsh } // GetVolumeSnapshots indicates an expected call of GetVolumeSnapshots. -func (mr *MockExtendedK8sClientMockRecorder) GetVolumeSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) GetVolumeSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeSnapshots", reflect.TypeOf((*MockExtendedK8sClient)(nil).GetVolumeSnapshots), arg0) } @@ -1987,7 +1991,7 @@ func (m *MockExtendedK8sClient) PatchCRD(arg0 string, arg1 []byte, arg2 types.Pa } // PatchCRD indicates an expected call of PatchCRD. -func (mr *MockExtendedK8sClientMockRecorder) PatchCRD(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchCRD(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCRD", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchCRD), arg0, arg1, arg2) } @@ -2001,7 +2005,7 @@ func (m *MockExtendedK8sClient) PatchCSIDriverByLabel(arg0 string, arg1 []byte, } // PatchCSIDriverByLabel indicates an expected call of PatchCSIDriverByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchCSIDriverByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCSIDriverByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchCSIDriverByLabel), arg0, arg1, arg2) } @@ -2015,7 +2019,7 @@ func (m *MockExtendedK8sClient) PatchClusterRoleBindingByLabel(arg0 string, arg1 } // PatchClusterRoleBindingByLabel indicates an expected call of PatchClusterRoleBindingByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleBindingByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchClusterRoleBindingByLabel), arg0, arg1, arg2) } @@ -2029,7 +2033,7 @@ func (m *MockExtendedK8sClient) PatchClusterRoleBindingByLabelAndName(arg0, arg1 } // PatchClusterRoleBindingByLabelAndName indicates an expected call of PatchClusterRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchClusterRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2043,7 +2047,7 @@ func (m *MockExtendedK8sClient) PatchClusterRoleByLabel(arg0 string, arg1 []byte } // PatchClusterRoleByLabel indicates an expected call of PatchClusterRoleByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchClusterRoleByLabel), arg0, arg1, arg2) } @@ -2057,7 +2061,7 @@ func (m *MockExtendedK8sClient) PatchClusterRoleByLabelAndName(arg0, arg1 string } // PatchClusterRoleByLabelAndName indicates an expected call of PatchClusterRoleByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchClusterRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchClusterRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchClusterRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2071,7 +2075,7 @@ func (m *MockExtendedK8sClient) PatchDaemonSetByLabel(arg0 string, arg1 []byte, } // PatchDaemonSetByLabel indicates an expected call of PatchDaemonSetByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchDaemonSetByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchDaemonSetByLabel), arg0, arg1, arg2) } @@ -2085,7 +2089,7 @@ func (m *MockExtendedK8sClient) PatchDaemonSetByLabelAndName(arg0, arg1 string, } // PatchDaemonSetByLabelAndName indicates an expected call of PatchDaemonSetByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchDaemonSetByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDaemonSetByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchDaemonSetByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2099,7 +2103,7 @@ func (m *MockExtendedK8sClient) PatchDeploymentByLabel(arg0 string, arg1 []byte, } // PatchDeploymentByLabel indicates an expected call of PatchDeploymentByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchDeploymentByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDeploymentByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchDeploymentByLabel), arg0, arg1, arg2) } @@ -2113,7 +2117,7 @@ func (m *MockExtendedK8sClient) PatchNamespace(arg0 string, arg1 []byte, arg2 ty } // PatchNamespace indicates an expected call of PatchNamespace. -func (mr *MockExtendedK8sClientMockRecorder) PatchNamespace(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchNamespace(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespace", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchNamespace), arg0, arg1, arg2) } @@ -2127,7 +2131,7 @@ func (m *MockExtendedK8sClient) PatchNamespaceLabels(arg0 string, arg1 map[strin } // PatchNamespaceLabels indicates an expected call of PatchNamespaceLabels. -func (mr *MockExtendedK8sClientMockRecorder) PatchNamespaceLabels(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchNamespaceLabels(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchNamespaceLabels", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchNamespaceLabels), arg0, arg1) } @@ -2141,7 +2145,7 @@ func (m *MockExtendedK8sClient) PatchOpenShiftSCC(arg0 []byte) error { } // PatchOpenShiftSCC indicates an expected call of PatchOpenShiftSCC. -func (mr *MockExtendedK8sClientMockRecorder) PatchOpenShiftSCC(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchOpenShiftSCC(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchOpenShiftSCC), arg0) } @@ -2155,7 +2159,7 @@ func (m *MockExtendedK8sClient) PatchPodSecurityPolicyByLabel(arg0 string, arg1 } // PatchPodSecurityPolicyByLabel indicates an expected call of PatchPodSecurityPolicyByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchPodSecurityPolicyByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchPodSecurityPolicyByLabel), arg0, arg1, arg2) } @@ -2169,7 +2173,7 @@ func (m *MockExtendedK8sClient) PatchPodSecurityPolicyByLabelAndName(arg0, arg1 } // PatchPodSecurityPolicyByLabelAndName indicates an expected call of PatchPodSecurityPolicyByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchPodSecurityPolicyByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchPodSecurityPolicyByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchPodSecurityPolicyByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2183,7 +2187,7 @@ func (m *MockExtendedK8sClient) PatchResourceQuotaByLabel(arg0 string, arg1 []by } // PatchResourceQuotaByLabel indicates an expected call of PatchResourceQuotaByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchResourceQuotaByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchResourceQuotaByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchResourceQuotaByLabel), arg0, arg1, arg2) } @@ -2197,7 +2201,7 @@ func (m *MockExtendedK8sClient) PatchRoleBindingByLabelAndName(arg0, arg1 string } // PatchRoleBindingByLabelAndName indicates an expected call of PatchRoleBindingByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchRoleBindingByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleBindingByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchRoleBindingByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2211,7 +2215,7 @@ func (m *MockExtendedK8sClient) PatchRoleByLabelAndName(arg0, arg1 string, arg2 } // PatchRoleByLabelAndName indicates an expected call of PatchRoleByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchRoleByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchRoleByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchRoleByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2225,7 +2229,7 @@ func (m *MockExtendedK8sClient) PatchSecretByLabel(arg0 string, arg1 []byte, arg } // PatchSecretByLabel indicates an expected call of PatchSecretByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchSecretByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchSecretByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchSecretByLabel), arg0, arg1, arg2) } @@ -2239,7 +2243,7 @@ func (m *MockExtendedK8sClient) PatchServiceAccountByLabel(arg0 string, arg1 []b } // PatchServiceAccountByLabel indicates an expected call of PatchServiceAccountByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchServiceAccountByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchServiceAccountByLabel), arg0, arg1, arg2) } @@ -2253,7 +2257,7 @@ func (m *MockExtendedK8sClient) PatchServiceAccountByLabelAndName(arg0, arg1 str } // PatchServiceAccountByLabelAndName indicates an expected call of PatchServiceAccountByLabelAndName. -func (mr *MockExtendedK8sClientMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchServiceAccountByLabelAndName(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceAccountByLabelAndName", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchServiceAccountByLabelAndName), arg0, arg1, arg2, arg3) } @@ -2267,7 +2271,7 @@ func (m *MockExtendedK8sClient) PatchServiceByLabel(arg0 string, arg1 []byte, ar } // PatchServiceByLabel indicates an expected call of PatchServiceByLabel. -func (mr *MockExtendedK8sClientMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PatchServiceByLabel(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchServiceByLabel", reflect.TypeOf((*MockExtendedK8sClient)(nil).PatchServiceByLabel), arg0, arg1, arg2) } @@ -2281,7 +2285,7 @@ func (m *MockExtendedK8sClient) PutCSIDriver(arg0 *v14.CSIDriver, arg1 bool, arg } // PutCSIDriver indicates an expected call of PutCSIDriver. -func (mr *MockExtendedK8sClientMockRecorder) PutCSIDriver(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutCSIDriver(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutCSIDriver", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutCSIDriver), arg0, arg1, arg2, arg3) } @@ -2295,7 +2299,7 @@ func (m *MockExtendedK8sClient) PutClusterRole(arg0 *v13.ClusterRole, arg1 bool, } // PutClusterRole indicates an expected call of PutClusterRole. -func (mr *MockExtendedK8sClientMockRecorder) PutClusterRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutClusterRole(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutClusterRole", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutClusterRole), arg0, arg1, arg2, arg3) } @@ -2309,7 +2313,7 @@ func (m *MockExtendedK8sClient) PutClusterRoleBinding(arg0 *v13.ClusterRoleBindi } // PutClusterRoleBinding indicates an expected call of PutClusterRoleBinding. -func (mr *MockExtendedK8sClientMockRecorder) PutClusterRoleBinding(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutClusterRoleBinding(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutClusterRoleBinding", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutClusterRoleBinding), arg0, arg1, arg2, arg3) } @@ -2323,7 +2327,7 @@ func (m *MockExtendedK8sClient) PutCustomResourceDefinition(arg0 *v15.CustomReso } // PutCustomResourceDefinition indicates an expected call of PutCustomResourceDefinition. -func (mr *MockExtendedK8sClientMockRecorder) PutCustomResourceDefinition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutCustomResourceDefinition(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutCustomResourceDefinition", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutCustomResourceDefinition), arg0, arg1, arg2, arg3) } @@ -2337,7 +2341,7 @@ func (m *MockExtendedK8sClient) PutDaemonSet(arg0 *v11.DaemonSet, arg1 bool, arg } // PutDaemonSet indicates an expected call of PutDaemonSet. -func (mr *MockExtendedK8sClientMockRecorder) PutDaemonSet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutDaemonSet(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDaemonSet", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutDaemonSet), arg0, arg1, arg2, arg3, arg4) } @@ -2351,7 +2355,7 @@ func (m *MockExtendedK8sClient) PutDeployment(arg0 *v11.Deployment, arg1 bool, a } // PutDeployment indicates an expected call of PutDeployment. -func (mr *MockExtendedK8sClientMockRecorder) PutDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutDeployment(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDeployment", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutDeployment), arg0, arg1, arg2, arg3) } @@ -2365,7 +2369,7 @@ func (m *MockExtendedK8sClient) PutOpenShiftSCC(arg0 []byte, arg1 bool, arg2 str } // PutOpenShiftSCC indicates an expected call of PutOpenShiftSCC. -func (mr *MockExtendedK8sClientMockRecorder) PutOpenShiftSCC(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutOpenShiftSCC(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutOpenShiftSCC), arg0, arg1, arg2) } @@ -2379,7 +2383,7 @@ func (m *MockExtendedK8sClient) PutPodSecurityPolicy(arg0 *v1beta1.PodSecurityPo } // PutPodSecurityPolicy indicates an expected call of PutPodSecurityPolicy. -func (mr *MockExtendedK8sClientMockRecorder) PutPodSecurityPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutPodSecurityPolicy(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPodSecurityPolicy", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutPodSecurityPolicy), arg0, arg1, arg2, arg3) } @@ -2393,7 +2397,7 @@ func (m *MockExtendedK8sClient) PutResourceQuota(arg0 *v12.ResourceQuota, arg1 b } // PutResourceQuota indicates an expected call of PutResourceQuota. -func (mr *MockExtendedK8sClientMockRecorder) PutResourceQuota(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutResourceQuota(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutResourceQuota", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutResourceQuota), arg0, arg1, arg2, arg3) } @@ -2407,7 +2411,7 @@ func (m *MockExtendedK8sClient) PutRole(arg0 *v13.Role, arg1 bool, arg2, arg3 st } // PutRole indicates an expected call of PutRole. -func (mr *MockExtendedK8sClientMockRecorder) PutRole(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutRole(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutRole", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutRole), arg0, arg1, arg2, arg3) } @@ -2421,7 +2425,7 @@ func (m *MockExtendedK8sClient) PutRoleBinding(arg0 *v13.RoleBinding, arg1 bool, } // PutRoleBinding indicates an expected call of PutRoleBinding. -func (mr *MockExtendedK8sClientMockRecorder) PutRoleBinding(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutRoleBinding(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutRoleBinding", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutRoleBinding), arg0, arg1, arg2, arg3) } @@ -2435,7 +2439,7 @@ func (m *MockExtendedK8sClient) PutSecret(arg0 bool, arg1, arg2 string) error { } // PutSecret indicates an expected call of PutSecret. -func (mr *MockExtendedK8sClientMockRecorder) PutSecret(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutSecret(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutSecret), arg0, arg1, arg2) } @@ -2449,7 +2453,7 @@ func (m *MockExtendedK8sClient) PutService(arg0 *v12.Service, arg1 bool, arg2, a } // PutService indicates an expected call of PutService. -func (mr *MockExtendedK8sClientMockRecorder) PutService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutService(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutService", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutService), arg0, arg1, arg2, arg3) } @@ -2464,7 +2468,7 @@ func (m *MockExtendedK8sClient) PutServiceAccount(arg0 *v12.ServiceAccount, arg1 } // PutServiceAccount indicates an expected call of PutServiceAccount. -func (mr *MockExtendedK8sClientMockRecorder) PutServiceAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) PutServiceAccount(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutServiceAccount", reflect.TypeOf((*MockExtendedK8sClient)(nil).PutServiceAccount), arg0, arg1, arg2, arg3) } @@ -2478,7 +2482,7 @@ func (m *MockExtendedK8sClient) RemoveFinalizerFromCRD(arg0 string) error { } // RemoveFinalizerFromCRD indicates an expected call of RemoveFinalizerFromCRD. -func (mr *MockExtendedK8sClientMockRecorder) RemoveFinalizerFromCRD(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveFinalizerFromCRD(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveFinalizerFromCRD", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveFinalizerFromCRD), arg0) } @@ -2492,7 +2496,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleCSIDriverCRs(arg0 []v14.CSIDriver) } // RemoveMultipleCSIDriverCRs indicates an expected call of RemoveMultipleCSIDriverCRs. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleCSIDriverCRs(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleCSIDriverCRs(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleCSIDriverCRs", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleCSIDriverCRs), arg0) } @@ -2506,7 +2510,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleClusterRoleBindings(arg0 []v13.Clu } // RemoveMultipleClusterRoleBindings indicates an expected call of RemoveMultipleClusterRoleBindings. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleClusterRoleBindings(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleClusterRoleBindings(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleClusterRoleBindings", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleClusterRoleBindings), arg0) } @@ -2520,7 +2524,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleClusterRoles(arg0 []v13.ClusterRol } // RemoveMultipleClusterRoles indicates an expected call of RemoveMultipleClusterRoles. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleClusterRoles(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleClusterRoles(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleClusterRoles", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleClusterRoles), arg0) } @@ -2534,7 +2538,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleDaemonSets(arg0 []v11.DaemonSet) e } // RemoveMultipleDaemonSets indicates an expected call of RemoveMultipleDaemonSets. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleDaemonSets(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleDaemonSets(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleDaemonSets", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleDaemonSets), arg0) } @@ -2548,7 +2552,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleDeployments(arg0 []v11.Deployment) } // RemoveMultipleDeployments indicates an expected call of RemoveMultipleDeployments. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleDeployments(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleDeployments(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleDeployments", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleDeployments), arg0) } @@ -2562,7 +2566,7 @@ func (m *MockExtendedK8sClient) RemoveMultiplePodSecurityPolicies(arg0 []v1beta1 } // RemoveMultiplePodSecurityPolicies indicates an expected call of RemoveMultiplePodSecurityPolicies. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultiplePodSecurityPolicies(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultiplePodSecurityPolicies(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultiplePodSecurityPolicies", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultiplePodSecurityPolicies), arg0) } @@ -2576,7 +2580,7 @@ func (m *MockExtendedK8sClient) RemoveMultiplePods(arg0 []v12.Pod) error { } // RemoveMultiplePods indicates an expected call of RemoveMultiplePods. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultiplePods(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultiplePods(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultiplePods", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultiplePods), arg0) } @@ -2590,7 +2594,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleResourceQuotas(arg0 []v12.Resource } // RemoveMultipleResourceQuotas indicates an expected call of RemoveMultipleResourceQuotas. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleResourceQuotas(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleResourceQuotas(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleResourceQuotas", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleResourceQuotas), arg0) } @@ -2604,7 +2608,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleRoleBindings(arg0 []v13.RoleBindin } // RemoveMultipleRoleBindings indicates an expected call of RemoveMultipleRoleBindings. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleRoleBindings(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleRoleBindings(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleRoleBindings", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleRoleBindings), arg0) } @@ -2618,7 +2622,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleRoles(arg0 []v13.Role) error { } // RemoveMultipleRoles indicates an expected call of RemoveMultipleRoles. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleRoles(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleRoles(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleRoles", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleRoles), arg0) } @@ -2632,7 +2636,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleSecrets(arg0 []v12.Secret) error { } // RemoveMultipleSecrets indicates an expected call of RemoveMultipleSecrets. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleSecrets(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleSecrets(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleSecrets", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleSecrets), arg0) } @@ -2646,7 +2650,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleServiceAccounts(arg0 []v12.Service } // RemoveMultipleServiceAccounts indicates an expected call of RemoveMultipleServiceAccounts. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleServiceAccounts(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleServiceAccounts(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleServiceAccounts", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleServiceAccounts), arg0) } @@ -2660,7 +2664,7 @@ func (m *MockExtendedK8sClient) RemoveMultipleServices(arg0 []v12.Service) error } // RemoveMultipleServices indicates an expected call of RemoveMultipleServices. -func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleServices(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveMultipleServices(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMultipleServices", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveMultipleServices), arg0) } @@ -2674,7 +2678,7 @@ func (m *MockExtendedK8sClient) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 str } // RemoveTridentUserFromOpenShiftSCC indicates an expected call of RemoveTridentUserFromOpenShiftSCC. -func (mr *MockExtendedK8sClientMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) RemoveTridentUserFromOpenShiftSCC(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveTridentUserFromOpenShiftSCC", reflect.TypeOf((*MockExtendedK8sClient)(nil).RemoveTridentUserFromOpenShiftSCC), arg0, arg1) } @@ -2700,7 +2704,7 @@ func (m *MockExtendedK8sClient) SetNamespace(arg0 string) { } // SetNamespace indicates an expected call of SetNamespace. -func (mr *MockExtendedK8sClientMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) SetNamespace(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespace", reflect.TypeOf((*MockExtendedK8sClient)(nil).SetNamespace), arg0) } @@ -2712,7 +2716,7 @@ func (m *MockExtendedK8sClient) SetTimeout(arg0 time.Duration) { } // SetTimeout indicates an expected call of SetTimeout. -func (mr *MockExtendedK8sClientMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) SetTimeout(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTimeout", reflect.TypeOf((*MockExtendedK8sClient)(nil).SetTimeout), arg0) } @@ -2727,7 +2731,7 @@ func (m *MockExtendedK8sClient) UpdateSecret(arg0 *v12.Secret) (*v12.Secret, err } // UpdateSecret indicates an expected call of UpdateSecret. -func (mr *MockExtendedK8sClientMockRecorder) UpdateSecret(arg0 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) UpdateSecret(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSecret", reflect.TypeOf((*MockExtendedK8sClient)(nil).UpdateSecret), arg0) } @@ -2755,7 +2759,7 @@ func (m *MockExtendedK8sClient) WaitForCRDEstablished(arg0 string, arg1 time.Dur } // WaitForCRDEstablished indicates an expected call of WaitForCRDEstablished. -func (mr *MockExtendedK8sClientMockRecorder) WaitForCRDEstablished(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockExtendedK8sClientMockRecorder) WaitForCRDEstablished(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForCRDEstablished", reflect.TypeOf((*MockExtendedK8sClient)(nil).WaitForCRDEstablished), arg0, arg1) } diff --git a/mocks/mock_persistent_store/mock_persistent_store.go b/mocks/mock_persistent_store/mock_persistent_store.go index 38da67cfe..70620867d 100644 --- a/mocks/mock_persistent_store/mock_persistent_store.go +++ b/mocks/mock_persistent_store/mock_persistent_store.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/persistent_store (interfaces: Client) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_persistent_store/mock_persistent_store.go -mock_names Client=MockStoreClient github.com/netapp/trident/persistent_store Client +// // Package mock_persistent_store is a generated GoMock package. package mock_persistent_store @@ -8,13 +13,12 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - config "github.com/netapp/trident/config" persistentstore "github.com/netapp/trident/persistent_store" storage "github.com/netapp/trident/storage" storageclass "github.com/netapp/trident/storage_class" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockStoreClient is a mock of Client interface. @@ -49,7 +53,7 @@ func (m *MockStoreClient) AddBackend(arg0 context.Context, arg1 storage.Backend) } // AddBackend indicates an expected call of AddBackend. -func (mr *MockStoreClientMockRecorder) AddBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddBackend", reflect.TypeOf((*MockStoreClient)(nil).AddBackend), arg0, arg1) } @@ -63,7 +67,7 @@ func (m *MockStoreClient) AddOrUpdateNode(arg0 context.Context, arg1 *models.Nod } // AddOrUpdateNode indicates an expected call of AddOrUpdateNode. -func (mr *MockStoreClientMockRecorder) AddOrUpdateNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddOrUpdateNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddOrUpdateNode", reflect.TypeOf((*MockStoreClient)(nil).AddOrUpdateNode), arg0, arg1) } @@ -77,7 +81,7 @@ func (m *MockStoreClient) AddSnapshot(arg0 context.Context, arg1 *storage.Snapsh } // AddSnapshot indicates an expected call of AddSnapshot. -func (mr *MockStoreClientMockRecorder) AddSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSnapshot", reflect.TypeOf((*MockStoreClient)(nil).AddSnapshot), arg0, arg1) } @@ -91,7 +95,7 @@ func (m *MockStoreClient) AddStorageClass(arg0 context.Context, arg1 *storagecla } // AddStorageClass indicates an expected call of AddStorageClass. -func (mr *MockStoreClientMockRecorder) AddStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddStorageClass", reflect.TypeOf((*MockStoreClient)(nil).AddStorageClass), arg0, arg1) } @@ -105,7 +109,7 @@ func (m *MockStoreClient) AddVolume(arg0 context.Context, arg1 *storage.Volume) } // AddVolume indicates an expected call of AddVolume. -func (mr *MockStoreClientMockRecorder) AddVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolume", reflect.TypeOf((*MockStoreClient)(nil).AddVolume), arg0, arg1) } @@ -119,7 +123,7 @@ func (m *MockStoreClient) AddVolumePublication(arg0 context.Context, arg1 *model } // AddVolumePublication indicates an expected call of AddVolumePublication. -func (mr *MockStoreClientMockRecorder) AddVolumePublication(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddVolumePublication(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolumePublication", reflect.TypeOf((*MockStoreClient)(nil).AddVolumePublication), arg0, arg1) } @@ -133,7 +137,7 @@ func (m *MockStoreClient) AddVolumeTransaction(arg0 context.Context, arg1 *stora } // AddVolumeTransaction indicates an expected call of AddVolumeTransaction. -func (mr *MockStoreClientMockRecorder) AddVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) AddVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolumeTransaction", reflect.TypeOf((*MockStoreClient)(nil).AddVolumeTransaction), arg0, arg1) } @@ -147,7 +151,7 @@ func (m *MockStoreClient) DeleteBackend(arg0 context.Context, arg1 storage.Backe } // DeleteBackend indicates an expected call of DeleteBackend. -func (mr *MockStoreClientMockRecorder) DeleteBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBackend", reflect.TypeOf((*MockStoreClient)(nil).DeleteBackend), arg0, arg1) } @@ -161,7 +165,7 @@ func (m *MockStoreClient) DeleteBackends(arg0 context.Context) error { } // DeleteBackends indicates an expected call of DeleteBackends. -func (mr *MockStoreClientMockRecorder) DeleteBackends(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteBackends(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBackends", reflect.TypeOf((*MockStoreClient)(nil).DeleteBackends), arg0) } @@ -175,7 +179,7 @@ func (m *MockStoreClient) DeleteNode(arg0 context.Context, arg1 *models.Node) er } // DeleteNode indicates an expected call of DeleteNode. -func (mr *MockStoreClientMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNode", reflect.TypeOf((*MockStoreClient)(nil).DeleteNode), arg0, arg1) } @@ -189,7 +193,7 @@ func (m *MockStoreClient) DeleteSnapshot(arg0 context.Context, arg1 *storage.Sna } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockStoreClientMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockStoreClient)(nil).DeleteSnapshot), arg0, arg1) } @@ -203,7 +207,7 @@ func (m *MockStoreClient) DeleteSnapshots(arg0 context.Context) error { } // DeleteSnapshots indicates an expected call of DeleteSnapshots. -func (mr *MockStoreClientMockRecorder) DeleteSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshots", reflect.TypeOf((*MockStoreClient)(nil).DeleteSnapshots), arg0) } @@ -217,7 +221,7 @@ func (m *MockStoreClient) DeleteStorageClass(arg0 context.Context, arg1 *storage } // DeleteStorageClass indicates an expected call of DeleteStorageClass. -func (mr *MockStoreClientMockRecorder) DeleteStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStorageClass", reflect.TypeOf((*MockStoreClient)(nil).DeleteStorageClass), arg0, arg1) } @@ -231,7 +235,7 @@ func (m *MockStoreClient) DeleteVolume(arg0 context.Context, arg1 *storage.Volum } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockStoreClientMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockStoreClient)(nil).DeleteVolume), arg0, arg1) } @@ -245,7 +249,7 @@ func (m *MockStoreClient) DeleteVolumePublication(arg0 context.Context, arg1 *mo } // DeleteVolumePublication indicates an expected call of DeleteVolumePublication. -func (mr *MockStoreClientMockRecorder) DeleteVolumePublication(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteVolumePublication(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumePublication", reflect.TypeOf((*MockStoreClient)(nil).DeleteVolumePublication), arg0, arg1) } @@ -259,7 +263,7 @@ func (m *MockStoreClient) DeleteVolumeTransaction(arg0 context.Context, arg1 *st } // DeleteVolumeTransaction indicates an expected call of DeleteVolumeTransaction. -func (mr *MockStoreClientMockRecorder) DeleteVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumeTransaction", reflect.TypeOf((*MockStoreClient)(nil).DeleteVolumeTransaction), arg0, arg1) } @@ -273,7 +277,7 @@ func (m *MockStoreClient) DeleteVolumes(arg0 context.Context) error { } // DeleteVolumes indicates an expected call of DeleteVolumes. -func (mr *MockStoreClientMockRecorder) DeleteVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) DeleteVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolumes", reflect.TypeOf((*MockStoreClient)(nil).DeleteVolumes), arg0) } @@ -288,7 +292,7 @@ func (m *MockStoreClient) GetBackend(arg0 context.Context, arg1 string) (*storag } // GetBackend indicates an expected call of GetBackend. -func (mr *MockStoreClientMockRecorder) GetBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackend", reflect.TypeOf((*MockStoreClient)(nil).GetBackend), arg0, arg1) } @@ -303,7 +307,7 @@ func (m *MockStoreClient) GetBackendSecret(arg0 context.Context, arg1 string) (m } // GetBackendSecret indicates an expected call of GetBackendSecret. -func (mr *MockStoreClientMockRecorder) GetBackendSecret(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetBackendSecret(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackendSecret", reflect.TypeOf((*MockStoreClient)(nil).GetBackendSecret), arg0, arg1) } @@ -318,7 +322,7 @@ func (m *MockStoreClient) GetBackends(arg0 context.Context) ([]*storage.BackendP } // GetBackends indicates an expected call of GetBackends. -func (mr *MockStoreClientMockRecorder) GetBackends(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetBackends(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackends", reflect.TypeOf((*MockStoreClient)(nil).GetBackends), arg0) } @@ -347,7 +351,7 @@ func (m *MockStoreClient) GetNode(arg0 context.Context, arg1 string) (*models.No } // GetNode indicates an expected call of GetNode. -func (mr *MockStoreClientMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetNode(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNode", reflect.TypeOf((*MockStoreClient)(nil).GetNode), arg0, arg1) } @@ -362,7 +366,7 @@ func (m *MockStoreClient) GetNodes(arg0 context.Context) ([]*models.Node, error) } // GetNodes indicates an expected call of GetNodes. -func (mr *MockStoreClientMockRecorder) GetNodes(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetNodes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodes", reflect.TypeOf((*MockStoreClient)(nil).GetNodes), arg0) } @@ -377,7 +381,7 @@ func (m *MockStoreClient) GetSnapshot(arg0 context.Context, arg1, arg2 string) ( } // GetSnapshot indicates an expected call of GetSnapshot. -func (mr *MockStoreClientMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshot", reflect.TypeOf((*MockStoreClient)(nil).GetSnapshot), arg0, arg1, arg2) } @@ -392,7 +396,7 @@ func (m *MockStoreClient) GetSnapshots(arg0 context.Context) ([]*storage.Snapsho } // GetSnapshots indicates an expected call of GetSnapshots. -func (mr *MockStoreClientMockRecorder) GetSnapshots(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetSnapshots(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshots", reflect.TypeOf((*MockStoreClient)(nil).GetSnapshots), arg0) } @@ -407,7 +411,7 @@ func (m *MockStoreClient) GetStorageClass(arg0 context.Context, arg1 string) (*s } // GetStorageClass indicates an expected call of GetStorageClass. -func (mr *MockStoreClientMockRecorder) GetStorageClass(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetStorageClass(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageClass", reflect.TypeOf((*MockStoreClient)(nil).GetStorageClass), arg0, arg1) } @@ -422,7 +426,7 @@ func (m *MockStoreClient) GetStorageClasses(arg0 context.Context) ([]*storagecla } // GetStorageClasses indicates an expected call of GetStorageClasses. -func (mr *MockStoreClientMockRecorder) GetStorageClasses(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetStorageClasses(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageClasses", reflect.TypeOf((*MockStoreClient)(nil).GetStorageClasses), arg0) } @@ -437,7 +441,7 @@ func (m *MockStoreClient) GetTridentUUID(arg0 context.Context) (string, error) { } // GetTridentUUID indicates an expected call of GetTridentUUID. -func (mr *MockStoreClientMockRecorder) GetTridentUUID(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetTridentUUID(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTridentUUID", reflect.TypeOf((*MockStoreClient)(nil).GetTridentUUID), arg0) } @@ -466,7 +470,7 @@ func (m *MockStoreClient) GetVersion(arg0 context.Context) (*config.PersistentSt } // GetVersion indicates an expected call of GetVersion. -func (mr *MockStoreClientMockRecorder) GetVersion(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVersion(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersion", reflect.TypeOf((*MockStoreClient)(nil).GetVersion), arg0) } @@ -481,7 +485,7 @@ func (m *MockStoreClient) GetVolume(arg0 context.Context, arg1 string) (*storage } // GetVolume indicates an expected call of GetVolume. -func (mr *MockStoreClientMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolume", reflect.TypeOf((*MockStoreClient)(nil).GetVolume), arg0, arg1) } @@ -496,7 +500,7 @@ func (m *MockStoreClient) GetVolumePublication(arg0 context.Context, arg1 string } // GetVolumePublication indicates an expected call of GetVolumePublication. -func (mr *MockStoreClientMockRecorder) GetVolumePublication(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolumePublication(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumePublication", reflect.TypeOf((*MockStoreClient)(nil).GetVolumePublication), arg0, arg1) } @@ -511,7 +515,7 @@ func (m *MockStoreClient) GetVolumePublications(arg0 context.Context) ([]*models } // GetVolumePublications indicates an expected call of GetVolumePublications. -func (mr *MockStoreClientMockRecorder) GetVolumePublications(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolumePublications(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumePublications", reflect.TypeOf((*MockStoreClient)(nil).GetVolumePublications), arg0) } @@ -526,7 +530,7 @@ func (m *MockStoreClient) GetVolumeTransaction(arg0 context.Context, arg1 *stora } // GetVolumeTransaction indicates an expected call of GetVolumeTransaction. -func (mr *MockStoreClientMockRecorder) GetVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeTransaction", reflect.TypeOf((*MockStoreClient)(nil).GetVolumeTransaction), arg0, arg1) } @@ -541,7 +545,7 @@ func (m *MockStoreClient) GetVolumeTransactions(arg0 context.Context) ([]*storag } // GetVolumeTransactions indicates an expected call of GetVolumeTransactions. -func (mr *MockStoreClientMockRecorder) GetVolumeTransactions(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolumeTransactions(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeTransactions", reflect.TypeOf((*MockStoreClient)(nil).GetVolumeTransactions), arg0) } @@ -556,7 +560,7 @@ func (m *MockStoreClient) GetVolumes(arg0 context.Context) ([]*storage.VolumeExt } // GetVolumes indicates an expected call of GetVolumes. -func (mr *MockStoreClientMockRecorder) GetVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) GetVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumes", reflect.TypeOf((*MockStoreClient)(nil).GetVolumes), arg0) } @@ -570,7 +574,7 @@ func (m *MockStoreClient) IsBackendDeleting(arg0 context.Context, arg1 storage.B } // IsBackendDeleting indicates an expected call of IsBackendDeleting. -func (mr *MockStoreClientMockRecorder) IsBackendDeleting(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) IsBackendDeleting(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsBackendDeleting", reflect.TypeOf((*MockStoreClient)(nil).IsBackendDeleting), arg0, arg1) } @@ -584,7 +588,7 @@ func (m *MockStoreClient) ReplaceBackendAndUpdateVolumes(arg0 context.Context, a } // ReplaceBackendAndUpdateVolumes indicates an expected call of ReplaceBackendAndUpdateVolumes. -func (mr *MockStoreClientMockRecorder) ReplaceBackendAndUpdateVolumes(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) ReplaceBackendAndUpdateVolumes(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplaceBackendAndUpdateVolumes", reflect.TypeOf((*MockStoreClient)(nil).ReplaceBackendAndUpdateVolumes), arg0, arg1, arg2) } @@ -598,7 +602,7 @@ func (m *MockStoreClient) SetVersion(arg0 context.Context, arg1 *config.Persiste } // SetVersion indicates an expected call of SetVersion. -func (mr *MockStoreClientMockRecorder) SetVersion(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) SetVersion(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVersion", reflect.TypeOf((*MockStoreClient)(nil).SetVersion), arg0, arg1) } @@ -626,7 +630,7 @@ func (m *MockStoreClient) UpdateBackend(arg0 context.Context, arg1 storage.Backe } // UpdateBackend indicates an expected call of UpdateBackend. -func (mr *MockStoreClientMockRecorder) UpdateBackend(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) UpdateBackend(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBackend", reflect.TypeOf((*MockStoreClient)(nil).UpdateBackend), arg0, arg1) } @@ -640,7 +644,7 @@ func (m *MockStoreClient) UpdateSnapshot(arg0 context.Context, arg1 *storage.Sna } // UpdateSnapshot indicates an expected call of UpdateSnapshot. -func (mr *MockStoreClientMockRecorder) UpdateSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) UpdateSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSnapshot", reflect.TypeOf((*MockStoreClient)(nil).UpdateSnapshot), arg0, arg1) } @@ -654,7 +658,7 @@ func (m *MockStoreClient) UpdateVolume(arg0 context.Context, arg1 *storage.Volum } // UpdateVolume indicates an expected call of UpdateVolume. -func (mr *MockStoreClientMockRecorder) UpdateVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) UpdateVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolume", reflect.TypeOf((*MockStoreClient)(nil).UpdateVolume), arg0, arg1) } @@ -668,7 +672,7 @@ func (m *MockStoreClient) UpdateVolumePublication(arg0 context.Context, arg1 *mo } // UpdateVolumePublication indicates an expected call of UpdateVolumePublication. -func (mr *MockStoreClientMockRecorder) UpdateVolumePublication(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) UpdateVolumePublication(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolumePublication", reflect.TypeOf((*MockStoreClient)(nil).UpdateVolumePublication), arg0, arg1) } @@ -682,7 +686,7 @@ func (m *MockStoreClient) UpdateVolumeTransaction(arg0 context.Context, arg1 *st } // UpdateVolumeTransaction indicates an expected call of UpdateVolumeTransaction. -func (mr *MockStoreClientMockRecorder) UpdateVolumeTransaction(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockStoreClientMockRecorder) UpdateVolumeTransaction(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolumeTransaction", reflect.TypeOf((*MockStoreClient)(nil).UpdateVolumeTransaction), arg0, arg1) } diff --git a/mocks/mock_storage/mock_storage.go b/mocks/mock_storage/mock_storage.go index 62791c899..a435946b9 100644 --- a/mocks/mock_storage/mock_storage.go +++ b/mocks/mock_storage/mock_storage.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage (interfaces: Backend,Pool) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_storage/mock_storage.go github.com/netapp/trident/storage Backend,Pool +// // Package mock_storage is a generated GoMock package. package mock_storage @@ -10,12 +15,11 @@ import ( time "time" roaring "github.com/RoaringBitmap/roaring" - gomock "go.uber.org/mock/gomock" - config "github.com/netapp/trident/config" storage "github.com/netapp/trident/storage" storageattribute "github.com/netapp/trident/storage_attribute" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockBackend is a mock of Backend interface. @@ -48,7 +52,7 @@ func (m *MockBackend) AddStoragePool(arg0 storage.Pool) { } // AddStoragePool indicates an expected call of AddStoragePool. -func (mr *MockBackendMockRecorder) AddStoragePool(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) AddStoragePool(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddStoragePool", reflect.TypeOf((*MockBackend)(nil).AddStoragePool), arg0) } @@ -63,7 +67,7 @@ func (m *MockBackend) AddVolume(arg0 context.Context, arg1 *storage.VolumeConfig } // AddVolume indicates an expected call of AddVolume. -func (mr *MockBackendMockRecorder) AddVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) AddVolume(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVolume", reflect.TypeOf((*MockBackend)(nil).AddVolume), arg0, arg1, arg2, arg3, arg4) } @@ -133,7 +137,7 @@ func (m *MockBackend) CanSnapshot(arg0 context.Context, arg1 *storage.SnapshotCo } // CanSnapshot indicates an expected call of CanSnapshot. -func (mr *MockBackendMockRecorder) CanSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) CanSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanSnapshot", reflect.TypeOf((*MockBackend)(nil).CanSnapshot), arg0, arg1, arg2) } @@ -148,7 +152,7 @@ func (m *MockBackend) CheckMirrorTransferState(arg0 context.Context, arg1 string } // CheckMirrorTransferState indicates an expected call of CheckMirrorTransferState. -func (mr *MockBackendMockRecorder) CheckMirrorTransferState(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) CheckMirrorTransferState(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckMirrorTransferState", reflect.TypeOf((*MockBackend)(nil).CheckMirrorTransferState), arg0, arg1) } @@ -163,7 +167,7 @@ func (m *MockBackend) CloneVolume(arg0 context.Context, arg1, arg2 *storage.Volu } // CloneVolume indicates an expected call of CloneVolume. -func (mr *MockBackendMockRecorder) CloneVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) CloneVolume(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloneVolume", reflect.TypeOf((*MockBackend)(nil).CloneVolume), arg0, arg1, arg2, arg3, arg4) } @@ -191,7 +195,7 @@ func (m *MockBackend) ConstructExternal(arg0 context.Context) *storage.BackendEx } // ConstructExternal indicates an expected call of ConstructExternal. -func (mr *MockBackendMockRecorder) ConstructExternal(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) ConstructExternal(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConstructExternal", reflect.TypeOf((*MockBackend)(nil).ConstructExternal), arg0) } @@ -205,7 +209,7 @@ func (m *MockBackend) ConstructPersistent(arg0 context.Context) *storage.Backend } // ConstructPersistent indicates an expected call of ConstructPersistent. -func (mr *MockBackendMockRecorder) ConstructPersistent(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) ConstructPersistent(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConstructPersistent", reflect.TypeOf((*MockBackend)(nil).ConstructPersistent), arg0) } @@ -220,7 +224,7 @@ func (m *MockBackend) CreateSnapshot(arg0 context.Context, arg1 *storage.Snapsho } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockBackendMockRecorder) CreateSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) CreateSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockBackend)(nil).CreateSnapshot), arg0, arg1, arg2) } @@ -234,7 +238,7 @@ func (m *MockBackend) DeleteSnapshot(arg0 context.Context, arg1 *storage.Snapsho } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockBackendMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockBackend)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -262,7 +266,7 @@ func (m *MockBackend) EnablePublishEnforcement(arg0 context.Context, arg1 *stora } // EnablePublishEnforcement indicates an expected call of EnablePublishEnforcement. -func (mr *MockBackendMockRecorder) EnablePublishEnforcement(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) EnablePublishEnforcement(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePublishEnforcement", reflect.TypeOf((*MockBackend)(nil).EnablePublishEnforcement), arg0, arg1) } @@ -277,7 +281,7 @@ func (m *MockBackend) GetBackendState(arg0 context.Context) (string, *roaring.Bi } // GetBackendState indicates an expected call of GetBackendState. -func (mr *MockBackendMockRecorder) GetBackendState(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetBackendState(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackendState", reflect.TypeOf((*MockBackend)(nil).GetBackendState), arg0) } @@ -292,7 +296,7 @@ func (m *MockBackend) GetChapInfo(arg0 context.Context, arg1, arg2 string) (*mod } // GetChapInfo indicates an expected call of GetChapInfo. -func (mr *MockBackendMockRecorder) GetChapInfo(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetChapInfo(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChapInfo", reflect.TypeOf((*MockBackend)(nil).GetChapInfo), arg0, arg1, arg2) } @@ -306,7 +310,7 @@ func (m *MockBackend) GetDebugTraceFlags(arg0 context.Context) map[string]bool { } // GetDebugTraceFlags indicates an expected call of GetDebugTraceFlags. -func (mr *MockBackendMockRecorder) GetDebugTraceFlags(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetDebugTraceFlags(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDebugTraceFlags", reflect.TypeOf((*MockBackend)(nil).GetDebugTraceFlags), arg0) } @@ -335,7 +339,7 @@ func (m *MockBackend) GetMirrorTransferTime(arg0 context.Context, arg1 string) ( } // GetMirrorTransferTime indicates an expected call of GetMirrorTransferTime. -func (mr *MockBackendMockRecorder) GetMirrorTransferTime(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetMirrorTransferTime(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMirrorTransferTime", reflect.TypeOf((*MockBackend)(nil).GetMirrorTransferTime), arg0, arg1) } @@ -349,7 +353,7 @@ func (m *MockBackend) GetPhysicalPoolNames(arg0 context.Context) []string { } // GetPhysicalPoolNames indicates an expected call of GetPhysicalPoolNames. -func (mr *MockBackendMockRecorder) GetPhysicalPoolNames(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetPhysicalPoolNames(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPhysicalPoolNames", reflect.TypeOf((*MockBackend)(nil).GetPhysicalPoolNames), arg0) } @@ -363,7 +367,7 @@ func (m *MockBackend) GetProtocol(arg0 context.Context) config.Protocol { } // GetProtocol indicates an expected call of GetProtocol. -func (mr *MockBackendMockRecorder) GetProtocol(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetProtocol(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProtocol", reflect.TypeOf((*MockBackend)(nil).GetProtocol), arg0) } @@ -378,7 +382,7 @@ func (m *MockBackend) GetSnapshot(arg0 context.Context, arg1 *storage.SnapshotCo } // GetSnapshot indicates an expected call of GetSnapshot. -func (mr *MockBackendMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshot", reflect.TypeOf((*MockBackend)(nil).GetSnapshot), arg0, arg1, arg2) } @@ -393,7 +397,7 @@ func (m *MockBackend) GetSnapshots(arg0 context.Context, arg1 *storage.VolumeCon } // GetSnapshots indicates an expected call of GetSnapshots. -func (mr *MockBackendMockRecorder) GetSnapshots(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetSnapshots(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshots", reflect.TypeOf((*MockBackend)(nil).GetSnapshots), arg0, arg1) } @@ -407,7 +411,7 @@ func (m *MockBackend) GetUpdateType(arg0 context.Context, arg1 storage.Backend) } // GetUpdateType indicates an expected call of GetUpdateType. -func (mr *MockBackendMockRecorder) GetUpdateType(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetUpdateType(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUpdateType", reflect.TypeOf((*MockBackend)(nil).GetUpdateType), arg0, arg1) } @@ -422,7 +426,7 @@ func (m *MockBackend) GetVolumeForImport(arg0 context.Context, arg1 string) (*st } // GetVolumeForImport indicates an expected call of GetVolumeForImport. -func (mr *MockBackendMockRecorder) GetVolumeForImport(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) GetVolumeForImport(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeForImport", reflect.TypeOf((*MockBackend)(nil).GetVolumeForImport), arg0, arg1) } @@ -451,7 +455,7 @@ func (m *MockBackend) ImportVolume(arg0 context.Context, arg1 *storage.VolumeCon } // ImportVolume indicates an expected call of ImportVolume. -func (mr *MockBackendMockRecorder) ImportVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) ImportVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImportVolume", reflect.TypeOf((*MockBackend)(nil).ImportVolume), arg0, arg1) } @@ -477,7 +481,7 @@ func (m *MockBackend) IsCredentialsFieldSet(arg0 context.Context) bool { } // IsCredentialsFieldSet indicates an expected call of IsCredentialsFieldSet. -func (mr *MockBackendMockRecorder) IsCredentialsFieldSet(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) IsCredentialsFieldSet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsCredentialsFieldSet", reflect.TypeOf((*MockBackend)(nil).IsCredentialsFieldSet), arg0) } @@ -534,7 +538,7 @@ func (m *MockBackend) PublishVolume(arg0 context.Context, arg1 *storage.VolumeCo } // PublishVolume indicates an expected call of PublishVolume. -func (mr *MockBackendMockRecorder) PublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) PublishVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishVolume", reflect.TypeOf((*MockBackend)(nil).PublishVolume), arg0, arg1, arg2) } @@ -548,7 +552,7 @@ func (m *MockBackend) ReconcileNodeAccess(arg0 context.Context, arg1 []*models.N } // ReconcileNodeAccess indicates an expected call of ReconcileNodeAccess. -func (mr *MockBackendMockRecorder) ReconcileNodeAccess(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) ReconcileNodeAccess(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileNodeAccess", reflect.TypeOf((*MockBackend)(nil).ReconcileNodeAccess), arg0, arg1, arg2) } @@ -560,7 +564,7 @@ func (m *MockBackend) RemoveCachedVolume(arg0 string) { } // RemoveCachedVolume indicates an expected call of RemoveCachedVolume. -func (mr *MockBackendMockRecorder) RemoveCachedVolume(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) RemoveCachedVolume(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveCachedVolume", reflect.TypeOf((*MockBackend)(nil).RemoveCachedVolume), arg0) } @@ -574,7 +578,7 @@ func (m *MockBackend) RemoveVolume(arg0 context.Context, arg1 *storage.VolumeCon } // RemoveVolume indicates an expected call of RemoveVolume. -func (mr *MockBackendMockRecorder) RemoveVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) RemoveVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveVolume", reflect.TypeOf((*MockBackend)(nil).RemoveVolume), arg0, arg1) } @@ -588,7 +592,7 @@ func (m *MockBackend) RenameVolume(arg0 context.Context, arg1 *storage.VolumeCon } // RenameVolume indicates an expected call of RenameVolume. -func (mr *MockBackendMockRecorder) RenameVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) RenameVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RenameVolume", reflect.TypeOf((*MockBackend)(nil).RenameVolume), arg0, arg1, arg2) } @@ -602,7 +606,7 @@ func (m *MockBackend) ResizeVolume(arg0 context.Context, arg1 *storage.VolumeCon } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockBackendMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockBackend)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -616,7 +620,7 @@ func (m *MockBackend) RestoreSnapshot(arg0 context.Context, arg1 *storage.Snapsh } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockBackendMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockBackend)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -628,7 +632,7 @@ func (m *MockBackend) SetBackendUUID(arg0 string) { } // SetBackendUUID indicates an expected call of SetBackendUUID. -func (mr *MockBackendMockRecorder) SetBackendUUID(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetBackendUUID(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackendUUID", reflect.TypeOf((*MockBackend)(nil).SetBackendUUID), arg0) } @@ -640,7 +644,7 @@ func (m *MockBackend) SetConfigRef(arg0 string) { } // SetConfigRef indicates an expected call of SetConfigRef. -func (mr *MockBackendMockRecorder) SetConfigRef(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetConfigRef(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetConfigRef", reflect.TypeOf((*MockBackend)(nil).SetConfigRef), arg0) } @@ -652,7 +656,7 @@ func (m *MockBackend) SetDriver(arg0 storage.Driver) { } // SetDriver indicates an expected call of SetDriver. -func (mr *MockBackendMockRecorder) SetDriver(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetDriver(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDriver", reflect.TypeOf((*MockBackend)(nil).SetDriver), arg0) } @@ -664,7 +668,7 @@ func (m *MockBackend) SetName(arg0 string) { } // SetName indicates an expected call of SetName. -func (mr *MockBackendMockRecorder) SetName(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetName(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetName", reflect.TypeOf((*MockBackend)(nil).SetName), arg0) } @@ -676,7 +680,7 @@ func (m *MockBackend) SetOnline(arg0 bool) { } // SetOnline indicates an expected call of SetOnline. -func (mr *MockBackendMockRecorder) SetOnline(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetOnline(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetOnline", reflect.TypeOf((*MockBackend)(nil).SetOnline), arg0) } @@ -688,7 +692,7 @@ func (m *MockBackend) SetState(arg0 storage.BackendState) { } // SetState indicates an expected call of SetState. -func (mr *MockBackendMockRecorder) SetState(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetState(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetState", reflect.TypeOf((*MockBackend)(nil).SetState), arg0) } @@ -700,7 +704,7 @@ func (m *MockBackend) SetStorage(arg0 map[string]storage.Pool) { } // SetStorage indicates an expected call of SetStorage. -func (mr *MockBackendMockRecorder) SetStorage(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetStorage(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetStorage", reflect.TypeOf((*MockBackend)(nil).SetStorage), arg0) } @@ -712,7 +716,7 @@ func (m *MockBackend) SetUserState(arg0 storage.UserBackendState) { } // SetUserState indicates an expected call of SetUserState. -func (mr *MockBackendMockRecorder) SetUserState(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetUserState(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserState", reflect.TypeOf((*MockBackend)(nil).SetUserState), arg0) } @@ -724,7 +728,7 @@ func (m *MockBackend) SetVolumes(arg0 map[string]*storage.Volume) { } // SetVolumes indicates an expected call of SetVolumes. -func (mr *MockBackendMockRecorder) SetVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) SetVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVolumes", reflect.TypeOf((*MockBackend)(nil).SetVolumes), arg0) } @@ -778,7 +782,7 @@ func (m *MockBackend) Terminate(arg0 context.Context) { } // Terminate indicates an expected call of Terminate. -func (mr *MockBackendMockRecorder) Terminate(arg0 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) Terminate(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Terminate", reflect.TypeOf((*MockBackend)(nil).Terminate), arg0) } @@ -792,7 +796,7 @@ func (m *MockBackend) UnpublishVolume(arg0 context.Context, arg1 *storage.Volume } // UnpublishVolume indicates an expected call of UnpublishVolume. -func (mr *MockBackendMockRecorder) UnpublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) UnpublishVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnpublishVolume", reflect.TypeOf((*MockBackend)(nil).UnpublishVolume), arg0, arg1, arg2) } @@ -806,7 +810,7 @@ func (m *MockBackend) UpdateMirror(arg0 context.Context, arg1, arg2 string) erro } // UpdateMirror indicates an expected call of UpdateMirror. -func (mr *MockBackendMockRecorder) UpdateMirror(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) UpdateMirror(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateMirror", reflect.TypeOf((*MockBackend)(nil).UpdateMirror), arg0, arg1, arg2) } @@ -821,7 +825,7 @@ func (m *MockBackend) UpdateVolume(arg0 context.Context, arg1 *storage.VolumeCon } // UpdateVolume indicates an expected call of UpdateVolume. -func (mr *MockBackendMockRecorder) UpdateVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockBackendMockRecorder) UpdateVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateVolume", reflect.TypeOf((*MockBackend)(nil).UpdateVolume), arg0, arg1, arg2) } @@ -884,7 +888,7 @@ func (m *MockPool) AddStorageClass(arg0 string) { } // AddStorageClass indicates an expected call of AddStorageClass. -func (mr *MockPoolMockRecorder) AddStorageClass(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) AddStorageClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddStorageClass", reflect.TypeOf((*MockPool)(nil).AddStorageClass), arg0) } @@ -932,7 +936,7 @@ func (mr *MockPoolMockRecorder) ConstructExternal() *gomock.Call { } // GetLabelMapFromTemplate mocks base method. -func (m *MockPool) GetLabelMapFromTemplate(arg0 context.Context, arg1 map[string]interface{}) map[string]string { +func (m *MockPool) GetLabelMapFromTemplate(arg0 context.Context, arg1 map[string]any) map[string]string { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetLabelMapFromTemplate", arg0, arg1) ret0, _ := ret[0].(map[string]string) @@ -940,7 +944,7 @@ func (m *MockPool) GetLabelMapFromTemplate(arg0 context.Context, arg1 map[string } // GetLabelMapFromTemplate indicates an expected call of GetLabelMapFromTemplate. -func (mr *MockPoolMockRecorder) GetLabelMapFromTemplate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) GetLabelMapFromTemplate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLabelMapFromTemplate", reflect.TypeOf((*MockPool)(nil).GetLabelMapFromTemplate), arg0, arg1) } @@ -954,7 +958,7 @@ func (m *MockPool) GetLabels(arg0 context.Context, arg1 string) map[string]strin } // GetLabels indicates an expected call of GetLabels. -func (mr *MockPoolMockRecorder) GetLabels(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) GetLabels(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLabels", reflect.TypeOf((*MockPool)(nil).GetLabels), arg0, arg1) } @@ -969,13 +973,13 @@ func (m *MockPool) GetLabelsJSON(arg0 context.Context, arg1 string, arg2 int) (s } // GetLabelsJSON indicates an expected call of GetLabelsJSON. -func (mr *MockPoolMockRecorder) GetLabelsJSON(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) GetLabelsJSON(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLabelsJSON", reflect.TypeOf((*MockPool)(nil).GetLabelsJSON), arg0, arg1, arg2) } // GetTemplatizedLabelsJSON mocks base method. -func (m *MockPool) GetTemplatizedLabelsJSON(arg0 context.Context, arg1 string, arg2 int, arg3 map[string]interface{}) (string, error) { +func (m *MockPool) GetTemplatizedLabelsJSON(arg0 context.Context, arg1 string, arg2 int, arg3 map[string]any) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetTemplatizedLabelsJSON", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(string) @@ -984,7 +988,7 @@ func (m *MockPool) GetTemplatizedLabelsJSON(arg0 context.Context, arg1 string, a } // GetTemplatizedLabelsJSON indicates an expected call of GetTemplatizedLabelsJSON. -func (mr *MockPoolMockRecorder) GetTemplatizedLabelsJSON(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) GetTemplatizedLabelsJSON(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTemplatizedLabelsJSON", reflect.TypeOf((*MockPool)(nil).GetTemplatizedLabelsJSON), arg0, arg1, arg2, arg3) } @@ -1026,7 +1030,7 @@ func (m *MockPool) RemoveStorageClass(arg0 string) bool { } // RemoveStorageClass indicates an expected call of RemoveStorageClass. -func (mr *MockPoolMockRecorder) RemoveStorageClass(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) RemoveStorageClass(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveStorageClass", reflect.TypeOf((*MockPool)(nil).RemoveStorageClass), arg0) } @@ -1038,7 +1042,7 @@ func (m *MockPool) SetAttributes(arg0 map[string]storageattribute.Offer) { } // SetAttributes indicates an expected call of SetAttributes. -func (mr *MockPoolMockRecorder) SetAttributes(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAttributes", reflect.TypeOf((*MockPool)(nil).SetAttributes), arg0) } @@ -1050,7 +1054,7 @@ func (m *MockPool) SetBackend(arg0 storage.Backend) { } // SetBackend indicates an expected call of SetBackend. -func (mr *MockPoolMockRecorder) SetBackend(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetBackend(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBackend", reflect.TypeOf((*MockPool)(nil).SetBackend), arg0) } @@ -1062,7 +1066,7 @@ func (m *MockPool) SetInternalAttributes(arg0 map[string]string) { } // SetInternalAttributes indicates an expected call of SetInternalAttributes. -func (mr *MockPoolMockRecorder) SetInternalAttributes(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetInternalAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetInternalAttributes", reflect.TypeOf((*MockPool)(nil).SetInternalAttributes), arg0) } @@ -1074,7 +1078,7 @@ func (m *MockPool) SetName(arg0 string) { } // SetName indicates an expected call of SetName. -func (mr *MockPoolMockRecorder) SetName(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetName(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetName", reflect.TypeOf((*MockPool)(nil).SetName), arg0) } @@ -1086,7 +1090,7 @@ func (m *MockPool) SetStorageClasses(arg0 []string) { } // SetStorageClasses indicates an expected call of SetStorageClasses. -func (mr *MockPoolMockRecorder) SetStorageClasses(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetStorageClasses(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetStorageClasses", reflect.TypeOf((*MockPool)(nil).SetStorageClasses), arg0) } @@ -1098,7 +1102,7 @@ func (m *MockPool) SetSupportedTopologies(arg0 []map[string]string) { } // SetSupportedTopologies indicates an expected call of SetSupportedTopologies. -func (mr *MockPoolMockRecorder) SetSupportedTopologies(arg0 interface{}) *gomock.Call { +func (mr *MockPoolMockRecorder) SetSupportedTopologies(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSupportedTopologies", reflect.TypeOf((*MockPool)(nil).SetSupportedTopologies), arg0) } diff --git a/mocks/mock_storage/mock_storage_driver.go b/mocks/mock_storage/mock_storage_driver.go index 7e905eb26..09ea10266 100644 --- a/mocks/mock_storage/mock_storage_driver.go +++ b/mocks/mock_storage/mock_storage_driver.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage (interfaces: Driver) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_storage/mock_storage_driver.go github.com/netapp/trident/storage Driver +// // Package mock_storage is a generated GoMock package. package mock_storage @@ -9,13 +14,12 @@ import ( reflect "reflect" roaring "github.com/RoaringBitmap/roaring" - gomock "go.uber.org/mock/gomock" - config "github.com/netapp/trident/config" storage "github.com/netapp/trident/storage" storageattribute "github.com/netapp/trident/storage_attribute" storagedrivers "github.com/netapp/trident/storage_drivers" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockDriver is a mock of Driver interface. @@ -64,7 +68,7 @@ func (m *MockDriver) CanSnapshot(arg0 context.Context, arg1 *storage.SnapshotCon } // CanSnapshot indicates an expected call of CanSnapshot. -func (mr *MockDriverMockRecorder) CanSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) CanSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanSnapshot", reflect.TypeOf((*MockDriver)(nil).CanSnapshot), arg0, arg1, arg2) } @@ -78,7 +82,7 @@ func (m *MockDriver) Create(arg0 context.Context, arg1 *storage.VolumeConfig, ar } // Create indicates an expected call of Create. -func (mr *MockDriverMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Create(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockDriver)(nil).Create), arg0, arg1, arg2, arg3) } @@ -92,7 +96,7 @@ func (m *MockDriver) CreateClone(arg0 context.Context, arg1, arg2 *storage.Volum } // CreateClone indicates an expected call of CreateClone. -func (mr *MockDriverMockRecorder) CreateClone(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) CreateClone(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateClone", reflect.TypeOf((*MockDriver)(nil).CreateClone), arg0, arg1, arg2, arg3) } @@ -106,7 +110,7 @@ func (m *MockDriver) CreateFollowup(arg0 context.Context, arg1 *storage.VolumeCo } // CreateFollowup indicates an expected call of CreateFollowup. -func (mr *MockDriverMockRecorder) CreateFollowup(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) CreateFollowup(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateFollowup", reflect.TypeOf((*MockDriver)(nil).CreateFollowup), arg0, arg1) } @@ -118,7 +122,7 @@ func (m *MockDriver) CreatePrepare(arg0 context.Context, arg1 *storage.VolumeCon } // CreatePrepare indicates an expected call of CreatePrepare. -func (mr *MockDriverMockRecorder) CreatePrepare(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) CreatePrepare(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePrepare", reflect.TypeOf((*MockDriver)(nil).CreatePrepare), arg0, arg1, arg2) } @@ -133,7 +137,7 @@ func (m *MockDriver) CreateSnapshot(arg0 context.Context, arg1 *storage.Snapshot } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockDriverMockRecorder) CreateSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) CreateSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockDriver)(nil).CreateSnapshot), arg0, arg1, arg2) } @@ -147,7 +151,7 @@ func (m *MockDriver) DeleteSnapshot(arg0 context.Context, arg1 *storage.Snapshot } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockDriverMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockDriver)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -161,7 +165,7 @@ func (m *MockDriver) Destroy(arg0 context.Context, arg1 *storage.VolumeConfig) e } // Destroy indicates an expected call of Destroy. -func (mr *MockDriverMockRecorder) Destroy(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Destroy(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Destroy", reflect.TypeOf((*MockDriver)(nil).Destroy), arg0, arg1) } @@ -175,7 +179,7 @@ func (m *MockDriver) Get(arg0 context.Context, arg1 string) error { } // Get indicates an expected call of Get. -func (mr *MockDriverMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Get(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockDriver)(nil).Get), arg0, arg1) } @@ -189,7 +193,7 @@ func (m *MockDriver) GetCommonConfig(arg0 context.Context) *storagedrivers.Commo } // GetCommonConfig indicates an expected call of GetCommonConfig. -func (mr *MockDriverMockRecorder) GetCommonConfig(arg0 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetCommonConfig(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCommonConfig", reflect.TypeOf((*MockDriver)(nil).GetCommonConfig), arg0) } @@ -209,15 +213,15 @@ func (mr *MockDriverMockRecorder) GetConfig() *gomock.Call { } // GetExternalConfig mocks base method. -func (m *MockDriver) GetExternalConfig(arg0 context.Context) interface{} { +func (m *MockDriver) GetExternalConfig(arg0 context.Context) any { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetExternalConfig", arg0) - ret0, _ := ret[0].(interface{}) + ret0, _ := ret[0].(any) return ret0 } // GetExternalConfig indicates an expected call of GetExternalConfig. -func (mr *MockDriverMockRecorder) GetExternalConfig(arg0 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetExternalConfig(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExternalConfig", reflect.TypeOf((*MockDriver)(nil).GetExternalConfig), arg0) } @@ -231,7 +235,7 @@ func (m *MockDriver) GetInternalVolumeName(arg0 context.Context, arg1 *storage.V } // GetInternalVolumeName indicates an expected call of GetInternalVolumeName. -func (mr *MockDriverMockRecorder) GetInternalVolumeName(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetInternalVolumeName(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInternalVolumeName", reflect.TypeOf((*MockDriver)(nil).GetInternalVolumeName), arg0, arg1, arg2) } @@ -245,7 +249,7 @@ func (m *MockDriver) GetProtocol(arg0 context.Context) config.Protocol { } // GetProtocol indicates an expected call of GetProtocol. -func (mr *MockDriverMockRecorder) GetProtocol(arg0 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetProtocol(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProtocol", reflect.TypeOf((*MockDriver)(nil).GetProtocol), arg0) } @@ -260,7 +264,7 @@ func (m *MockDriver) GetSnapshot(arg0 context.Context, arg1 *storage.SnapshotCon } // GetSnapshot indicates an expected call of GetSnapshot. -func (mr *MockDriverMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshot", reflect.TypeOf((*MockDriver)(nil).GetSnapshot), arg0, arg1, arg2) } @@ -275,7 +279,7 @@ func (m *MockDriver) GetSnapshots(arg0 context.Context, arg1 *storage.VolumeConf } // GetSnapshots indicates an expected call of GetSnapshots. -func (mr *MockDriverMockRecorder) GetSnapshots(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetSnapshots(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshots", reflect.TypeOf((*MockDriver)(nil).GetSnapshots), arg0, arg1) } @@ -289,7 +293,7 @@ func (m *MockDriver) GetStorageBackendPhysicalPoolNames(arg0 context.Context) [] } // GetStorageBackendPhysicalPoolNames indicates an expected call of GetStorageBackendPhysicalPoolNames. -func (mr *MockDriverMockRecorder) GetStorageBackendPhysicalPoolNames(arg0 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetStorageBackendPhysicalPoolNames(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageBackendPhysicalPoolNames", reflect.TypeOf((*MockDriver)(nil).GetStorageBackendPhysicalPoolNames), arg0) } @@ -303,7 +307,7 @@ func (m *MockDriver) GetStorageBackendSpecs(arg0 context.Context, arg1 storage.B } // GetStorageBackendSpecs indicates an expected call of GetStorageBackendSpecs. -func (mr *MockDriverMockRecorder) GetStorageBackendSpecs(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetStorageBackendSpecs(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStorageBackendSpecs", reflect.TypeOf((*MockDriver)(nil).GetStorageBackendSpecs), arg0, arg1) } @@ -317,7 +321,7 @@ func (m *MockDriver) GetUpdateType(arg0 context.Context, arg1 storage.Driver) *r } // GetUpdateType indicates an expected call of GetUpdateType. -func (mr *MockDriverMockRecorder) GetUpdateType(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetUpdateType(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUpdateType", reflect.TypeOf((*MockDriver)(nil).GetUpdateType), arg0, arg1) } @@ -329,7 +333,7 @@ func (m *MockDriver) GetVolumeExternalWrappers(arg0 context.Context, arg1 chan * } // GetVolumeExternalWrappers indicates an expected call of GetVolumeExternalWrappers. -func (mr *MockDriverMockRecorder) GetVolumeExternalWrappers(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetVolumeExternalWrappers(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeExternalWrappers", reflect.TypeOf((*MockDriver)(nil).GetVolumeExternalWrappers), arg0, arg1) } @@ -344,7 +348,7 @@ func (m *MockDriver) GetVolumeForImport(arg0 context.Context, arg1 string) (*sto } // GetVolumeForImport indicates an expected call of GetVolumeForImport. -func (mr *MockDriverMockRecorder) GetVolumeForImport(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) GetVolumeForImport(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeForImport", reflect.TypeOf((*MockDriver)(nil).GetVolumeForImport), arg0, arg1) } @@ -358,7 +362,7 @@ func (m *MockDriver) Import(arg0 context.Context, arg1 *storage.VolumeConfig, ar } // Import indicates an expected call of Import. -func (mr *MockDriverMockRecorder) Import(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Import(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Import", reflect.TypeOf((*MockDriver)(nil).Import), arg0, arg1, arg2) } @@ -372,7 +376,7 @@ func (m *MockDriver) Initialize(arg0 context.Context, arg1 config.DriverContext, } // Initialize indicates an expected call of Initialize. -func (mr *MockDriverMockRecorder) Initialize(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Initialize(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Initialize", reflect.TypeOf((*MockDriver)(nil).Initialize), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -414,7 +418,7 @@ func (m *MockDriver) Publish(arg0 context.Context, arg1 *storage.VolumeConfig, a } // Publish indicates an expected call of Publish. -func (mr *MockDriverMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockDriver)(nil).Publish), arg0, arg1, arg2) } @@ -428,7 +432,7 @@ func (m *MockDriver) ReconcileNodeAccess(arg0 context.Context, arg1 []*models.No } // ReconcileNodeAccess indicates an expected call of ReconcileNodeAccess. -func (mr *MockDriverMockRecorder) ReconcileNodeAccess(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) ReconcileNodeAccess(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileNodeAccess", reflect.TypeOf((*MockDriver)(nil).ReconcileNodeAccess), arg0, arg1, arg2, arg3) } @@ -442,7 +446,7 @@ func (m *MockDriver) Rename(arg0 context.Context, arg1, arg2 string) error { } // Rename indicates an expected call of Rename. -func (mr *MockDriverMockRecorder) Rename(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rename", reflect.TypeOf((*MockDriver)(nil).Rename), arg0, arg1, arg2) } @@ -456,7 +460,7 @@ func (m *MockDriver) Resize(arg0 context.Context, arg1 *storage.VolumeConfig, ar } // Resize indicates an expected call of Resize. -func (mr *MockDriverMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Resize(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Resize", reflect.TypeOf((*MockDriver)(nil).Resize), arg0, arg1, arg2) } @@ -470,7 +474,7 @@ func (m *MockDriver) RestoreSnapshot(arg0 context.Context, arg1 *storage.Snapsho } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockDriverMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockDriver)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -482,7 +486,7 @@ func (m *MockDriver) StoreConfig(arg0 context.Context, arg1 *storage.PersistentS } // StoreConfig indicates an expected call of StoreConfig. -func (mr *MockDriverMockRecorder) StoreConfig(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) StoreConfig(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreConfig", reflect.TypeOf((*MockDriver)(nil).StoreConfig), arg0, arg1) } @@ -494,7 +498,7 @@ func (m *MockDriver) Terminate(arg0 context.Context, arg1 string) { } // Terminate indicates an expected call of Terminate. -func (mr *MockDriverMockRecorder) Terminate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockDriverMockRecorder) Terminate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Terminate", reflect.TypeOf((*MockDriver)(nil).Terminate), arg0, arg1) } diff --git a/mocks/mock_storage_drivers/mock_azure/mock_api.go b/mocks/mock_storage_drivers/mock_azure/mock_api.go index 590c04da0..3af189555 100644 --- a/mocks/mock_storage_drivers/mock_azure/mock_api.go +++ b/mocks/mock_storage_drivers/mock_azure/mock_api.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage_drivers/azure/api (interfaces: Azure) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_storage_drivers/mock_azure/mock_api.go github.com/netapp/trident/storage_drivers/azure/api Azure +// // Package mock_api is a generated GoMock package. package mock_api @@ -9,10 +14,9 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - storage "github.com/netapp/trident/storage" api "github.com/netapp/trident/storage_drivers/azure/api" + gomock "go.uber.org/mock/gomock" ) // MockAzure is a mock of Azure interface. @@ -48,7 +52,7 @@ func (m *MockAzure) AvailabilityZones(arg0 context.Context) ([]string, error) { } // AvailabilityZones indicates an expected call of AvailabilityZones. -func (mr *MockAzureMockRecorder) AvailabilityZones(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) AvailabilityZones(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AvailabilityZones", reflect.TypeOf((*MockAzure)(nil).AvailabilityZones), arg0) } @@ -76,7 +80,7 @@ func (m *MockAzure) CapacityPoolsForStoragePool(arg0 context.Context, arg1 stora } // CapacityPoolsForStoragePool indicates an expected call of CapacityPoolsForStoragePool. -func (mr *MockAzureMockRecorder) CapacityPoolsForStoragePool(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) CapacityPoolsForStoragePool(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CapacityPoolsForStoragePool", reflect.TypeOf((*MockAzure)(nil).CapacityPoolsForStoragePool), arg0, arg1, arg2) } @@ -90,7 +94,7 @@ func (m *MockAzure) CapacityPoolsForStoragePools(arg0 context.Context) []*api.Ca } // CapacityPoolsForStoragePools indicates an expected call of CapacityPoolsForStoragePools. -func (mr *MockAzureMockRecorder) CapacityPoolsForStoragePools(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) CapacityPoolsForStoragePools(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CapacityPoolsForStoragePools", reflect.TypeOf((*MockAzure)(nil).CapacityPoolsForStoragePools), arg0) } @@ -105,7 +109,7 @@ func (m *MockAzure) CreateSnapshot(arg0 context.Context, arg1 *api.FileSystem, a } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockAzureMockRecorder) CreateSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) CreateSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockAzure)(nil).CreateSnapshot), arg0, arg1, arg2) } @@ -120,7 +124,7 @@ func (m *MockAzure) CreateVolume(arg0 context.Context, arg1 *api.FilesystemCreat } // CreateVolume indicates an expected call of CreateVolume. -func (mr *MockAzureMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) CreateVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVolume", reflect.TypeOf((*MockAzure)(nil).CreateVolume), arg0, arg1) } @@ -134,7 +138,7 @@ func (m *MockAzure) DeleteSnapshot(arg0 context.Context, arg1 *api.FileSystem, a } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockAzureMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockAzure)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -148,7 +152,7 @@ func (m *MockAzure) DeleteVolume(arg0 context.Context, arg1 *api.FileSystem) err } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockAzureMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockAzure)(nil).DeleteVolume), arg0, arg1) } @@ -162,7 +166,7 @@ func (m *MockAzure) DiscoverAzureResources(arg0 context.Context) error { } // DiscoverAzureResources indicates an expected call of DiscoverAzureResources. -func (mr *MockAzureMockRecorder) DiscoverAzureResources(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) DiscoverAzureResources(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiscoverAzureResources", reflect.TypeOf((*MockAzure)(nil).DiscoverAzureResources), arg0) } @@ -170,7 +174,7 @@ func (mr *MockAzureMockRecorder) DiscoverAzureResources(arg0 interface{}) *gomoc // EnableAzureFeatures mocks base method. func (m *MockAzure) EnableAzureFeatures(arg0 context.Context, arg1 ...string) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0} + varargs := []any{arg0} for _, a := range arg1 { varargs = append(varargs, a) } @@ -180,9 +184,9 @@ func (m *MockAzure) EnableAzureFeatures(arg0 context.Context, arg1 ...string) er } // EnableAzureFeatures indicates an expected call of EnableAzureFeatures. -func (mr *MockAzureMockRecorder) EnableAzureFeatures(arg0 interface{}, arg1 ...interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) EnableAzureFeatures(arg0 any, arg1 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0}, arg1...) + varargs := append([]any{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableAzureFeatures", reflect.TypeOf((*MockAzure)(nil).EnableAzureFeatures), varargs...) } @@ -195,7 +199,7 @@ func (m *MockAzure) EnsureVolumeInValidCapacityPool(arg0 context.Context, arg1 * } // EnsureVolumeInValidCapacityPool indicates an expected call of EnsureVolumeInValidCapacityPool. -func (mr *MockAzureMockRecorder) EnsureVolumeInValidCapacityPool(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) EnsureVolumeInValidCapacityPool(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnsureVolumeInValidCapacityPool", reflect.TypeOf((*MockAzure)(nil).EnsureVolumeInValidCapacityPool), arg0, arg1) } @@ -223,7 +227,7 @@ func (m *MockAzure) FilteredCapacityPoolMap(arg0 context.Context, arg1, arg2, ar } // FilteredCapacityPoolMap indicates an expected call of FilteredCapacityPoolMap. -func (mr *MockAzureMockRecorder) FilteredCapacityPoolMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) FilteredCapacityPoolMap(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FilteredCapacityPoolMap", reflect.TypeOf((*MockAzure)(nil).FilteredCapacityPoolMap), arg0, arg1, arg2, arg3) } @@ -237,7 +241,7 @@ func (m *MockAzure) FilteredSubnetMap(arg0 context.Context, arg1 []string, arg2, } // FilteredSubnetMap indicates an expected call of FilteredSubnetMap. -func (mr *MockAzureMockRecorder) FilteredSubnetMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) FilteredSubnetMap(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FilteredSubnetMap", reflect.TypeOf((*MockAzure)(nil).FilteredSubnetMap), arg0, arg1, arg2, arg3) } @@ -251,7 +255,7 @@ func (m *MockAzure) HasFeature(arg0 string) bool { } // HasFeature indicates an expected call of HasFeature. -func (mr *MockAzureMockRecorder) HasFeature(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) HasFeature(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasFeature", reflect.TypeOf((*MockAzure)(nil).HasFeature), arg0) } @@ -265,7 +269,7 @@ func (m *MockAzure) Init(arg0 context.Context, arg1 map[string]storage.Pool) err } // Init indicates an expected call of Init. -func (mr *MockAzureMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) Init(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockAzure)(nil).Init), arg0, arg1) } @@ -279,7 +283,7 @@ func (m *MockAzure) ModifyVolume(arg0 context.Context, arg1 *api.FileSystem, arg } // ModifyVolume indicates an expected call of ModifyVolume. -func (mr *MockAzureMockRecorder) ModifyVolume(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) ModifyVolume(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ModifyVolume", reflect.TypeOf((*MockAzure)(nil).ModifyVolume), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -293,7 +297,7 @@ func (m *MockAzure) RandomSubnetForStoragePool(arg0 context.Context, arg1 storag } // RandomSubnetForStoragePool indicates an expected call of RandomSubnetForStoragePool. -func (mr *MockAzureMockRecorder) RandomSubnetForStoragePool(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) RandomSubnetForStoragePool(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RandomSubnetForStoragePool", reflect.TypeOf((*MockAzure)(nil).RandomSubnetForStoragePool), arg0, arg1) } @@ -307,7 +311,7 @@ func (m *MockAzure) RefreshAzureResources(arg0 context.Context) error { } // RefreshAzureResources indicates an expected call of RefreshAzureResources. -func (mr *MockAzureMockRecorder) RefreshAzureResources(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) RefreshAzureResources(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshAzureResources", reflect.TypeOf((*MockAzure)(nil).RefreshAzureResources), arg0) } @@ -321,7 +325,7 @@ func (m *MockAzure) ResizeVolume(arg0 context.Context, arg1 *api.FileSystem, arg } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockAzureMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockAzure)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -335,7 +339,7 @@ func (m *MockAzure) RestoreSnapshot(arg0 context.Context, arg1 *api.FileSystem, } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockAzureMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockAzure)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -350,7 +354,7 @@ func (m *MockAzure) SnapshotForVolume(arg0 context.Context, arg1 *api.FileSystem } // SnapshotForVolume indicates an expected call of SnapshotForVolume. -func (mr *MockAzureMockRecorder) SnapshotForVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) SnapshotForVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotForVolume", reflect.TypeOf((*MockAzure)(nil).SnapshotForVolume), arg0, arg1, arg2) } @@ -365,7 +369,7 @@ func (m *MockAzure) SnapshotsForVolume(arg0 context.Context, arg1 *api.FileSyste } // SnapshotsForVolume indicates an expected call of SnapshotsForVolume. -func (mr *MockAzureMockRecorder) SnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) SnapshotsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotsForVolume", reflect.TypeOf((*MockAzure)(nil).SnapshotsForVolume), arg0, arg1) } @@ -379,7 +383,7 @@ func (m *MockAzure) SubnetsForStoragePool(arg0 context.Context, arg1 storage.Poo } // SubnetsForStoragePool indicates an expected call of SubnetsForStoragePool. -func (mr *MockAzureMockRecorder) SubnetsForStoragePool(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) SubnetsForStoragePool(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubnetsForStoragePool", reflect.TypeOf((*MockAzure)(nil).SubnetsForStoragePool), arg0, arg1) } @@ -394,7 +398,7 @@ func (m *MockAzure) Volume(arg0 context.Context, arg1 *storage.VolumeConfig) (*a } // Volume indicates an expected call of Volume. -func (mr *MockAzureMockRecorder) Volume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) Volume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Volume", reflect.TypeOf((*MockAzure)(nil).Volume), arg0, arg1) } @@ -409,7 +413,7 @@ func (m *MockAzure) VolumeByCreationToken(arg0 context.Context, arg1 string) (*a } // VolumeByCreationToken indicates an expected call of VolumeByCreationToken. -func (mr *MockAzureMockRecorder) VolumeByCreationToken(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) VolumeByCreationToken(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeByCreationToken", reflect.TypeOf((*MockAzure)(nil).VolumeByCreationToken), arg0, arg1) } @@ -424,7 +428,7 @@ func (m *MockAzure) VolumeByID(arg0 context.Context, arg1 string) (*api.FileSyst } // VolumeByID indicates an expected call of VolumeByID. -func (mr *MockAzureMockRecorder) VolumeByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) VolumeByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeByID", reflect.TypeOf((*MockAzure)(nil).VolumeByID), arg0, arg1) } @@ -440,7 +444,7 @@ func (m *MockAzure) VolumeExists(arg0 context.Context, arg1 *storage.VolumeConfi } // VolumeExists indicates an expected call of VolumeExists. -func (mr *MockAzureMockRecorder) VolumeExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) VolumeExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExists", reflect.TypeOf((*MockAzure)(nil).VolumeExists), arg0, arg1) } @@ -456,7 +460,7 @@ func (m *MockAzure) VolumeExistsByCreationToken(arg0 context.Context, arg1 strin } // VolumeExistsByCreationToken indicates an expected call of VolumeExistsByCreationToken. -func (mr *MockAzureMockRecorder) VolumeExistsByCreationToken(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) VolumeExistsByCreationToken(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByCreationToken", reflect.TypeOf((*MockAzure)(nil).VolumeExistsByCreationToken), arg0, arg1) } @@ -472,7 +476,7 @@ func (m *MockAzure) VolumeExistsByID(arg0 context.Context, arg1 string) (bool, * } // VolumeExistsByID indicates an expected call of VolumeExistsByID. -func (mr *MockAzureMockRecorder) VolumeExistsByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) VolumeExistsByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByID", reflect.TypeOf((*MockAzure)(nil).VolumeExistsByID), arg0, arg1) } @@ -487,7 +491,7 @@ func (m *MockAzure) Volumes(arg0 context.Context) (*[]*api.FileSystem, error) { } // Volumes indicates an expected call of Volumes. -func (mr *MockAzureMockRecorder) Volumes(arg0 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) Volumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Volumes", reflect.TypeOf((*MockAzure)(nil).Volumes), arg0) } @@ -501,7 +505,7 @@ func (m *MockAzure) WaitForSnapshotState(arg0 context.Context, arg1 *api.Snapsho } // WaitForSnapshotState indicates an expected call of WaitForSnapshotState. -func (mr *MockAzureMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForSnapshotState", reflect.TypeOf((*MockAzure)(nil).WaitForSnapshotState), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -516,7 +520,7 @@ func (m *MockAzure) WaitForVolumeState(arg0 context.Context, arg1 *api.FileSyste } // WaitForVolumeState indicates an expected call of WaitForVolumeState. -func (mr *MockAzureMockRecorder) WaitForVolumeState(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockAzureMockRecorder) WaitForVolumeState(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForVolumeState", reflect.TypeOf((*MockAzure)(nil).WaitForVolumeState), arg0, arg1, arg2, arg3, arg4, arg5) } diff --git a/mocks/mock_storage_drivers/mock_gcp/mock_api.go b/mocks/mock_storage_drivers/mock_gcp/mock_api.go index ba0f300c1..42c89c512 100644 --- a/mocks/mock_storage_drivers/mock_gcp/mock_api.go +++ b/mocks/mock_storage_drivers/mock_gcp/mock_api.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage_drivers/gcp/api (interfaces: GCPClient) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_storage_drivers/mock_gcp/mock_api.go github.com/netapp/trident/storage_drivers/gcp/api GCPClient +// // Package mock_api is a generated GoMock package. package mock_api @@ -10,10 +15,9 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - api "github.com/netapp/trident/storage_drivers/gcp/api" version "github.com/netapp/trident/utils/version" + gomock "go.uber.org/mock/gomock" ) // MockGCPClient is a mock of GCPClient interface. @@ -49,7 +53,7 @@ func (m *MockGCPClient) ChangeVolumeUnixPermissions(arg0 context.Context, arg1 * } // ChangeVolumeUnixPermissions indicates an expected call of ChangeVolumeUnixPermissions. -func (mr *MockGCPClientMockRecorder) ChangeVolumeUnixPermissions(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) ChangeVolumeUnixPermissions(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeVolumeUnixPermissions", reflect.TypeOf((*MockGCPClient)(nil).ChangeVolumeUnixPermissions), arg0, arg1, arg2) } @@ -63,7 +67,7 @@ func (m *MockGCPClient) CreateSnapshot(arg0 context.Context, arg1 *api.SnapshotC } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockGCPClientMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) CreateSnapshot(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockGCPClient)(nil).CreateSnapshot), arg0, arg1) } @@ -77,7 +81,7 @@ func (m *MockGCPClient) CreateVolume(arg0 context.Context, arg1 *api.VolumeCreat } // CreateVolume indicates an expected call of CreateVolume. -func (mr *MockGCPClientMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) CreateVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVolume", reflect.TypeOf((*MockGCPClient)(nil).CreateVolume), arg0, arg1) } @@ -91,7 +95,7 @@ func (m *MockGCPClient) DeleteSnapshot(arg0 context.Context, arg1 *api.Volume, a } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockGCPClientMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockGCPClient)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -105,7 +109,7 @@ func (m *MockGCPClient) DeleteVolume(arg0 context.Context, arg1 *api.Volume) err } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockGCPClientMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockGCPClient)(nil).DeleteVolume), arg0, arg1) } @@ -120,7 +124,7 @@ func (m *MockGCPClient) GetPools(arg0 context.Context) (*[]*api.Pool, error) { } // GetPools indicates an expected call of GetPools. -func (mr *MockGCPClientMockRecorder) GetPools(arg0 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetPools(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPools", reflect.TypeOf((*MockGCPClient)(nil).GetPools), arg0) } @@ -135,7 +139,7 @@ func (m *MockGCPClient) GetServiceLevels(arg0 context.Context) (map[string]strin } // GetServiceLevels indicates an expected call of GetServiceLevels. -func (mr *MockGCPClientMockRecorder) GetServiceLevels(arg0 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetServiceLevels(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceLevels", reflect.TypeOf((*MockGCPClient)(nil).GetServiceLevels), arg0) } @@ -150,7 +154,7 @@ func (m *MockGCPClient) GetSnapshotByID(arg0 context.Context, arg1 string) (*api } // GetSnapshotByID indicates an expected call of GetSnapshotByID. -func (mr *MockGCPClientMockRecorder) GetSnapshotByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetSnapshotByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotByID", reflect.TypeOf((*MockGCPClient)(nil).GetSnapshotByID), arg0, arg1) } @@ -165,7 +169,7 @@ func (m *MockGCPClient) GetSnapshotForVolume(arg0 context.Context, arg1 *api.Vol } // GetSnapshotForVolume indicates an expected call of GetSnapshotForVolume. -func (mr *MockGCPClientMockRecorder) GetSnapshotForVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetSnapshotForVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotForVolume", reflect.TypeOf((*MockGCPClient)(nil).GetSnapshotForVolume), arg0, arg1, arg2) } @@ -180,7 +184,7 @@ func (m *MockGCPClient) GetSnapshotsForVolume(arg0 context.Context, arg1 *api.Vo } // GetSnapshotsForVolume indicates an expected call of GetSnapshotsForVolume. -func (mr *MockGCPClientMockRecorder) GetSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetSnapshotsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSnapshotsForVolume", reflect.TypeOf((*MockGCPClient)(nil).GetSnapshotsForVolume), arg0, arg1) } @@ -196,7 +200,7 @@ func (m *MockGCPClient) GetVersion(arg0 context.Context) (*version.Version, *ver } // GetVersion indicates an expected call of GetVersion. -func (mr *MockGCPClientMockRecorder) GetVersion(arg0 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetVersion(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVersion", reflect.TypeOf((*MockGCPClient)(nil).GetVersion), arg0) } @@ -211,7 +215,7 @@ func (m *MockGCPClient) GetVolumeByCreationToken(arg0 context.Context, arg1 stri } // GetVolumeByCreationToken indicates an expected call of GetVolumeByCreationToken. -func (mr *MockGCPClientMockRecorder) GetVolumeByCreationToken(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetVolumeByCreationToken(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByCreationToken", reflect.TypeOf((*MockGCPClient)(nil).GetVolumeByCreationToken), arg0, arg1) } @@ -226,7 +230,7 @@ func (m *MockGCPClient) GetVolumeByID(arg0 context.Context, arg1 string) (*api.V } // GetVolumeByID indicates an expected call of GetVolumeByID. -func (mr *MockGCPClientMockRecorder) GetVolumeByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetVolumeByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByID", reflect.TypeOf((*MockGCPClient)(nil).GetVolumeByID), arg0, arg1) } @@ -241,7 +245,7 @@ func (m *MockGCPClient) GetVolumeByName(arg0 context.Context, arg1 string) (*api } // GetVolumeByName indicates an expected call of GetVolumeByName. -func (mr *MockGCPClientMockRecorder) GetVolumeByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetVolumeByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByName", reflect.TypeOf((*MockGCPClient)(nil).GetVolumeByName), arg0, arg1) } @@ -256,7 +260,7 @@ func (m *MockGCPClient) GetVolumes(arg0 context.Context) (*[]api.Volume, error) } // GetVolumes indicates an expected call of GetVolumes. -func (mr *MockGCPClientMockRecorder) GetVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) GetVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumes", reflect.TypeOf((*MockGCPClient)(nil).GetVolumes), arg0) } @@ -272,7 +276,7 @@ func (m *MockGCPClient) InvokeAPI(arg0 context.Context, arg1 []byte, arg2, arg3 } // InvokeAPI indicates an expected call of InvokeAPI. -func (mr *MockGCPClientMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InvokeAPI", reflect.TypeOf((*MockGCPClient)(nil).InvokeAPI), arg0, arg1, arg2, arg3) } @@ -287,7 +291,7 @@ func (m *MockGCPClient) RelabelVolume(arg0 context.Context, arg1 *api.Volume, ar } // RelabelVolume indicates an expected call of RelabelVolume. -func (mr *MockGCPClientMockRecorder) RelabelVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) RelabelVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RelabelVolume", reflect.TypeOf((*MockGCPClient)(nil).RelabelVolume), arg0, arg1, arg2) } @@ -302,7 +306,7 @@ func (m *MockGCPClient) RenameRelabelVolume(arg0 context.Context, arg1 *api.Volu } // RenameRelabelVolume indicates an expected call of RenameRelabelVolume. -func (mr *MockGCPClientMockRecorder) RenameRelabelVolume(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) RenameRelabelVolume(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RenameRelabelVolume", reflect.TypeOf((*MockGCPClient)(nil).RenameRelabelVolume), arg0, arg1, arg2, arg3) } @@ -317,7 +321,7 @@ func (m *MockGCPClient) RenameVolume(arg0 context.Context, arg1 *api.Volume, arg } // RenameVolume indicates an expected call of RenameVolume. -func (mr *MockGCPClientMockRecorder) RenameVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) RenameVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RenameVolume", reflect.TypeOf((*MockGCPClient)(nil).RenameVolume), arg0, arg1, arg2) } @@ -332,7 +336,7 @@ func (m *MockGCPClient) ResizeVolume(arg0 context.Context, arg1 *api.Volume, arg } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockGCPClientMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockGCPClient)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -346,7 +350,7 @@ func (m *MockGCPClient) RestoreSnapshot(arg0 context.Context, arg1 *api.Volume, } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockGCPClientMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockGCPClient)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -362,7 +366,7 @@ func (m *MockGCPClient) VolumeExistsByCreationToken(arg0 context.Context, arg1 s } // VolumeExistsByCreationToken indicates an expected call of VolumeExistsByCreationToken. -func (mr *MockGCPClientMockRecorder) VolumeExistsByCreationToken(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) VolumeExistsByCreationToken(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByCreationToken", reflect.TypeOf((*MockGCPClient)(nil).VolumeExistsByCreationToken), arg0, arg1) } @@ -376,7 +380,7 @@ func (m *MockGCPClient) WaitForSnapshotState(arg0 context.Context, arg1 *api.Sna } // WaitForSnapshotState indicates an expected call of WaitForSnapshotState. -func (mr *MockGCPClientMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForSnapshotState", reflect.TypeOf((*MockGCPClient)(nil).WaitForSnapshotState), arg0, arg1, arg2, arg3, arg4) } @@ -391,7 +395,7 @@ func (m *MockGCPClient) WaitForVolumeStates(arg0 context.Context, arg1 *api.Volu } // WaitForVolumeStates indicates an expected call of WaitForVolumeStates. -func (mr *MockGCPClientMockRecorder) WaitForVolumeStates(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockGCPClientMockRecorder) WaitForVolumeStates(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForVolumeStates", reflect.TypeOf((*MockGCPClient)(nil).WaitForVolumeStates), arg0, arg1, arg2, arg3, arg4) } diff --git a/mocks/mock_storage_drivers/mock_gcp/mock_gcnvapi.go b/mocks/mock_storage_drivers/mock_gcp/mock_gcnvapi.go index 14a997648..a7c8b9c29 100644 --- a/mocks/mock_storage_drivers/mock_gcp/mock_gcnvapi.go +++ b/mocks/mock_storage_drivers/mock_gcp/mock_gcnvapi.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage_drivers/gcp/gcnvapi (interfaces: GCNV) +// +// Generated by this command: +// +// mockgen -package mock_api -destination=../../../mocks/mock_storage_drivers/mock_gcp/mock_gcnvapi.go github.com/netapp/trident/storage_drivers/gcp/gcnvapi GCNV +// // Package mock_api is a generated GoMock package. package mock_api @@ -9,10 +14,9 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - storage "github.com/netapp/trident/storage" gcnvapi "github.com/netapp/trident/storage_drivers/gcp/gcnvapi" + gomock "go.uber.org/mock/gomock" ) // MockGCNV is a mock of GCNV interface. @@ -61,7 +65,7 @@ func (m *MockGCNV) CapacityPoolsForStoragePool(arg0 context.Context, arg1 storag } // CapacityPoolsForStoragePool indicates an expected call of CapacityPoolsForStoragePool. -func (mr *MockGCNVMockRecorder) CapacityPoolsForStoragePool(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) CapacityPoolsForStoragePool(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CapacityPoolsForStoragePool", reflect.TypeOf((*MockGCNV)(nil).CapacityPoolsForStoragePool), arg0, arg1, arg2) } @@ -75,7 +79,7 @@ func (m *MockGCNV) CapacityPoolsForStoragePools(arg0 context.Context) []*gcnvapi } // CapacityPoolsForStoragePools indicates an expected call of CapacityPoolsForStoragePools. -func (mr *MockGCNVMockRecorder) CapacityPoolsForStoragePools(arg0 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) CapacityPoolsForStoragePools(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CapacityPoolsForStoragePools", reflect.TypeOf((*MockGCNV)(nil).CapacityPoolsForStoragePools), arg0) } @@ -90,7 +94,7 @@ func (m *MockGCNV) CreateSnapshot(arg0 context.Context, arg1 *gcnvapi.Volume, ar } // CreateSnapshot indicates an expected call of CreateSnapshot. -func (mr *MockGCNVMockRecorder) CreateSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) CreateSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSnapshot", reflect.TypeOf((*MockGCNV)(nil).CreateSnapshot), arg0, arg1, arg2) } @@ -105,7 +109,7 @@ func (m *MockGCNV) CreateVolume(arg0 context.Context, arg1 *gcnvapi.VolumeCreate } // CreateVolume indicates an expected call of CreateVolume. -func (mr *MockGCNVMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) CreateVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVolume", reflect.TypeOf((*MockGCNV)(nil).CreateVolume), arg0, arg1) } @@ -119,7 +123,7 @@ func (m *MockGCNV) DeleteSnapshot(arg0 context.Context, arg1 *gcnvapi.Volume, ar } // DeleteSnapshot indicates an expected call of DeleteSnapshot. -func (mr *MockGCNVMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) DeleteSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSnapshot", reflect.TypeOf((*MockGCNV)(nil).DeleteSnapshot), arg0, arg1, arg2) } @@ -133,7 +137,7 @@ func (m *MockGCNV) DeleteVolume(arg0 context.Context, arg1 *gcnvapi.Volume) erro } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockGCNVMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockGCNV)(nil).DeleteVolume), arg0, arg1) } @@ -147,7 +151,7 @@ func (m *MockGCNV) DiscoverGCNVResources(arg0 context.Context) error { } // DiscoverGCNVResources indicates an expected call of DiscoverGCNVResources. -func (mr *MockGCNVMockRecorder) DiscoverGCNVResources(arg0 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) DiscoverGCNVResources(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiscoverGCNVResources", reflect.TypeOf((*MockGCNV)(nil).DiscoverGCNVResources), arg0) } @@ -161,7 +165,7 @@ func (m *MockGCNV) EnsureVolumeInValidCapacityPool(arg0 context.Context, arg1 *g } // EnsureVolumeInValidCapacityPool indicates an expected call of EnsureVolumeInValidCapacityPool. -func (mr *MockGCNVMockRecorder) EnsureVolumeInValidCapacityPool(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) EnsureVolumeInValidCapacityPool(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnsureVolumeInValidCapacityPool", reflect.TypeOf((*MockGCNV)(nil).EnsureVolumeInValidCapacityPool), arg0, arg1) } @@ -175,7 +179,7 @@ func (m *MockGCNV) Init(arg0 context.Context, arg1 map[string]storage.Pool) erro } // Init indicates an expected call of Init. -func (mr *MockGCNVMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) Init(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockGCNV)(nil).Init), arg0, arg1) } @@ -189,7 +193,7 @@ func (m *MockGCNV) ModifyVolume(arg0 context.Context, arg1 *gcnvapi.Volume, arg2 } // ModifyVolume indicates an expected call of ModifyVolume. -func (mr *MockGCNVMockRecorder) ModifyVolume(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) ModifyVolume(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ModifyVolume", reflect.TypeOf((*MockGCNV)(nil).ModifyVolume), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -203,7 +207,7 @@ func (m *MockGCNV) RefreshGCNVResources(arg0 context.Context) error { } // RefreshGCNVResources indicates an expected call of RefreshGCNVResources. -func (mr *MockGCNVMockRecorder) RefreshGCNVResources(arg0 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) RefreshGCNVResources(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshGCNVResources", reflect.TypeOf((*MockGCNV)(nil).RefreshGCNVResources), arg0) } @@ -217,7 +221,7 @@ func (m *MockGCNV) ResizeVolume(arg0 context.Context, arg1 *gcnvapi.Volume, arg2 } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockGCNVMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockGCNV)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -231,7 +235,7 @@ func (m *MockGCNV) RestoreSnapshot(arg0 context.Context, arg1 *gcnvapi.Volume, a } // RestoreSnapshot indicates an expected call of RestoreSnapshot. -func (mr *MockGCNVMockRecorder) RestoreSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) RestoreSnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RestoreSnapshot", reflect.TypeOf((*MockGCNV)(nil).RestoreSnapshot), arg0, arg1, arg2) } @@ -246,7 +250,7 @@ func (m *MockGCNV) SnapshotForVolume(arg0 context.Context, arg1 *gcnvapi.Volume, } // SnapshotForVolume indicates an expected call of SnapshotForVolume. -func (mr *MockGCNVMockRecorder) SnapshotForVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) SnapshotForVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotForVolume", reflect.TypeOf((*MockGCNV)(nil).SnapshotForVolume), arg0, arg1, arg2) } @@ -261,7 +265,7 @@ func (m *MockGCNV) SnapshotsForVolume(arg0 context.Context, arg1 *gcnvapi.Volume } // SnapshotsForVolume indicates an expected call of SnapshotsForVolume. -func (mr *MockGCNVMockRecorder) SnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) SnapshotsForVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotsForVolume", reflect.TypeOf((*MockGCNV)(nil).SnapshotsForVolume), arg0, arg1) } @@ -276,7 +280,7 @@ func (m *MockGCNV) Volume(arg0 context.Context, arg1 *storage.VolumeConfig) (*gc } // Volume indicates an expected call of Volume. -func (mr *MockGCNVMockRecorder) Volume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) Volume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Volume", reflect.TypeOf((*MockGCNV)(nil).Volume), arg0, arg1) } @@ -291,7 +295,7 @@ func (m *MockGCNV) VolumeByName(arg0 context.Context, arg1 string) (*gcnvapi.Vol } // VolumeByName indicates an expected call of VolumeByName. -func (mr *MockGCNVMockRecorder) VolumeByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) VolumeByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeByName", reflect.TypeOf((*MockGCNV)(nil).VolumeByName), arg0, arg1) } @@ -307,7 +311,7 @@ func (m *MockGCNV) VolumeExists(arg0 context.Context, arg1 *storage.VolumeConfig } // VolumeExists indicates an expected call of VolumeExists. -func (mr *MockGCNVMockRecorder) VolumeExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) VolumeExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExists", reflect.TypeOf((*MockGCNV)(nil).VolumeExists), arg0, arg1) } @@ -322,7 +326,7 @@ func (m *MockGCNV) Volumes(arg0 context.Context) (*[]*gcnvapi.Volume, error) { } // Volumes indicates an expected call of Volumes. -func (mr *MockGCNVMockRecorder) Volumes(arg0 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) Volumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Volumes", reflect.TypeOf((*MockGCNV)(nil).Volumes), arg0) } @@ -336,7 +340,7 @@ func (m *MockGCNV) WaitForSnapshotState(arg0 context.Context, arg1 *gcnvapi.Snap } // WaitForSnapshotState indicates an expected call of WaitForSnapshotState. -func (mr *MockGCNVMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) WaitForSnapshotState(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForSnapshotState", reflect.TypeOf((*MockGCNV)(nil).WaitForSnapshotState), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -351,7 +355,7 @@ func (m *MockGCNV) WaitForVolumeState(arg0 context.Context, arg1 *gcnvapi.Volume } // WaitForVolumeState indicates an expected call of WaitForVolumeState. -func (mr *MockGCNVMockRecorder) WaitForVolumeState(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockGCNVMockRecorder) WaitForVolumeState(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForVolumeState", reflect.TypeOf((*MockGCNV)(nil).WaitForVolumeState), arg0, arg1, arg2, arg3, arg4) } diff --git a/mocks/mock_storage_drivers/mock_ontap/mock_api.go b/mocks/mock_storage_drivers/mock_ontap/mock_api.go index 14be47af1..d42046a82 100644 --- a/mocks/mock_storage_drivers/mock_ontap/mock_api.go +++ b/mocks/mock_storage_drivers/mock_ontap/mock_api.go @@ -14,9 +14,8 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - api "github.com/netapp/trident/storage_drivers/ontap/api" + gomock "go.uber.org/mock/gomock" ) // MockOntapAPI is a mock of OntapAPI interface. diff --git a/mocks/mock_storage_drivers/mock_ontap/mock_awsapi.go b/mocks/mock_storage_drivers/mock_ontap/mock_awsapi.go index 29a606cb1..2eacd6bc1 100644 --- a/mocks/mock_storage_drivers/mock_ontap/mock_awsapi.go +++ b/mocks/mock_storage_drivers/mock_ontap/mock_awsapi.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage_drivers/ontap/awsapi (interfaces: AWSAPI) +// +// Generated by this command: +// +// mockgen -package mock_api -destination=../../../mocks/mock_storage_drivers/mock_ontap/mock_awsapi.go github.com/netapp/trident/storage_drivers/ontap/awsapi AWSAPI +// // Package mock_api is a generated GoMock package. package mock_api @@ -9,10 +14,9 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - storage "github.com/netapp/trident/storage" awsapi "github.com/netapp/trident/storage_drivers/ontap/awsapi" + gomock "go.uber.org/mock/gomock" ) // MockAWSAPI is a mock of AWSAPI interface. @@ -48,7 +52,7 @@ func (m *MockAWSAPI) CreateVolume(arg0 context.Context, arg1 *awsapi.VolumeCreat } // CreateVolume indicates an expected call of CreateVolume. -func (mr *MockAWSAPIMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) CreateVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVolume", reflect.TypeOf((*MockAWSAPI)(nil).CreateVolume), arg0, arg1) } @@ -62,7 +66,7 @@ func (m *MockAWSAPI) DeleteVolume(arg0 context.Context, arg1 *awsapi.Volume) err } // DeleteVolume indicates an expected call of DeleteVolume. -func (mr *MockAWSAPIMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) DeleteVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVolume", reflect.TypeOf((*MockAWSAPI)(nil).DeleteVolume), arg0, arg1) } @@ -77,7 +81,7 @@ func (m *MockAWSAPI) GetFilesystemByID(arg0 context.Context, arg1 string) (*awsa } // GetFilesystemByID indicates an expected call of GetFilesystemByID. -func (mr *MockAWSAPIMockRecorder) GetFilesystemByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetFilesystemByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFilesystemByID", reflect.TypeOf((*MockAWSAPI)(nil).GetFilesystemByID), arg0, arg1) } @@ -92,7 +96,7 @@ func (m *MockAWSAPI) GetFilesystems(arg0 context.Context) (*[]*awsapi.Filesystem } // GetFilesystems indicates an expected call of GetFilesystems. -func (mr *MockAWSAPIMockRecorder) GetFilesystems(arg0 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetFilesystems(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFilesystems", reflect.TypeOf((*MockAWSAPI)(nil).GetFilesystems), arg0) } @@ -107,7 +111,7 @@ func (m *MockAWSAPI) GetSVMByID(arg0 context.Context, arg1 string) (*awsapi.SVM, } // GetSVMByID indicates an expected call of GetSVMByID. -func (mr *MockAWSAPIMockRecorder) GetSVMByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetSVMByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSVMByID", reflect.TypeOf((*MockAWSAPI)(nil).GetSVMByID), arg0, arg1) } @@ -122,7 +126,7 @@ func (m *MockAWSAPI) GetSVMs(arg0 context.Context) (*[]*awsapi.SVM, error) { } // GetSVMs indicates an expected call of GetSVMs. -func (mr *MockAWSAPIMockRecorder) GetSVMs(arg0 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetSVMs(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSVMs", reflect.TypeOf((*MockAWSAPI)(nil).GetSVMs), arg0) } @@ -137,7 +141,7 @@ func (m *MockAWSAPI) GetSecret(arg0 context.Context, arg1 string) (map[string]st } // GetSecret indicates an expected call of GetSecret. -func (mr *MockAWSAPIMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetSecret(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecret", reflect.TypeOf((*MockAWSAPI)(nil).GetSecret), arg0, arg1) } @@ -152,7 +156,7 @@ func (m *MockAWSAPI) GetVolume(arg0 context.Context, arg1 *storage.VolumeConfig) } // GetVolume indicates an expected call of GetVolume. -func (mr *MockAWSAPIMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolume", reflect.TypeOf((*MockAWSAPI)(nil).GetVolume), arg0, arg1) } @@ -167,7 +171,7 @@ func (m *MockAWSAPI) GetVolumeByARN(arg0 context.Context, arg1 string) (*awsapi. } // GetVolumeByARN indicates an expected call of GetVolumeByARN. -func (mr *MockAWSAPIMockRecorder) GetVolumeByARN(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetVolumeByARN(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByARN", reflect.TypeOf((*MockAWSAPI)(nil).GetVolumeByARN), arg0, arg1) } @@ -182,7 +186,7 @@ func (m *MockAWSAPI) GetVolumeByID(arg0 context.Context, arg1 string) (*awsapi.V } // GetVolumeByID indicates an expected call of GetVolumeByID. -func (mr *MockAWSAPIMockRecorder) GetVolumeByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetVolumeByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByID", reflect.TypeOf((*MockAWSAPI)(nil).GetVolumeByID), arg0, arg1) } @@ -197,7 +201,7 @@ func (m *MockAWSAPI) GetVolumeByName(arg0 context.Context, arg1 string) (*awsapi } // GetVolumeByName indicates an expected call of GetVolumeByName. -func (mr *MockAWSAPIMockRecorder) GetVolumeByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetVolumeByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumeByName", reflect.TypeOf((*MockAWSAPI)(nil).GetVolumeByName), arg0, arg1) } @@ -212,7 +216,7 @@ func (m *MockAWSAPI) GetVolumes(arg0 context.Context) (*[]*awsapi.Volume, error) } // GetVolumes indicates an expected call of GetVolumes. -func (mr *MockAWSAPIMockRecorder) GetVolumes(arg0 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) GetVolumes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVolumes", reflect.TypeOf((*MockAWSAPI)(nil).GetVolumes), arg0) } @@ -226,7 +230,7 @@ func (m *MockAWSAPI) RelabelVolume(arg0 context.Context, arg1 *awsapi.Volume, ar } // RelabelVolume indicates an expected call of RelabelVolume. -func (mr *MockAWSAPIMockRecorder) RelabelVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) RelabelVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RelabelVolume", reflect.TypeOf((*MockAWSAPI)(nil).RelabelVolume), arg0, arg1, arg2) } @@ -241,7 +245,7 @@ func (m *MockAWSAPI) ResizeVolume(arg0 context.Context, arg1 *awsapi.Volume, arg } // ResizeVolume indicates an expected call of ResizeVolume. -func (mr *MockAWSAPIMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) ResizeVolume(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResizeVolume", reflect.TypeOf((*MockAWSAPI)(nil).ResizeVolume), arg0, arg1, arg2) } @@ -257,7 +261,7 @@ func (m *MockAWSAPI) VolumeExists(arg0 context.Context, arg1 *storage.VolumeConf } // VolumeExists indicates an expected call of VolumeExists. -func (mr *MockAWSAPIMockRecorder) VolumeExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) VolumeExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExists", reflect.TypeOf((*MockAWSAPI)(nil).VolumeExists), arg0, arg1) } @@ -273,7 +277,7 @@ func (m *MockAWSAPI) VolumeExistsByARN(arg0 context.Context, arg1 string) (bool, } // VolumeExistsByARN indicates an expected call of VolumeExistsByARN. -func (mr *MockAWSAPIMockRecorder) VolumeExistsByARN(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) VolumeExistsByARN(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByARN", reflect.TypeOf((*MockAWSAPI)(nil).VolumeExistsByARN), arg0, arg1) } @@ -289,7 +293,7 @@ func (m *MockAWSAPI) VolumeExistsByID(arg0 context.Context, arg1 string) (bool, } // VolumeExistsByID indicates an expected call of VolumeExistsByID. -func (mr *MockAWSAPIMockRecorder) VolumeExistsByID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) VolumeExistsByID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByID", reflect.TypeOf((*MockAWSAPI)(nil).VolumeExistsByID), arg0, arg1) } @@ -305,7 +309,7 @@ func (m *MockAWSAPI) VolumeExistsByName(arg0 context.Context, arg1 string) (bool } // VolumeExistsByName indicates an expected call of VolumeExistsByName. -func (mr *MockAWSAPIMockRecorder) VolumeExistsByName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) VolumeExistsByName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExistsByName", reflect.TypeOf((*MockAWSAPI)(nil).VolumeExistsByName), arg0, arg1) } @@ -320,7 +324,7 @@ func (m *MockAWSAPI) WaitForVolumeStates(arg0 context.Context, arg1 *awsapi.Volu } // WaitForVolumeStates indicates an expected call of WaitForVolumeStates. -func (mr *MockAWSAPIMockRecorder) WaitForVolumeStates(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockAWSAPIMockRecorder) WaitForVolumeStates(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForVolumeStates", reflect.TypeOf((*MockAWSAPI)(nil).WaitForVolumeStates), arg0, arg1, arg2, arg3, arg4) } diff --git a/mocks/mock_storage_drivers/mock_ontap/mock_ontap_rest_interface.go b/mocks/mock_storage_drivers/mock_ontap/mock_ontap_rest_interface.go index cc3fc9555..68dbf4b67 100644 --- a/mocks/mock_storage_drivers/mock_ontap/mock_ontap_rest_interface.go +++ b/mocks/mock_storage_drivers/mock_ontap/mock_ontap_rest_interface.go @@ -13,8 +13,6 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - api "github.com/netapp/trident/storage_drivers/ontap/api" cluster "github.com/netapp/trident/storage_drivers/ontap/api/rest/client/cluster" n_a_s "github.com/netapp/trident/storage_drivers/ontap/api/rest/client/n_a_s" @@ -25,6 +23,7 @@ import ( storage "github.com/netapp/trident/storage_drivers/ontap/api/rest/client/storage" svm "github.com/netapp/trident/storage_drivers/ontap/api/rest/client/svm" models "github.com/netapp/trident/storage_drivers/ontap/api/rest/models" + gomock "go.uber.org/mock/gomock" ) // MockRestClientInterface is a mock of RestClientInterface interface. diff --git a/mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go b/mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go index 3ebb71bd3..504121fe7 100644 --- a/mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go +++ b/mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/storage_drivers/ontap/api (interfaces: ZapiClientInterface) +// +// Generated by this command: +// +// mockgen -destination=../../../mocks/mock_storage_drivers/mock_ontap/mock_ontap_zapi_interface.go github.com/netapp/trident/storage_drivers/ontap/api ZapiClientInterface +// // Package mock_api is a generated GoMock package. package mock_api @@ -9,10 +14,9 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - api "github.com/netapp/trident/storage_drivers/ontap/api" azgo "github.com/netapp/trident/storage_drivers/ontap/api/azgo" + gomock "go.uber.org/mock/gomock" ) // MockZapiClientInterface is a mock of ZapiClientInterface interface. @@ -48,7 +52,7 @@ func (m *MockZapiClientInterface) AggrSpaceGetIterRequest(arg0 string) (*azgo.Ag } // AggrSpaceGetIterRequest indicates an expected call of AggrSpaceGetIterRequest. -func (mr *MockZapiClientInterfaceMockRecorder) AggrSpaceGetIterRequest(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) AggrSpaceGetIterRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AggrSpaceGetIterRequest", reflect.TypeOf((*MockZapiClientInterface)(nil).AggrSpaceGetIterRequest), arg0) } @@ -63,7 +67,7 @@ func (m *MockZapiClientInterface) AggregateCommitment(arg0 context.Context, arg1 } // AggregateCommitment indicates an expected call of AggregateCommitment. -func (mr *MockZapiClientInterfaceMockRecorder) AggregateCommitment(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) AggregateCommitment(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AggregateCommitment", reflect.TypeOf((*MockZapiClientInterface)(nil).AggregateCommitment), arg0, arg1) } @@ -92,7 +96,7 @@ func (m *MockZapiClientInterface) EmsAutosupportLog(arg0 string, arg1 bool, arg2 } // EmsAutosupportLog indicates an expected call of EmsAutosupportLog. -func (mr *MockZapiClientInterfaceMockRecorder) EmsAutosupportLog(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) EmsAutosupportLog(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EmsAutosupportLog", reflect.TypeOf((*MockZapiClientInterface)(nil).EmsAutosupportLog), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } @@ -107,7 +111,7 @@ func (m *MockZapiClientInterface) ExportPolicyCreate(arg0 string) (*azgo.ExportP } // ExportPolicyCreate indicates an expected call of ExportPolicyCreate. -func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyCreate(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyCreate(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportPolicyCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportPolicyCreate), arg0) } @@ -122,7 +126,7 @@ func (m *MockZapiClientInterface) ExportPolicyDestroy(arg0 string) (*azgo.Export } // ExportPolicyDestroy indicates an expected call of ExportPolicyDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyDestroy(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyDestroy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportPolicyDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportPolicyDestroy), arg0) } @@ -137,7 +141,7 @@ func (m *MockZapiClientInterface) ExportPolicyGet(arg0 string) (*azgo.ExportPoli } // ExportPolicyGet indicates an expected call of ExportPolicyGet. -func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyGet(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportPolicyGet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportPolicyGet", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportPolicyGet), arg0) } @@ -152,7 +156,7 @@ func (m *MockZapiClientInterface) ExportRuleCreate(arg0, arg1 string, arg2, arg3 } // ExportRuleCreate indicates an expected call of ExportRuleCreate. -func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleCreate(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportRuleCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportRuleCreate), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -167,7 +171,7 @@ func (m *MockZapiClientInterface) ExportRuleDestroy(arg0 string, arg1 int) (*azg } // ExportRuleDestroy indicates an expected call of ExportRuleDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleDestroy(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleDestroy(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportRuleDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportRuleDestroy), arg0, arg1) } @@ -182,7 +186,7 @@ func (m *MockZapiClientInterface) ExportRuleGetIterRequest(arg0 string) (*azgo.E } // ExportRuleGetIterRequest indicates an expected call of ExportRuleGetIterRequest. -func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleGetIterRequest(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) ExportRuleGetIterRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExportRuleGetIterRequest", reflect.TypeOf((*MockZapiClientInterface)(nil).ExportRuleGetIterRequest), arg0) } @@ -197,7 +201,7 @@ func (m *MockZapiClientInterface) FlexGroupCreate(arg0 context.Context, arg1 str } // FlexGroupCreate indicates an expected call of FlexGroupCreate. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupCreate), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } @@ -212,7 +216,7 @@ func (m *MockZapiClientInterface) FlexGroupDestroy(arg0 context.Context, arg1 st } // FlexGroupDestroy indicates an expected call of FlexGroupDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupDestroy(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupDestroy(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupDestroy), arg0, arg1, arg2) } @@ -227,7 +231,7 @@ func (m *MockZapiClientInterface) FlexGroupExists(arg0 context.Context, arg1 str } // FlexGroupExists indicates an expected call of FlexGroupExists. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupExists", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupExists), arg0, arg1) } @@ -242,7 +246,7 @@ func (m *MockZapiClientInterface) FlexGroupGet(arg0 string) (*azgo.VolumeAttribu } // FlexGroupGet indicates an expected call of FlexGroupGet. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupGet(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupGet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupGet", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupGet), arg0) } @@ -257,7 +261,7 @@ func (m *MockZapiClientInterface) FlexGroupGetAll(arg0 string) (*azgo.VolumeGetI } // FlexGroupGetAll indicates an expected call of FlexGroupGetAll. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupGetAll(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupGetAll(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupGetAll", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupGetAll), arg0) } @@ -272,7 +276,7 @@ func (m *MockZapiClientInterface) FlexGroupModifyUnixPermissions(arg0 context.Co } // FlexGroupModifyUnixPermissions indicates an expected call of FlexGroupModifyUnixPermissions. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupModifyUnixPermissions(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupModifyUnixPermissions(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupModifyUnixPermissions", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupModifyUnixPermissions), arg0, arg1, arg2) } @@ -287,7 +291,7 @@ func (m *MockZapiClientInterface) FlexGroupSetComment(arg0 context.Context, arg1 } // FlexGroupSetComment indicates an expected call of FlexGroupSetComment. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSetComment(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSetComment(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupSetComment", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupSetComment), arg0, arg1, arg2) } @@ -302,7 +306,7 @@ func (m *MockZapiClientInterface) FlexGroupSetSize(arg0 context.Context, arg1, a } // FlexGroupSetSize indicates an expected call of FlexGroupSetSize. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSetSize(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSetSize(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupSetSize", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupSetSize), arg0, arg1, arg2) } @@ -317,7 +321,7 @@ func (m *MockZapiClientInterface) FlexGroupSize(arg0 string) (int, error) { } // FlexGroupSize indicates an expected call of FlexGroupSize. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupSize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupSize", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupSize), arg0) } @@ -332,7 +336,7 @@ func (m *MockZapiClientInterface) FlexGroupUsedSize(arg0 string) (int, error) { } // FlexGroupUsedSize indicates an expected call of FlexGroupUsedSize. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupUsedSize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupUsedSize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupUsedSize", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupUsedSize), arg0) } @@ -347,7 +351,7 @@ func (m *MockZapiClientInterface) FlexGroupVolumeModifySnapshotDirectoryAccess(a } // FlexGroupVolumeModifySnapshotDirectoryAccess indicates an expected call of FlexGroupVolumeModifySnapshotDirectoryAccess. -func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupVolumeModifySnapshotDirectoryAccess(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) FlexGroupVolumeModifySnapshotDirectoryAccess(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlexGroupVolumeModifySnapshotDirectoryAccess", reflect.TypeOf((*MockZapiClientInterface)(nil).FlexGroupVolumeModifySnapshotDirectoryAccess), arg0, arg1, arg2) } @@ -390,7 +394,7 @@ func (m *MockZapiClientInterface) GetPeeredVservers(arg0 context.Context) ([]str } // GetPeeredVservers indicates an expected call of GetPeeredVservers. -func (mr *MockZapiClientInterfaceMockRecorder) GetPeeredVservers(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) GetPeeredVservers(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPeeredVservers", reflect.TypeOf((*MockZapiClientInterface)(nil).GetPeeredVservers), arg0) } @@ -405,7 +409,7 @@ func (m *MockZapiClientInterface) GetSVMState(arg0 context.Context) (string, err } // GetSVMState indicates an expected call of GetSVMState. -func (mr *MockZapiClientInterfaceMockRecorder) GetSVMState(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) GetSVMState(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSVMState", reflect.TypeOf((*MockZapiClientInterface)(nil).GetSVMState), arg0) } @@ -420,7 +424,7 @@ func (m *MockZapiClientInterface) IgroupAdd(arg0, arg1 string) (*azgo.IgroupAddR } // IgroupAdd indicates an expected call of IgroupAdd. -func (mr *MockZapiClientInterfaceMockRecorder) IgroupAdd(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IgroupAdd(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IgroupAdd", reflect.TypeOf((*MockZapiClientInterface)(nil).IgroupAdd), arg0, arg1) } @@ -435,7 +439,7 @@ func (m *MockZapiClientInterface) IgroupCreate(arg0, arg1, arg2 string) (*azgo.I } // IgroupCreate indicates an expected call of IgroupCreate. -func (mr *MockZapiClientInterfaceMockRecorder) IgroupCreate(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IgroupCreate(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IgroupCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).IgroupCreate), arg0, arg1, arg2) } @@ -450,7 +454,7 @@ func (m *MockZapiClientInterface) IgroupDestroy(arg0 string) (*azgo.IgroupDestro } // IgroupDestroy indicates an expected call of IgroupDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) IgroupDestroy(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IgroupDestroy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IgroupDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).IgroupDestroy), arg0) } @@ -465,7 +469,7 @@ func (m *MockZapiClientInterface) IgroupGet(arg0 string) (*azgo.InitiatorGroupIn } // IgroupGet indicates an expected call of IgroupGet. -func (mr *MockZapiClientInterfaceMockRecorder) IgroupGet(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IgroupGet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IgroupGet", reflect.TypeOf((*MockZapiClientInterface)(nil).IgroupGet), arg0) } @@ -495,7 +499,7 @@ func (m *MockZapiClientInterface) IgroupRemove(arg0, arg1 string, arg2 bool) (*a } // IgroupRemove indicates an expected call of IgroupRemove. -func (mr *MockZapiClientInterfaceMockRecorder) IgroupRemove(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IgroupRemove(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IgroupRemove", reflect.TypeOf((*MockZapiClientInterface)(nil).IgroupRemove), arg0, arg1, arg2) } @@ -510,7 +514,7 @@ func (m *MockZapiClientInterface) IsVserverDRCapable(arg0 context.Context) (bool } // IsVserverDRCapable indicates an expected call of IsVserverDRCapable. -func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRCapable(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRCapable(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsVserverDRCapable", reflect.TypeOf((*MockZapiClientInterface)(nil).IsVserverDRCapable), arg0) } @@ -525,7 +529,7 @@ func (m *MockZapiClientInterface) IsVserverDRDestination(arg0 context.Context) ( } // IsVserverDRDestination indicates an expected call of IsVserverDRDestination. -func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRDestination(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRDestination(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsVserverDRDestination", reflect.TypeOf((*MockZapiClientInterface)(nil).IsVserverDRDestination), arg0) } @@ -540,7 +544,7 @@ func (m *MockZapiClientInterface) IsVserverDRSource(arg0 context.Context) (bool, } // IsVserverDRSource indicates an expected call of IsVserverDRSource. -func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRSource(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IsVserverDRSource(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsVserverDRSource", reflect.TypeOf((*MockZapiClientInterface)(nil).IsVserverDRSource), arg0) } @@ -555,7 +559,7 @@ func (m *MockZapiClientInterface) IscsiInitiatorAddAuth(arg0, arg1, arg2, arg3, } // IscsiInitiatorAddAuth indicates an expected call of IscsiInitiatorAddAuth. -func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorAddAuth(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorAddAuth(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IscsiInitiatorAddAuth", reflect.TypeOf((*MockZapiClientInterface)(nil).IscsiInitiatorAddAuth), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -585,7 +589,7 @@ func (m *MockZapiClientInterface) IscsiInitiatorDeleteAuth(arg0 string) (*azgo.I } // IscsiInitiatorDeleteAuth indicates an expected call of IscsiInitiatorDeleteAuth. -func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorDeleteAuth(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorDeleteAuth(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IscsiInitiatorDeleteAuth", reflect.TypeOf((*MockZapiClientInterface)(nil).IscsiInitiatorDeleteAuth), arg0) } @@ -600,7 +604,7 @@ func (m *MockZapiClientInterface) IscsiInitiatorGetAuth(arg0 string) (*azgo.Iscs } // IscsiInitiatorGetAuth indicates an expected call of IscsiInitiatorGetAuth. -func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorGetAuth(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorGetAuth(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IscsiInitiatorGetAuth", reflect.TypeOf((*MockZapiClientInterface)(nil).IscsiInitiatorGetAuth), arg0) } @@ -645,7 +649,7 @@ func (m *MockZapiClientInterface) IscsiInitiatorModifyCHAPParams(arg0, arg1, arg } // IscsiInitiatorModifyCHAPParams indicates an expected call of IscsiInitiatorModifyCHAPParams. -func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorModifyCHAPParams(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorModifyCHAPParams(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IscsiInitiatorModifyCHAPParams", reflect.TypeOf((*MockZapiClientInterface)(nil).IscsiInitiatorModifyCHAPParams), arg0, arg1, arg2, arg3, arg4) } @@ -660,7 +664,7 @@ func (m *MockZapiClientInterface) IscsiInitiatorSetDefaultAuth(arg0, arg1, arg2, } // IscsiInitiatorSetDefaultAuth indicates an expected call of IscsiInitiatorSetDefaultAuth. -func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorSetDefaultAuth(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) IscsiInitiatorSetDefaultAuth(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IscsiInitiatorSetDefaultAuth", reflect.TypeOf((*MockZapiClientInterface)(nil).IscsiInitiatorSetDefaultAuth), arg0, arg1, arg2, arg3, arg4) } @@ -720,7 +724,7 @@ func (m *MockZapiClientInterface) JobGetIterStatus(arg0 int) (*azgo.JobGetIterRe } // JobGetIterStatus indicates an expected call of JobGetIterStatus. -func (mr *MockZapiClientInterfaceMockRecorder) JobGetIterStatus(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) JobGetIterStatus(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "JobGetIterStatus", reflect.TypeOf((*MockZapiClientInterface)(nil).JobGetIterStatus), arg0) } @@ -735,7 +739,7 @@ func (m *MockZapiClientInterface) JobScheduleExists(arg0 context.Context, arg1 s } // JobScheduleExists indicates an expected call of JobScheduleExists. -func (mr *MockZapiClientInterfaceMockRecorder) JobScheduleExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) JobScheduleExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "JobScheduleExists", reflect.TypeOf((*MockZapiClientInterface)(nil).JobScheduleExists), arg0, arg1) } @@ -750,7 +754,7 @@ func (m *MockZapiClientInterface) LunCloneCreate(arg0, arg1, arg2 string, arg3 a } // LunCloneCreate indicates an expected call of LunCloneCreate. -func (mr *MockZapiClientInterfaceMockRecorder) LunCloneCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunCloneCreate(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunCloneCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).LunCloneCreate), arg0, arg1, arg2, arg3) } @@ -765,7 +769,7 @@ func (m *MockZapiClientInterface) LunCount(arg0 context.Context, arg1 string) (i } // LunCount indicates an expected call of LunCount. -func (mr *MockZapiClientInterfaceMockRecorder) LunCount(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunCount(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunCount", reflect.TypeOf((*MockZapiClientInterface)(nil).LunCount), arg0, arg1) } @@ -780,7 +784,7 @@ func (m *MockZapiClientInterface) LunCreate(arg0 string, arg1 int, arg2 string, } // LunCreate indicates an expected call of LunCreate. -func (mr *MockZapiClientInterfaceMockRecorder) LunCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunCreate(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).LunCreate), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -795,7 +799,7 @@ func (m *MockZapiClientInterface) LunDestroy(arg0 string) (*azgo.LunDestroyRespo } // LunDestroy indicates an expected call of LunDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) LunDestroy(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunDestroy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).LunDestroy), arg0) } @@ -810,7 +814,7 @@ func (m *MockZapiClientInterface) LunGet(arg0 string) (*azgo.LunInfoType, error) } // LunGet indicates an expected call of LunGet. -func (mr *MockZapiClientInterfaceMockRecorder) LunGet(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGet", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGet), arg0) } @@ -825,7 +829,7 @@ func (m *MockZapiClientInterface) LunGetAll(arg0 string) (*azgo.LunGetIterRespon } // LunGetAll indicates an expected call of LunGetAll. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetAll(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetAll(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetAll", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetAll), arg0) } @@ -840,7 +844,7 @@ func (m *MockZapiClientInterface) LunGetAllForVolume(arg0 string) (*azgo.LunGetI } // LunGetAllForVolume indicates an expected call of LunGetAllForVolume. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetAllForVolume(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetAllForVolume(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetAllForVolume", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetAllForVolume), arg0) } @@ -855,7 +859,7 @@ func (m *MockZapiClientInterface) LunGetAllForVserver(arg0 string) (*azgo.LunGet } // LunGetAllForVserver indicates an expected call of LunGetAllForVserver. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetAllForVserver(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetAllForVserver(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetAllForVserver", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetAllForVserver), arg0) } @@ -870,7 +874,7 @@ func (m *MockZapiClientInterface) LunGetAttribute(arg0 context.Context, arg1, ar } // LunGetAttribute indicates an expected call of LunGetAttribute. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetAttribute(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetAttribute(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetAttribute", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetAttribute), arg0, arg1, arg2) } @@ -885,7 +889,7 @@ func (m *MockZapiClientInterface) LunGetComment(arg0 context.Context, arg1 strin } // LunGetComment indicates an expected call of LunGetComment. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetComment(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetComment(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetComment", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetComment), arg0, arg1) } @@ -900,7 +904,7 @@ func (m *MockZapiClientInterface) LunGetGeometry(arg0 string) (*azgo.LunGetGeome } // LunGetGeometry indicates an expected call of LunGetGeometry. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetGeometry(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetGeometry(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetGeometry", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetGeometry), arg0) } @@ -915,7 +919,7 @@ func (m *MockZapiClientInterface) LunGetSerialNumber(arg0 string) (*azgo.LunGetS } // LunGetSerialNumber indicates an expected call of LunGetSerialNumber. -func (mr *MockZapiClientInterfaceMockRecorder) LunGetSerialNumber(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunGetSerialNumber(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunGetSerialNumber", reflect.TypeOf((*MockZapiClientInterface)(nil).LunGetSerialNumber), arg0) } @@ -930,7 +934,7 @@ func (m *MockZapiClientInterface) LunMap(arg0, arg1 string, arg2 int) (*azgo.Lun } // LunMap indicates an expected call of LunMap. -func (mr *MockZapiClientInterfaceMockRecorder) LunMap(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMap(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMap", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMap), arg0, arg1, arg2) } @@ -945,7 +949,7 @@ func (m *MockZapiClientInterface) LunMapAutoID(arg0, arg1 string) (*azgo.LunMapR } // LunMapAutoID indicates an expected call of LunMapAutoID. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapAutoID(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapAutoID(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapAutoID", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapAutoID), arg0, arg1) } @@ -960,7 +964,7 @@ func (m *MockZapiClientInterface) LunMapGet(arg0, arg1 string) (*azgo.LunMapGetI } // LunMapGet indicates an expected call of LunMapGet. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapGet(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapGet(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapGet", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapGet), arg0, arg1) } @@ -975,7 +979,7 @@ func (m *MockZapiClientInterface) LunMapIfNotMapped(arg0 context.Context, arg1, } // LunMapIfNotMapped indicates an expected call of LunMapIfNotMapped. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapIfNotMapped(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapIfNotMapped(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapIfNotMapped", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapIfNotMapped), arg0, arg1, arg2) } @@ -990,7 +994,7 @@ func (m *MockZapiClientInterface) LunMapListInfo(arg0 string) (*azgo.LunMapListI } // LunMapListInfo indicates an expected call of LunMapListInfo. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapListInfo(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapListInfo(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapListInfo", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapListInfo), arg0) } @@ -1005,7 +1009,7 @@ func (m *MockZapiClientInterface) LunMapsGetByIgroup(arg0 string) (*azgo.LunMapG } // LunMapsGetByIgroup indicates an expected call of LunMapsGetByIgroup. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapsGetByIgroup(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapsGetByIgroup(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapsGetByIgroup", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapsGetByIgroup), arg0) } @@ -1020,7 +1024,7 @@ func (m *MockZapiClientInterface) LunMapsGetByLun(arg0 string) (*azgo.LunMapGetI } // LunMapsGetByLun indicates an expected call of LunMapsGetByLun. -func (mr *MockZapiClientInterfaceMockRecorder) LunMapsGetByLun(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunMapsGetByLun(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunMapsGetByLun", reflect.TypeOf((*MockZapiClientInterface)(nil).LunMapsGetByLun), arg0) } @@ -1035,7 +1039,7 @@ func (m *MockZapiClientInterface) LunOffline(arg0 string) (*azgo.LunOfflineRespo } // LunOffline indicates an expected call of LunOffline. -func (mr *MockZapiClientInterfaceMockRecorder) LunOffline(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunOffline(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunOffline", reflect.TypeOf((*MockZapiClientInterface)(nil).LunOffline), arg0) } @@ -1050,7 +1054,7 @@ func (m *MockZapiClientInterface) LunOnline(arg0 string) (*azgo.LunOnlineRespons } // LunOnline indicates an expected call of LunOnline. -func (mr *MockZapiClientInterfaceMockRecorder) LunOnline(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunOnline(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunOnline", reflect.TypeOf((*MockZapiClientInterface)(nil).LunOnline), arg0) } @@ -1065,7 +1069,7 @@ func (m *MockZapiClientInterface) LunRename(arg0, arg1 string) (*azgo.LunMoveRes } // LunRename indicates an expected call of LunRename. -func (mr *MockZapiClientInterfaceMockRecorder) LunRename(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunRename(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunRename", reflect.TypeOf((*MockZapiClientInterface)(nil).LunRename), arg0, arg1) } @@ -1080,7 +1084,7 @@ func (m *MockZapiClientInterface) LunResize(arg0 string, arg1 int) (uint64, erro } // LunResize indicates an expected call of LunResize. -func (mr *MockZapiClientInterfaceMockRecorder) LunResize(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunResize(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunResize", reflect.TypeOf((*MockZapiClientInterface)(nil).LunResize), arg0, arg1) } @@ -1095,7 +1099,7 @@ func (m *MockZapiClientInterface) LunSetAttribute(arg0, arg1, arg2 string) (*azg } // LunSetAttribute indicates an expected call of LunSetAttribute. -func (mr *MockZapiClientInterfaceMockRecorder) LunSetAttribute(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunSetAttribute(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunSetAttribute", reflect.TypeOf((*MockZapiClientInterface)(nil).LunSetAttribute), arg0, arg1, arg2) } @@ -1110,7 +1114,7 @@ func (m *MockZapiClientInterface) LunSetQosPolicyGroup(arg0 string, arg1 api.Qos } // LunSetQosPolicyGroup indicates an expected call of LunSetQosPolicyGroup. -func (mr *MockZapiClientInterfaceMockRecorder) LunSetQosPolicyGroup(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunSetQosPolicyGroup(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunSetQosPolicyGroup", reflect.TypeOf((*MockZapiClientInterface)(nil).LunSetQosPolicyGroup), arg0, arg1) } @@ -1125,7 +1129,7 @@ func (m *MockZapiClientInterface) LunSize(arg0 string) (int, error) { } // LunSize indicates an expected call of LunSize. -func (mr *MockZapiClientInterfaceMockRecorder) LunSize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunSize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunSize", reflect.TypeOf((*MockZapiClientInterface)(nil).LunSize), arg0) } @@ -1140,7 +1144,7 @@ func (m *MockZapiClientInterface) LunUnmap(arg0, arg1 string) (*azgo.LunUnmapRes } // LunUnmap indicates an expected call of LunUnmap. -func (mr *MockZapiClientInterfaceMockRecorder) LunUnmap(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) LunUnmap(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LunUnmap", reflect.TypeOf((*MockZapiClientInterface)(nil).LunUnmap), arg0, arg1) } @@ -1170,7 +1174,7 @@ func (m *MockZapiClientInterface) NetInterfaceGetDataLIFs(arg0 context.Context, } // NetInterfaceGetDataLIFs indicates an expected call of NetInterfaceGetDataLIFs. -func (mr *MockZapiClientInterfaceMockRecorder) NetInterfaceGetDataLIFs(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) NetInterfaceGetDataLIFs(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetInterfaceGetDataLIFs", reflect.TypeOf((*MockZapiClientInterface)(nil).NetInterfaceGetDataLIFs), arg0, arg1) } @@ -1185,7 +1189,7 @@ func (m *MockZapiClientInterface) NodeListSerialNumbers(arg0 context.Context) ([ } // NodeListSerialNumbers indicates an expected call of NodeListSerialNumbers. -func (mr *MockZapiClientInterfaceMockRecorder) NodeListSerialNumbers(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) NodeListSerialNumbers(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NodeListSerialNumbers", reflect.TypeOf((*MockZapiClientInterface)(nil).NodeListSerialNumbers), arg0) } @@ -1200,7 +1204,7 @@ func (m *MockZapiClientInterface) QtreeCount(arg0 context.Context, arg1 string) } // QtreeCount indicates an expected call of QtreeCount. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeCount(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeCount(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeCount", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeCount), arg0, arg1) } @@ -1215,7 +1219,7 @@ func (m *MockZapiClientInterface) QtreeCreate(arg0, arg1, arg2, arg3, arg4, arg5 } // QtreeCreate indicates an expected call of QtreeCreate. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeCreate(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeCreate), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -1230,7 +1234,7 @@ func (m *MockZapiClientInterface) QtreeDestroyAsync(arg0 string, arg1 bool) (*az } // QtreeDestroyAsync indicates an expected call of QtreeDestroyAsync. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeDestroyAsync(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeDestroyAsync(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeDestroyAsync", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeDestroyAsync), arg0, arg1) } @@ -1246,7 +1250,7 @@ func (m *MockZapiClientInterface) QtreeExists(arg0 context.Context, arg1, arg2 s } // QtreeExists indicates an expected call of QtreeExists. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeExists(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeExists(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeExists", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeExists), arg0, arg1, arg2) } @@ -1261,7 +1265,7 @@ func (m *MockZapiClientInterface) QtreeGet(arg0, arg1 string) (*azgo.QtreeInfoTy } // QtreeGet indicates an expected call of QtreeGet. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeGet(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeGet(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeGet", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeGet), arg0, arg1) } @@ -1276,7 +1280,7 @@ func (m *MockZapiClientInterface) QtreeGetAll(arg0 string) (*azgo.QtreeListIterR } // QtreeGetAll indicates an expected call of QtreeGetAll. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeGetAll(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeGetAll(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeGetAll", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeGetAll), arg0) } @@ -1291,7 +1295,7 @@ func (m *MockZapiClientInterface) QtreeList(arg0, arg1 string) (*azgo.QtreeListI } // QtreeList indicates an expected call of QtreeList. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeList(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeList(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeList", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeList), arg0, arg1) } @@ -1306,7 +1310,7 @@ func (m *MockZapiClientInterface) QtreeModifyExportPolicy(arg0, arg1, arg2 strin } // QtreeModifyExportPolicy indicates an expected call of QtreeModifyExportPolicy. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeModifyExportPolicy(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeModifyExportPolicy(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeModifyExportPolicy", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeModifyExportPolicy), arg0, arg1, arg2) } @@ -1321,7 +1325,7 @@ func (m *MockZapiClientInterface) QtreeRename(arg0, arg1 string) (*azgo.QtreeRen } // QtreeRename indicates an expected call of QtreeRename. -func (mr *MockZapiClientInterfaceMockRecorder) QtreeRename(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QtreeRename(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QtreeRename", reflect.TypeOf((*MockZapiClientInterface)(nil).QtreeRename), arg0, arg1) } @@ -1336,7 +1340,7 @@ func (m *MockZapiClientInterface) QuotaEntryList(arg0 string) (*azgo.QuotaListEn } // QuotaEntryList indicates an expected call of QuotaEntryList. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaEntryList(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaEntryList(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaEntryList", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaEntryList), arg0) } @@ -1351,7 +1355,7 @@ func (m *MockZapiClientInterface) QuotaGetEntry(arg0, arg1 string) (*azgo.QuotaE } // QuotaGetEntry indicates an expected call of QuotaGetEntry. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaGetEntry(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaGetEntry(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaGetEntry", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaGetEntry), arg0, arg1) } @@ -1366,7 +1370,7 @@ func (m *MockZapiClientInterface) QuotaOff(arg0 string) (*azgo.QuotaOffResponse, } // QuotaOff indicates an expected call of QuotaOff. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaOff(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaOff(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaOff", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaOff), arg0) } @@ -1381,7 +1385,7 @@ func (m *MockZapiClientInterface) QuotaOn(arg0 string) (*azgo.QuotaOnResponse, e } // QuotaOn indicates an expected call of QuotaOn. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaOn(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaOn(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaOn", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaOn), arg0) } @@ -1396,7 +1400,7 @@ func (m *MockZapiClientInterface) QuotaResize(arg0 string) (*azgo.QuotaResizeRes } // QuotaResize indicates an expected call of QuotaResize. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaResize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaResize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaResize", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaResize), arg0) } @@ -1411,7 +1415,7 @@ func (m *MockZapiClientInterface) QuotaSetEntry(arg0, arg1, arg2, arg3, arg4 str } // QuotaSetEntry indicates an expected call of QuotaSetEntry. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaSetEntry(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaSetEntry(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaSetEntry", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaSetEntry), arg0, arg1, arg2, arg3, arg4) } @@ -1426,7 +1430,7 @@ func (m *MockZapiClientInterface) QuotaStatus(arg0 string) (*azgo.QuotaStatusRes } // QuotaStatus indicates an expected call of QuotaStatus. -func (mr *MockZapiClientInterfaceMockRecorder) QuotaStatus(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) QuotaStatus(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QuotaStatus", reflect.TypeOf((*MockZapiClientInterface)(nil).QuotaStatus), arg0) } @@ -1441,7 +1445,7 @@ func (m *MockZapiClientInterface) SMBShareCreate(arg0, arg1 string) (*azgo.CifsS } // SMBShareCreate indicates an expected call of SMBShareCreate. -func (mr *MockZapiClientInterfaceMockRecorder) SMBShareCreate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SMBShareCreate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMBShareCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).SMBShareCreate), arg0, arg1) } @@ -1456,7 +1460,7 @@ func (m *MockZapiClientInterface) SMBShareDestroy(arg0 string) (*azgo.CifsShareD } // SMBShareDestroy indicates an expected call of SMBShareDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) SMBShareDestroy(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SMBShareDestroy(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMBShareDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).SMBShareDestroy), arg0) } @@ -1471,7 +1475,7 @@ func (m *MockZapiClientInterface) SMBShareExists(arg0 string) (bool, error) { } // SMBShareExists indicates an expected call of SMBShareExists. -func (mr *MockZapiClientInterfaceMockRecorder) SMBShareExists(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SMBShareExists(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMBShareExists", reflect.TypeOf((*MockZapiClientInterface)(nil).SMBShareExists), arg0) } @@ -1540,7 +1544,7 @@ func (m *MockZapiClientInterface) SetSVMMCC(arg0 bool) { } // SetSVMMCC indicates an expected call of SetSVMMCC. -func (mr *MockZapiClientInterfaceMockRecorder) SetSVMMCC(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SetSVMMCC(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSVMMCC", reflect.TypeOf((*MockZapiClientInterface)(nil).SetSVMMCC), arg0) } @@ -1552,7 +1556,7 @@ func (m *MockZapiClientInterface) SetSVMUUID(arg0 string) { } // SetSVMUUID indicates an expected call of SetSVMUUID. -func (mr *MockZapiClientInterfaceMockRecorder) SetSVMUUID(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SetSVMUUID(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSVMUUID", reflect.TypeOf((*MockZapiClientInterface)(nil).SetSVMUUID), arg0) } @@ -1567,7 +1571,7 @@ func (m *MockZapiClientInterface) SnapmirrorAbort(arg0, arg1, arg2, arg3 string) } // SnapmirrorAbort indicates an expected call of SnapmirrorAbort. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorAbort(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorAbort(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorAbort", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorAbort), arg0, arg1, arg2, arg3) } @@ -1582,7 +1586,7 @@ func (m *MockZapiClientInterface) SnapmirrorBreak(arg0, arg1, arg2, arg3, arg4 s } // SnapmirrorBreak indicates an expected call of SnapmirrorBreak. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorBreak(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorBreak(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorBreak", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorBreak), arg0, arg1, arg2, arg3, arg4) } @@ -1597,7 +1601,7 @@ func (m *MockZapiClientInterface) SnapmirrorCreate(arg0, arg1, arg2, arg3, arg4, } // SnapmirrorCreate indicates an expected call of SnapmirrorCreate. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorCreate(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorCreate), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -1612,7 +1616,7 @@ func (m *MockZapiClientInterface) SnapmirrorDelete(arg0, arg1, arg2, arg3 string } // SnapmirrorDelete indicates an expected call of SnapmirrorDelete. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDelete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDelete(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorDelete", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorDelete), arg0, arg1, arg2, arg3) } @@ -1627,7 +1631,7 @@ func (m *MockZapiClientInterface) SnapmirrorDeleteViaDestination(arg0, arg1 stri } // SnapmirrorDeleteViaDestination indicates an expected call of SnapmirrorDeleteViaDestination. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDeleteViaDestination(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDeleteViaDestination(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorDeleteViaDestination", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorDeleteViaDestination), arg0, arg1) } @@ -1642,7 +1646,7 @@ func (m *MockZapiClientInterface) SnapmirrorDestinationRelease(arg0 string) (*az } // SnapmirrorDestinationRelease indicates an expected call of SnapmirrorDestinationRelease. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDestinationRelease(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorDestinationRelease(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorDestinationRelease", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorDestinationRelease), arg0) } @@ -1657,7 +1661,7 @@ func (m *MockZapiClientInterface) SnapmirrorGet(arg0, arg1, arg2, arg3 string) ( } // SnapmirrorGet indicates an expected call of SnapmirrorGet. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGet(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorGet", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorGet), arg0, arg1, arg2, arg3) } @@ -1672,7 +1676,7 @@ func (m *MockZapiClientInterface) SnapmirrorGetDestinationIterRequest(arg0 strin } // SnapmirrorGetDestinationIterRequest indicates an expected call of SnapmirrorGetDestinationIterRequest. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGetDestinationIterRequest(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGetDestinationIterRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorGetDestinationIterRequest", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorGetDestinationIterRequest), arg0) } @@ -1687,7 +1691,7 @@ func (m *MockZapiClientInterface) SnapmirrorGetIterRequest(arg0 string) (*azgo.S } // SnapmirrorGetIterRequest indicates an expected call of SnapmirrorGetIterRequest. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGetIterRequest(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorGetIterRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorGetIterRequest", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorGetIterRequest), arg0) } @@ -1702,7 +1706,7 @@ func (m *MockZapiClientInterface) SnapmirrorInitialize(arg0, arg1, arg2, arg3 st } // SnapmirrorInitialize indicates an expected call of SnapmirrorInitialize. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorInitialize(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorInitialize(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorInitialize", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorInitialize), arg0, arg1, arg2, arg3) } @@ -1717,7 +1721,7 @@ func (m *MockZapiClientInterface) SnapmirrorPolicyExists(arg0 context.Context, a } // SnapmirrorPolicyExists indicates an expected call of SnapmirrorPolicyExists. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorPolicyExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorPolicyExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorPolicyExists", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorPolicyExists), arg0, arg1) } @@ -1732,7 +1736,7 @@ func (m *MockZapiClientInterface) SnapmirrorPolicyGet(arg0 context.Context, arg1 } // SnapmirrorPolicyGet indicates an expected call of SnapmirrorPolicyGet. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorPolicyGet(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorPolicyGet(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorPolicyGet", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorPolicyGet), arg0, arg1) } @@ -1747,7 +1751,7 @@ func (m *MockZapiClientInterface) SnapmirrorQuiesce(arg0, arg1, arg2, arg3 strin } // SnapmirrorQuiesce indicates an expected call of SnapmirrorQuiesce. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorQuiesce(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorQuiesce(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorQuiesce", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorQuiesce), arg0, arg1, arg2, arg3) } @@ -1761,7 +1765,7 @@ func (m *MockZapiClientInterface) SnapmirrorRelease(arg0, arg1 string) error { } // SnapmirrorRelease indicates an expected call of SnapmirrorRelease. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorRelease(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorRelease(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorRelease", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorRelease), arg0, arg1) } @@ -1776,7 +1780,7 @@ func (m *MockZapiClientInterface) SnapmirrorResync(arg0, arg1, arg2, arg3 string } // SnapmirrorResync indicates an expected call of SnapmirrorResync. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorResync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorResync(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorResync", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorResync), arg0, arg1, arg2, arg3) } @@ -1791,7 +1795,7 @@ func (m *MockZapiClientInterface) SnapmirrorUpdate(arg0, arg1 string) (*azgo.Sna } // SnapmirrorUpdate indicates an expected call of SnapmirrorUpdate. -func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorUpdate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapmirrorUpdate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapmirrorUpdate", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapmirrorUpdate), arg0, arg1) } @@ -1806,7 +1810,7 @@ func (m *MockZapiClientInterface) SnapshotCreate(arg0, arg1 string) (*azgo.Snaps } // SnapshotCreate indicates an expected call of SnapshotCreate. -func (mr *MockZapiClientInterfaceMockRecorder) SnapshotCreate(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapshotCreate(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapshotCreate), arg0, arg1) } @@ -1821,7 +1825,7 @@ func (m *MockZapiClientInterface) SnapshotDelete(arg0, arg1 string) (*azgo.Snaps } // SnapshotDelete indicates an expected call of SnapshotDelete. -func (mr *MockZapiClientInterfaceMockRecorder) SnapshotDelete(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapshotDelete(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotDelete", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapshotDelete), arg0, arg1) } @@ -1836,7 +1840,7 @@ func (m *MockZapiClientInterface) SnapshotInfo(arg0, arg1 string) (*azgo.Snapsho } // SnapshotInfo indicates an expected call of SnapshotInfo. -func (mr *MockZapiClientInterfaceMockRecorder) SnapshotInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapshotInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotInfo", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapshotInfo), arg0, arg1) } @@ -1851,7 +1855,7 @@ func (m *MockZapiClientInterface) SnapshotList(arg0 string) (*azgo.SnapshotGetIt } // SnapshotList indicates an expected call of SnapshotList. -func (mr *MockZapiClientInterfaceMockRecorder) SnapshotList(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapshotList(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotList", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapshotList), arg0) } @@ -1866,7 +1870,7 @@ func (m *MockZapiClientInterface) SnapshotRestoreVolume(arg0, arg1 string) (*azg } // SnapshotRestoreVolume indicates an expected call of SnapshotRestoreVolume. -func (mr *MockZapiClientInterfaceMockRecorder) SnapshotRestoreVolume(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SnapshotRestoreVolume(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SnapshotRestoreVolume", reflect.TypeOf((*MockZapiClientInterface)(nil).SnapshotRestoreVolume), arg0, arg1) } @@ -1880,7 +1884,7 @@ func (m *MockZapiClientInterface) SupportsFeature(arg0 context.Context, arg1 api } // SupportsFeature indicates an expected call of SupportsFeature. -func (mr *MockZapiClientInterfaceMockRecorder) SupportsFeature(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SupportsFeature(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SupportsFeature", reflect.TypeOf((*MockZapiClientInterface)(nil).SupportsFeature), arg0, arg1) } @@ -1895,7 +1899,7 @@ func (m *MockZapiClientInterface) SystemGetOntapiVersion(arg0 context.Context, a } // SystemGetOntapiVersion indicates an expected call of SystemGetOntapiVersion. -func (mr *MockZapiClientInterfaceMockRecorder) SystemGetOntapiVersion(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) SystemGetOntapiVersion(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemGetOntapiVersion", reflect.TypeOf((*MockZapiClientInterface)(nil).SystemGetOntapiVersion), arg0, arg1) } @@ -1924,7 +1928,7 @@ func (m *MockZapiClientInterface) TieringPolicyValue(arg0 context.Context) strin } // TieringPolicyValue indicates an expected call of TieringPolicyValue. -func (mr *MockZapiClientInterfaceMockRecorder) TieringPolicyValue(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) TieringPolicyValue(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TieringPolicyValue", reflect.TypeOf((*MockZapiClientInterface)(nil).TieringPolicyValue), arg0) } @@ -1939,7 +1943,7 @@ func (m *MockZapiClientInterface) VolumeCloneCreate(arg0, arg1, arg2 string) (*a } // VolumeCloneCreate indicates an expected call of VolumeCloneCreate. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneCreate(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneCreate(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCloneCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeCloneCreate), arg0, arg1, arg2) } @@ -1954,7 +1958,7 @@ func (m *MockZapiClientInterface) VolumeCloneCreateAsync(arg0, arg1, arg2 string } // VolumeCloneCreateAsync indicates an expected call of VolumeCloneCreateAsync. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneCreateAsync(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneCreateAsync(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCloneCreateAsync", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeCloneCreateAsync), arg0, arg1, arg2) } @@ -1969,7 +1973,7 @@ func (m *MockZapiClientInterface) VolumeCloneSplitStart(arg0 string) (*azgo.Volu } // VolumeCloneSplitStart indicates an expected call of VolumeCloneSplitStart. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneSplitStart(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeCloneSplitStart(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCloneSplitStart", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeCloneSplitStart), arg0) } @@ -1984,7 +1988,7 @@ func (m *MockZapiClientInterface) VolumeCreate(arg0 context.Context, arg1, arg2, } // VolumeCreate indicates an expected call of VolumeCreate. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeCreate", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeCreate), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) } @@ -1999,7 +2003,7 @@ func (m *MockZapiClientInterface) VolumeDestroy(arg0 string, arg1 bool) (*azgo.V } // VolumeDestroy indicates an expected call of VolumeDestroy. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeDestroy(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeDestroy(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeDestroy", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeDestroy), arg0, arg1) } @@ -2014,7 +2018,7 @@ func (m *MockZapiClientInterface) VolumeExists(arg0 context.Context, arg1 string } // VolumeExists indicates an expected call of VolumeExists. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeExists(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeExists(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeExists", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeExists), arg0, arg1) } @@ -2029,7 +2033,7 @@ func (m *MockZapiClientInterface) VolumeGet(arg0 string) (*azgo.VolumeAttributes } // VolumeGet indicates an expected call of VolumeGet. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeGet(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeGet(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeGet", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeGet), arg0) } @@ -2044,7 +2048,7 @@ func (m *MockZapiClientInterface) VolumeGetAll(arg0 string) (*azgo.VolumeGetIter } // VolumeGetAll indicates an expected call of VolumeGetAll. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeGetAll(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeGetAll(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeGetAll", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeGetAll), arg0) } @@ -2059,7 +2063,7 @@ func (m *MockZapiClientInterface) VolumeGetType(arg0 string) (string, error) { } // VolumeGetType indicates an expected call of VolumeGetType. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeGetType(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeGetType(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeGetType", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeGetType), arg0) } @@ -2074,7 +2078,7 @@ func (m *MockZapiClientInterface) VolumeList(arg0 string) (*azgo.VolumeGetIterRe } // VolumeList indicates an expected call of VolumeList. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeList(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeList(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeList", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeList), arg0) } @@ -2089,7 +2093,7 @@ func (m *MockZapiClientInterface) VolumeListAllBackedBySnapshot(arg0 context.Con } // VolumeListAllBackedBySnapshot indicates an expected call of VolumeListAllBackedBySnapshot. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeListAllBackedBySnapshot(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeListAllBackedBySnapshot(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeListAllBackedBySnapshot", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeListAllBackedBySnapshot), arg0, arg1, arg2) } @@ -2104,7 +2108,7 @@ func (m *MockZapiClientInterface) VolumeListByAttrs(arg0, arg1, arg2, arg3, arg4 } // VolumeListByAttrs indicates an expected call of VolumeListByAttrs. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeListByAttrs(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeListByAttrs(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeListByAttrs", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeListByAttrs), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } @@ -2119,7 +2123,7 @@ func (m *MockZapiClientInterface) VolumeModifyExportPolicy(arg0, arg1 string) (* } // VolumeModifyExportPolicy indicates an expected call of VolumeModifyExportPolicy. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifyExportPolicy(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifyExportPolicy(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeModifyExportPolicy", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeModifyExportPolicy), arg0, arg1) } @@ -2134,7 +2138,7 @@ func (m *MockZapiClientInterface) VolumeModifySnapshotDirectoryAccess(arg0 strin } // VolumeModifySnapshotDirectoryAccess indicates an expected call of VolumeModifySnapshotDirectoryAccess. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifySnapshotDirectoryAccess(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifySnapshotDirectoryAccess(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeModifySnapshotDirectoryAccess", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeModifySnapshotDirectoryAccess), arg0, arg1) } @@ -2149,7 +2153,7 @@ func (m *MockZapiClientInterface) VolumeModifyUnixPermissions(arg0, arg1 string) } // VolumeModifyUnixPermissions indicates an expected call of VolumeModifyUnixPermissions. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifyUnixPermissions(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeModifyUnixPermissions(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeModifyUnixPermissions", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeModifyUnixPermissions), arg0, arg1) } @@ -2164,7 +2168,7 @@ func (m *MockZapiClientInterface) VolumeMount(arg0, arg1 string) (*azgo.VolumeMo } // VolumeMount indicates an expected call of VolumeMount. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeMount(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeMount(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeMount", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeMount), arg0, arg1) } @@ -2179,7 +2183,7 @@ func (m *MockZapiClientInterface) VolumeOffline(arg0 string) (*azgo.VolumeOfflin } // VolumeOffline indicates an expected call of VolumeOffline. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeOffline(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeOffline(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeOffline", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeOffline), arg0) } @@ -2194,7 +2198,7 @@ func (m *MockZapiClientInterface) VolumeRename(arg0, arg1 string) (*azgo.VolumeR } // VolumeRename indicates an expected call of VolumeRename. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeRename(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeRename(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeRename", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeRename), arg0, arg1) } @@ -2209,7 +2213,7 @@ func (m *MockZapiClientInterface) VolumeSetComment(arg0 context.Context, arg1, a } // VolumeSetComment indicates an expected call of VolumeSetComment. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetComment(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetComment(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeSetComment", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeSetComment), arg0, arg1, arg2) } @@ -2224,7 +2228,7 @@ func (m *MockZapiClientInterface) VolumeSetQosPolicyGroupName(arg0 string, arg1 } // VolumeSetQosPolicyGroupName indicates an expected call of VolumeSetQosPolicyGroupName. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetQosPolicyGroupName(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetQosPolicyGroupName(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeSetQosPolicyGroupName", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeSetQosPolicyGroupName), arg0, arg1) } @@ -2239,7 +2243,7 @@ func (m *MockZapiClientInterface) VolumeSetSize(arg0, arg1 string) (*azgo.Volume } // VolumeSetSize indicates an expected call of VolumeSetSize. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetSize(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeSetSize(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeSetSize", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeSetSize), arg0, arg1) } @@ -2254,7 +2258,7 @@ func (m *MockZapiClientInterface) VolumeSize(arg0 string) (int, error) { } // VolumeSize indicates an expected call of VolumeSize. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeSize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeSize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeSize", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeSize), arg0) } @@ -2269,7 +2273,7 @@ func (m *MockZapiClientInterface) VolumeUnmount(arg0 string, arg1 bool) (*azgo.V } // VolumeUnmount indicates an expected call of VolumeUnmount. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeUnmount(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeUnmount(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeUnmount", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeUnmount), arg0, arg1) } @@ -2284,7 +2288,7 @@ func (m *MockZapiClientInterface) VolumeUsedSize(arg0 string) (int, error) { } // VolumeUsedSize indicates an expected call of VolumeUsedSize. -func (mr *MockZapiClientInterfaceMockRecorder) VolumeUsedSize(arg0 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) VolumeUsedSize(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VolumeUsedSize", reflect.TypeOf((*MockZapiClientInterface)(nil).VolumeUsedSize), arg0) } @@ -2350,7 +2354,7 @@ func (mr *MockZapiClientInterfaceMockRecorder) VserverShowAggrGetIterRequest() * } // WaitForAsyncResponse mocks base method. -func (m *MockZapiClientInterface) WaitForAsyncResponse(arg0 context.Context, arg1 interface{}, arg2 time.Duration) error { +func (m *MockZapiClientInterface) WaitForAsyncResponse(arg0 context.Context, arg1 any, arg2 time.Duration) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "WaitForAsyncResponse", arg0, arg1, arg2) ret0, _ := ret[0].(error) @@ -2358,7 +2362,7 @@ func (m *MockZapiClientInterface) WaitForAsyncResponse(arg0 context.Context, arg } // WaitForAsyncResponse indicates an expected call of WaitForAsyncResponse. -func (mr *MockZapiClientInterfaceMockRecorder) WaitForAsyncResponse(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockZapiClientInterfaceMockRecorder) WaitForAsyncResponse(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForAsyncResponse", reflect.TypeOf((*MockZapiClientInterface)(nil).WaitForAsyncResponse), arg0, arg1, arg2) } diff --git a/mocks/mock_utils/mock_csiutils.go b/mocks/mock_utils/mock_csiutils.go index 037bba003..75071c136 100644 --- a/mocks/mock_utils/mock_csiutils.go +++ b/mocks/mock_utils/mock_csiutils.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils (interfaces: CSIProxyUtils) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_utils/mock_csiutils.go github.com/netapp/trident/utils CSIProxyUtils +// // Package mock_utils is a generated GoMock package. package mock_utils @@ -45,7 +50,7 @@ func (m *MockCSIProxyUtils) EvalHostSymlinks(arg0 context.Context, arg1 string) } // EvalHostSymlinks indicates an expected call of EvalHostSymlinks. -func (mr *MockCSIProxyUtilsMockRecorder) EvalHostSymlinks(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) EvalHostSymlinks(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EvalHostSymlinks", reflect.TypeOf((*MockCSIProxyUtils)(nil).EvalHostSymlinks), arg0, arg1) } @@ -60,7 +65,7 @@ func (m *MockCSIProxyUtils) ExistsPath(arg0 context.Context, arg1 string) (bool, } // ExistsPath indicates an expected call of ExistsPath. -func (mr *MockCSIProxyUtilsMockRecorder) ExistsPath(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) ExistsPath(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExistsPath", reflect.TypeOf((*MockCSIProxyUtils)(nil).ExistsPath), arg0, arg1) } @@ -74,7 +79,7 @@ func (m *MockCSIProxyUtils) GetAPIVersions(arg0 context.Context) string { } // GetAPIVersions indicates an expected call of GetAPIVersions. -func (mr *MockCSIProxyUtilsMockRecorder) GetAPIVersions(arg0 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) GetAPIVersions(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAPIVersions", reflect.TypeOf((*MockCSIProxyUtils)(nil).GetAPIVersions), arg0) } @@ -90,7 +95,7 @@ func (m *MockCSIProxyUtils) GetFilesystemUsage(arg0 context.Context, arg1 string } // GetFilesystemUsage indicates an expected call of GetFilesystemUsage. -func (mr *MockCSIProxyUtilsMockRecorder) GetFilesystemUsage(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) GetFilesystemUsage(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFilesystemUsage", reflect.TypeOf((*MockCSIProxyUtils)(nil).GetFilesystemUsage), arg0, arg1) } @@ -104,7 +109,7 @@ func (m *MockCSIProxyUtils) IsMountPointMatch(arg0 context.Context, arg1 mount.M } // IsMountPointMatch indicates an expected call of IsMountPointMatch. -func (mr *MockCSIProxyUtilsMockRecorder) IsMountPointMatch(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) IsMountPointMatch(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsMountPointMatch", reflect.TypeOf((*MockCSIProxyUtils)(nil).IsMountPointMatch), arg0, arg1, arg2) } @@ -118,7 +123,7 @@ func (m *MockCSIProxyUtils) MakeDir(arg0 context.Context, arg1 string) error { } // MakeDir indicates an expected call of MakeDir. -func (mr *MockCSIProxyUtilsMockRecorder) MakeDir(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) MakeDir(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeDir", reflect.TypeOf((*MockCSIProxyUtils)(nil).MakeDir), arg0, arg1) } @@ -132,7 +137,7 @@ func (m *MockCSIProxyUtils) Rmdir(arg0 context.Context, arg1 string) error { } // Rmdir indicates an expected call of Rmdir. -func (mr *MockCSIProxyUtilsMockRecorder) Rmdir(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) Rmdir(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rmdir", reflect.TypeOf((*MockCSIProxyUtils)(nil).Rmdir), arg0, arg1) } @@ -146,7 +151,7 @@ func (m *MockCSIProxyUtils) SMBMount(arg0 context.Context, arg1, arg2, arg3, arg } // SMBMount indicates an expected call of SMBMount. -func (mr *MockCSIProxyUtilsMockRecorder) SMBMount(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) SMBMount(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMBMount", reflect.TypeOf((*MockCSIProxyUtils)(nil).SMBMount), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -160,7 +165,7 @@ func (m *MockCSIProxyUtils) SMBUnmount(arg0 context.Context, arg1, arg2 string) } // SMBUnmount indicates an expected call of SMBUnmount. -func (mr *MockCSIProxyUtilsMockRecorder) SMBUnmount(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockCSIProxyUtilsMockRecorder) SMBUnmount(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMBUnmount", reflect.TypeOf((*MockCSIProxyUtils)(nil).SMBUnmount), arg0, arg1, arg2) } diff --git a/mocks/mock_utils/mock_exec/mock_command.go b/mocks/mock_utils/mock_exec/mock_command.go index f721e5430..268215686 100644 --- a/mocks/mock_utils/mock_exec/mock_command.go +++ b/mocks/mock_utils/mock_exec/mock_command.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils/exec (interfaces: Command) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_utils/mock_exec/mock_command.go github.com/netapp/trident/utils/exec Command +// // Package mock_exec is a generated GoMock package. package mock_exec @@ -38,7 +43,7 @@ func (m *MockCommand) EXPECT() *MockCommandMockRecorder { // Execute mocks base method. func (m *MockCommand) Execute(arg0 context.Context, arg1 string, arg2 ...string) ([]byte, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -49,9 +54,9 @@ func (m *MockCommand) Execute(arg0 context.Context, arg1 string, arg2 ...string) } // Execute indicates an expected call of Execute. -func (mr *MockCommandMockRecorder) Execute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +func (mr *MockCommandMockRecorder) Execute(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockCommand)(nil).Execute), varargs...) } @@ -65,7 +70,7 @@ func (m *MockCommand) ExecuteRedacted(arg0 context.Context, arg1 string, arg2 [] } // ExecuteRedacted indicates an expected call of ExecuteRedacted. -func (mr *MockCommandMockRecorder) ExecuteRedacted(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockCommandMockRecorder) ExecuteRedacted(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteRedacted", reflect.TypeOf((*MockCommand)(nil).ExecuteRedacted), arg0, arg1, arg2, arg3) } @@ -73,7 +78,7 @@ func (mr *MockCommandMockRecorder) ExecuteRedacted(arg0, arg1, arg2, arg3 interf // ExecuteWithTimeout mocks base method. func (m *MockCommand) ExecuteWithTimeout(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 bool, arg4 ...string) ([]byte, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2, arg3} + varargs := []any{arg0, arg1, arg2, arg3} for _, a := range arg4 { varargs = append(varargs, a) } @@ -84,16 +89,16 @@ func (m *MockCommand) ExecuteWithTimeout(arg0 context.Context, arg1 string, arg2 } // ExecuteWithTimeout indicates an expected call of ExecuteWithTimeout. -func (mr *MockCommandMockRecorder) ExecuteWithTimeout(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call { +func (mr *MockCommandMockRecorder) ExecuteWithTimeout(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...) + varargs := append([]any{arg0, arg1, arg2, arg3}, arg4...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteWithTimeout", reflect.TypeOf((*MockCommand)(nil).ExecuteWithTimeout), varargs...) } // ExecuteWithTimeoutAndInput mocks base method. func (m *MockCommand) ExecuteWithTimeoutAndInput(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 bool, arg4 string, arg5 ...string) ([]byte, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2, arg3, arg4} + varargs := []any{arg0, arg1, arg2, arg3, arg4} for _, a := range arg5 { varargs = append(varargs, a) } @@ -104,16 +109,16 @@ func (m *MockCommand) ExecuteWithTimeoutAndInput(arg0 context.Context, arg1 stri } // ExecuteWithTimeoutAndInput indicates an expected call of ExecuteWithTimeoutAndInput. -func (mr *MockCommandMockRecorder) ExecuteWithTimeoutAndInput(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call { +func (mr *MockCommandMockRecorder) ExecuteWithTimeoutAndInput(arg0, arg1, arg2, arg3, arg4 any, arg5 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2, arg3, arg4}, arg5...) + varargs := append([]any{arg0, arg1, arg2, arg3, arg4}, arg5...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteWithTimeoutAndInput", reflect.TypeOf((*MockCommand)(nil).ExecuteWithTimeoutAndInput), varargs...) } // ExecuteWithoutLog mocks base method. func (m *MockCommand) ExecuteWithoutLog(arg0 context.Context, arg1 string, arg2 ...string) ([]byte, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -124,8 +129,8 @@ func (m *MockCommand) ExecuteWithoutLog(arg0 context.Context, arg1 string, arg2 } // ExecuteWithoutLog indicates an expected call of ExecuteWithoutLog. -func (mr *MockCommandMockRecorder) ExecuteWithoutLog(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +func (mr *MockCommandMockRecorder) ExecuteWithoutLog(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteWithoutLog", reflect.TypeOf((*MockCommand)(nil).ExecuteWithoutLog), varargs...) } diff --git a/mocks/mock_utils/mock_iscsi/mock_iscsi_client.go b/mocks/mock_utils/mock_iscsi/mock_iscsi_client.go index 902e63910..8894cdf17 100644 --- a/mocks/mock_utils/mock_iscsi/mock_iscsi_client.go +++ b/mocks/mock_utils/mock_iscsi/mock_iscsi_client.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils/iscsi (interfaces: ISCSI) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_utils/mock_iscsi/mock_iscsi_client.go github.com/netapp/trident/utils/iscsi ISCSI +// // Package mock_iscsi is a generated GoMock package. package mock_iscsi @@ -9,9 +14,8 @@ import ( reflect "reflect" time "time" - gomock "go.uber.org/mock/gomock" - models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockISCSI is a mock of ISCSI interface. @@ -44,7 +48,7 @@ func (m *MockISCSI) AddSession(arg0 context.Context, arg1 *models.ISCSISessions, } // AddSession indicates an expected call of AddSession. -func (mr *MockISCSIMockRecorder) AddSession(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockISCSIMockRecorder) AddSession(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSession", reflect.TypeOf((*MockISCSI)(nil).AddSession), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -59,7 +63,7 @@ func (m *MockISCSI) AttachVolumeRetry(arg0 context.Context, arg1, arg2 string, a } // AttachVolumeRetry indicates an expected call of AttachVolumeRetry. -func (mr *MockISCSIMockRecorder) AttachVolumeRetry(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { +func (mr *MockISCSIMockRecorder) AttachVolumeRetry(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachVolumeRetry", reflect.TypeOf((*MockISCSI)(nil).AttachVolumeRetry), arg0, arg1, arg2, arg3, arg4, arg5) } @@ -73,7 +77,7 @@ func (m *MockISCSI) IsAlreadyAttached(arg0 context.Context, arg1 int, arg2 strin } // IsAlreadyAttached indicates an expected call of IsAlreadyAttached. -func (mr *MockISCSIMockRecorder) IsAlreadyAttached(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockISCSIMockRecorder) IsAlreadyAttached(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsAlreadyAttached", reflect.TypeOf((*MockISCSI)(nil).IsAlreadyAttached), arg0, arg1, arg2) } @@ -87,7 +91,7 @@ func (m *MockISCSI) PreChecks(arg0 context.Context) error { } // PreChecks indicates an expected call of PreChecks. -func (mr *MockISCSIMockRecorder) PreChecks(arg0 interface{}) *gomock.Call { +func (mr *MockISCSIMockRecorder) PreChecks(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PreChecks", reflect.TypeOf((*MockISCSI)(nil).PreChecks), arg0) } @@ -101,7 +105,7 @@ func (m *MockISCSI) RescanDevices(arg0 context.Context, arg1 string, arg2 int32, } // RescanDevices indicates an expected call of RescanDevices. -func (mr *MockISCSIMockRecorder) RescanDevices(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockISCSIMockRecorder) RescanDevices(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RescanDevices", reflect.TypeOf((*MockISCSI)(nil).RescanDevices), arg0, arg1, arg2, arg3) } diff --git a/mocks/mock_utils/mock_models/mock_json_utils.go b/mocks/mock_utils/mock_models/mock_json_utils.go index 5f5f2efd5..acf2ec65c 100644 --- a/mocks/mock_utils/mock_models/mock_json_utils.go +++ b/mocks/mock_utils/mock_models/mock_json_utils.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils/models (interfaces: JSONReaderWriter) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_utils/mock_models/mock_json_utils.go github.com/netapp/trident/utils/models JSONReaderWriter +// // Package mock_models is a generated GoMock package. package mock_models @@ -35,7 +40,7 @@ func (m *MockJSONReaderWriter) EXPECT() *MockJSONReaderWriterMockRecorder { } // ReadJSONFile mocks base method. -func (m *MockJSONReaderWriter) ReadJSONFile(arg0 context.Context, arg1 interface{}, arg2, arg3 string) error { +func (m *MockJSONReaderWriter) ReadJSONFile(arg0 context.Context, arg1 any, arg2, arg3 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ReadJSONFile", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) @@ -43,13 +48,13 @@ func (m *MockJSONReaderWriter) ReadJSONFile(arg0 context.Context, arg1 interface } // ReadJSONFile indicates an expected call of ReadJSONFile. -func (mr *MockJSONReaderWriterMockRecorder) ReadJSONFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockJSONReaderWriterMockRecorder) ReadJSONFile(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadJSONFile", reflect.TypeOf((*MockJSONReaderWriter)(nil).ReadJSONFile), arg0, arg1, arg2, arg3) } // WriteJSONFile mocks base method. -func (m *MockJSONReaderWriter) WriteJSONFile(arg0 context.Context, arg1 interface{}, arg2, arg3 string) error { +func (m *MockJSONReaderWriter) WriteJSONFile(arg0 context.Context, arg1 any, arg2, arg3 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "WriteJSONFile", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) @@ -57,7 +62,7 @@ func (m *MockJSONReaderWriter) WriteJSONFile(arg0 context.Context, arg1 interfac } // WriteJSONFile indicates an expected call of WriteJSONFile. -func (mr *MockJSONReaderWriterMockRecorder) WriteJSONFile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockJSONReaderWriterMockRecorder) WriteJSONFile(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteJSONFile", reflect.TypeOf((*MockJSONReaderWriter)(nil).WriteJSONFile), arg0, arg1, arg2, arg3) } diff --git a/mocks/mock_utils/mock_models/mock_luks/mock_luks.go b/mocks/mock_utils/mock_models/mock_luks/mock_luks.go index 8c1976d7e..9fdf74af6 100644 --- a/mocks/mock_utils/mock_models/mock_luks/mock_luks.go +++ b/mocks/mock_utils/mock_models/mock_luks/mock_luks.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils/models (interfaces: LUKSDeviceInterface) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_utils/mock_models/mock_luks/mock_luks.go -package mock_luks github.com/netapp/trident/utils/models LUKSDeviceInterface +// // Package mock_luks is a generated GoMock package. package mock_luks @@ -44,7 +49,7 @@ func (m *MockLUKSDeviceInterface) CheckPassphrase(arg0 context.Context, arg1 str } // CheckPassphrase indicates an expected call of CheckPassphrase. -func (mr *MockLUKSDeviceInterfaceMockRecorder) CheckPassphrase(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) CheckPassphrase(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckPassphrase", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).CheckPassphrase), arg0, arg1) } @@ -59,7 +64,7 @@ func (m *MockLUKSDeviceInterface) EnsureFormattedAndOpen(arg0 context.Context, a } // EnsureFormattedAndOpen indicates an expected call of EnsureFormattedAndOpen. -func (mr *MockLUKSDeviceInterfaceMockRecorder) EnsureFormattedAndOpen(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) EnsureFormattedAndOpen(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnsureFormattedAndOpen", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).EnsureFormattedAndOpen), arg0, arg1) } @@ -74,7 +79,7 @@ func (m *MockLUKSDeviceInterface) IsLUKSFormatted(arg0 context.Context) (bool, e } // IsLUKSFormatted indicates an expected call of IsLUKSFormatted. -func (mr *MockLUKSDeviceInterfaceMockRecorder) IsLUKSFormatted(arg0 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) IsLUKSFormatted(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLUKSFormatted", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).IsLUKSFormatted), arg0) } @@ -89,7 +94,7 @@ func (m *MockLUKSDeviceInterface) IsOpen(arg0 context.Context) (bool, error) { } // IsOpen indicates an expected call of IsOpen. -func (mr *MockLUKSDeviceInterfaceMockRecorder) IsOpen(arg0 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) IsOpen(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsOpen", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).IsOpen), arg0) } @@ -103,7 +108,7 @@ func (m *MockLUKSDeviceInterface) LUKSFormat(arg0 context.Context, arg1 string) } // LUKSFormat indicates an expected call of LUKSFormat. -func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSFormat(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) LUKSFormat(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LUKSFormat", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).LUKSFormat), arg0, arg1) } @@ -145,7 +150,7 @@ func (m *MockLUKSDeviceInterface) Open(arg0 context.Context, arg1 string) error } // Open indicates an expected call of Open. -func (mr *MockLUKSDeviceInterfaceMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) Open(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).Open), arg0, arg1) } @@ -173,7 +178,7 @@ func (m *MockLUKSDeviceInterface) Resize(arg0 context.Context, arg1 string) erro } // Resize indicates an expected call of Resize. -func (mr *MockLUKSDeviceInterfaceMockRecorder) Resize(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) Resize(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Resize", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).Resize), arg0, arg1) } @@ -187,7 +192,7 @@ func (m *MockLUKSDeviceInterface) RotatePassphrase(arg0 context.Context, arg1, a } // RotatePassphrase indicates an expected call of RotatePassphrase. -func (mr *MockLUKSDeviceInterfaceMockRecorder) RotatePassphrase(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { +func (mr *MockLUKSDeviceInterfaceMockRecorder) RotatePassphrase(arg0, arg1, arg2, arg3 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RotatePassphrase", reflect.TypeOf((*MockLUKSDeviceInterface)(nil).RotatePassphrase), arg0, arg1, arg2, arg3) } diff --git a/mocks/mock_utils/mock_nvme_utils.go b/mocks/mock_utils/mock_nvme_utils.go index 91c215ef9..34b2573be 100644 --- a/mocks/mock_utils/mock_nvme_utils.go +++ b/mocks/mock_utils/mock_nvme_utils.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils (interfaces: NVMeInterface) +// +// Generated by this command: +// +// mockgen -destination=../mocks/mock_utils/mock_nvme_utils.go github.com/netapp/trident/utils NVMeInterface +// // Package mock_utils is a generated GoMock package. package mock_utils @@ -8,10 +13,9 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - utils "github.com/netapp/trident/utils" models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockNVMeInterface is a mock of NVMeInterface interface. @@ -44,7 +48,7 @@ func (m *MockNVMeInterface) AddPublishedNVMeSession(arg0 *utils.NVMeSessions, ar } // AddPublishedNVMeSession indicates an expected call of AddPublishedNVMeSession. -func (mr *MockNVMeInterfaceMockRecorder) AddPublishedNVMeSession(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) AddPublishedNVMeSession(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPublishedNVMeSession", reflect.TypeOf((*MockNVMeInterface)(nil).AddPublishedNVMeSession), arg0, arg1) } @@ -59,7 +63,7 @@ func (m *MockNVMeInterface) GetHostNqn(arg0 context.Context) (string, error) { } // GetHostNqn indicates an expected call of GetHostNqn. -func (mr *MockNVMeInterfaceMockRecorder) GetHostNqn(arg0 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) GetHostNqn(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHostNqn", reflect.TypeOf((*MockNVMeInterface)(nil).GetHostNqn), arg0) } @@ -73,7 +77,7 @@ func (m *MockNVMeInterface) InspectNVMeSessions(arg0 context.Context, arg1, arg2 } // InspectNVMeSessions indicates an expected call of InspectNVMeSessions. -func (mr *MockNVMeInterfaceMockRecorder) InspectNVMeSessions(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) InspectNVMeSessions(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InspectNVMeSessions", reflect.TypeOf((*MockNVMeInterface)(nil).InspectNVMeSessions), arg0, arg1, arg2) } @@ -88,7 +92,7 @@ func (m *MockNVMeInterface) NVMeActiveOnHost(arg0 context.Context) (bool, error) } // NVMeActiveOnHost indicates an expected call of NVMeActiveOnHost. -func (mr *MockNVMeInterfaceMockRecorder) NVMeActiveOnHost(arg0 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) NVMeActiveOnHost(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NVMeActiveOnHost", reflect.TypeOf((*MockNVMeInterface)(nil).NVMeActiveOnHost), arg0) } @@ -103,7 +107,7 @@ func (m *MockNVMeInterface) NewNVMeDevice(arg0 context.Context, arg1 string) (ut } // NewNVMeDevice indicates an expected call of NewNVMeDevice. -func (mr *MockNVMeInterfaceMockRecorder) NewNVMeDevice(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) NewNVMeDevice(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewNVMeDevice", reflect.TypeOf((*MockNVMeInterface)(nil).NewNVMeDevice), arg0, arg1) } @@ -117,7 +121,7 @@ func (m *MockNVMeInterface) NewNVMeSubsystem(arg0 context.Context, arg1 string) } // NewNVMeSubsystem indicates an expected call of NewNVMeSubsystem. -func (mr *MockNVMeInterfaceMockRecorder) NewNVMeSubsystem(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) NewNVMeSubsystem(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewNVMeSubsystem", reflect.TypeOf((*MockNVMeInterface)(nil).NewNVMeSubsystem), arg0, arg1) } @@ -131,7 +135,7 @@ func (m *MockNVMeInterface) PopulateCurrentNVMeSessions(arg0 context.Context, ar } // PopulateCurrentNVMeSessions indicates an expected call of PopulateCurrentNVMeSessions. -func (mr *MockNVMeInterfaceMockRecorder) PopulateCurrentNVMeSessions(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) PopulateCurrentNVMeSessions(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PopulateCurrentNVMeSessions", reflect.TypeOf((*MockNVMeInterface)(nil).PopulateCurrentNVMeSessions), arg0, arg1) } @@ -143,7 +147,7 @@ func (m *MockNVMeInterface) RectifyNVMeSession(arg0 context.Context, arg1 utils. } // RectifyNVMeSession indicates an expected call of RectifyNVMeSession. -func (mr *MockNVMeInterfaceMockRecorder) RectifyNVMeSession(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) RectifyNVMeSession(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RectifyNVMeSession", reflect.TypeOf((*MockNVMeInterface)(nil).RectifyNVMeSession), arg0, arg1, arg2) } @@ -157,7 +161,7 @@ func (m *MockNVMeInterface) RemovePublishedNVMeSession(arg0 *utils.NVMeSessions, } // RemovePublishedNVMeSession indicates an expected call of RemovePublishedNVMeSession. -func (mr *MockNVMeInterfaceMockRecorder) RemovePublishedNVMeSession(arg0, arg1, arg2 interface{}) *gomock.Call { +func (mr *MockNVMeInterfaceMockRecorder) RemovePublishedNVMeSession(arg0, arg1, arg2 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePublishedNVMeSession", reflect.TypeOf((*MockNVMeInterface)(nil).RemovePublishedNVMeSession), arg0, arg1, arg2) } diff --git a/mocks/mock_utils/mock_reconcile_utils/reconcile_utils.go b/mocks/mock_utils/mock_reconcile_utils/reconcile_utils.go index 1e38b33b5..f9cbb5165 100644 --- a/mocks/mock_utils/mock_reconcile_utils/reconcile_utils.go +++ b/mocks/mock_utils/mock_reconcile_utils/reconcile_utils.go @@ -1,5 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/netapp/trident/utils/iscsi (interfaces: IscsiReconcileUtils) +// +// Generated by this command: +// +// mockgen -destination=../../mocks/mock_utils/mock_reconcile_utils/reconcile_utils.go github.com/netapp/trident/utils/iscsi IscsiReconcileUtils +// // Package mock_iscsi is a generated GoMock package. package mock_iscsi @@ -8,9 +13,8 @@ import ( context "context" reflect "reflect" - gomock "go.uber.org/mock/gomock" - models "github.com/netapp/trident/utils/models" + gomock "go.uber.org/mock/gomock" ) // MockIscsiReconcileUtils is a mock of IscsiReconcileUtils interface. @@ -46,7 +50,7 @@ func (m *MockIscsiReconcileUtils) GetDevicesForLUN(arg0 []string) ([]string, err } // GetDevicesForLUN indicates an expected call of GetDevicesForLUN. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetDevicesForLUN(arg0 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetDevicesForLUN(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDevicesForLUN", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetDevicesForLUN), arg0) } @@ -60,7 +64,7 @@ func (m *MockIscsiReconcileUtils) GetISCSIHostSessionMapForTarget(arg0 context.C } // GetISCSIHostSessionMapForTarget indicates an expected call of GetISCSIHostSessionMapForTarget. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetISCSIHostSessionMapForTarget(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetISCSIHostSessionMapForTarget(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetISCSIHostSessionMapForTarget", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetISCSIHostSessionMapForTarget), arg0, arg1) } @@ -75,7 +79,7 @@ func (m *MockIscsiReconcileUtils) GetMultipathDeviceBySerial(arg0 context.Contex } // GetMultipathDeviceBySerial indicates an expected call of GetMultipathDeviceBySerial. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceBySerial(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceBySerial(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipathDeviceBySerial", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetMultipathDeviceBySerial), arg0, arg1) } @@ -90,7 +94,7 @@ func (m *MockIscsiReconcileUtils) GetMultipathDeviceDisks(arg0 context.Context, } // GetMultipathDeviceDisks indicates an expected call of GetMultipathDeviceDisks. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceDisks(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceDisks(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipathDeviceDisks", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetMultipathDeviceDisks), arg0, arg1) } @@ -105,7 +109,7 @@ func (m *MockIscsiReconcileUtils) GetMultipathDeviceUUID(arg0 string) (string, e } // GetMultipathDeviceUUID indicates an expected call of GetMultipathDeviceUUID. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceUUID(arg0 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetMultipathDeviceUUID(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMultipathDeviceUUID", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetMultipathDeviceUUID), arg0) } @@ -119,7 +123,7 @@ func (m *MockIscsiReconcileUtils) GetSysfsBlockDirsForLUN(arg0 int, arg1 map[int } // GetSysfsBlockDirsForLUN indicates an expected call of GetSysfsBlockDirsForLUN. -func (mr *MockIscsiReconcileUtilsMockRecorder) GetSysfsBlockDirsForLUN(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) GetSysfsBlockDirsForLUN(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSysfsBlockDirsForLUN", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).GetSysfsBlockDirsForLUN), arg0, arg1) } @@ -134,7 +138,7 @@ func (m *MockIscsiReconcileUtils) ReconcileISCSIVolumeInfo(arg0 context.Context, } // ReconcileISCSIVolumeInfo indicates an expected call of ReconcileISCSIVolumeInfo. -func (mr *MockIscsiReconcileUtilsMockRecorder) ReconcileISCSIVolumeInfo(arg0, arg1 interface{}) *gomock.Call { +func (mr *MockIscsiReconcileUtilsMockRecorder) ReconcileISCSIVolumeInfo(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileISCSIVolumeInfo", reflect.TypeOf((*MockIscsiReconcileUtils)(nil).ReconcileISCSIVolumeInfo), arg0, arg1) }