...

Source file src/edge-infra.dev/pkg/edge/api/mocks/mock_store_cluster_service.go

Documentation: edge-infra.dev/pkg/edge/api/mocks

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: edge-infra.dev/pkg/edge/api/services (interfaces: StoreClusterService)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	model "edge-infra.dev/pkg/edge/api/graph/model"
    12  	types "edge-infra.dev/pkg/edge/api/types"
    13  	gomock "github.com/golang/mock/gomock"
    14  	v1 "k8s.io/api/core/v1"
    15  )
    16  
    17  // MockStoreClusterService is a mock of StoreClusterService interface.
    18  type MockStoreClusterService struct {
    19  	ctrl     *gomock.Controller
    20  	recorder *MockStoreClusterServiceMockRecorder
    21  }
    22  
    23  // MockStoreClusterServiceMockRecorder is the mock recorder for MockStoreClusterService.
    24  type MockStoreClusterServiceMockRecorder struct {
    25  	mock *MockStoreClusterService
    26  }
    27  
    28  // NewMockStoreClusterService creates a new mock instance.
    29  func NewMockStoreClusterService(ctrl *gomock.Controller) *MockStoreClusterService {
    30  	mock := &MockStoreClusterService{ctrl: ctrl}
    31  	mock.recorder = &MockStoreClusterServiceMockRecorder{mock}
    32  	return mock
    33  }
    34  
    35  // EXPECT returns an object that allows the caller to indicate expected use.
    36  func (m *MockStoreClusterService) EXPECT() *MockStoreClusterServiceMockRecorder {
    37  	return m.recorder
    38  }
    39  
    40  // CreateClusterNetworkServices mocks base method.
    41  func (m *MockStoreClusterService) CreateClusterNetworkServices(arg0 context.Context, arg1 string, arg2 []*model.CreateNetworkServiceInfo) ([]*model.ClusterNetworkServiceInfo, error) {
    42  	m.ctrl.T.Helper()
    43  	ret := m.ctrl.Call(m, "CreateClusterNetworkServices", arg0, arg1, arg2)
    44  	ret0, _ := ret[0].([]*model.ClusterNetworkServiceInfo)
    45  	ret1, _ := ret[1].(error)
    46  	return ret0, ret1
    47  }
    48  
    49  // CreateClusterNetworkServices indicates an expected call of CreateClusterNetworkServices.
    50  func (mr *MockStoreClusterServiceMockRecorder) CreateClusterNetworkServices(arg0, arg1, arg2 interface{}) *gomock.Call {
    51  	mr.mock.ctrl.T.Helper()
    52  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateClusterNetworkServices", reflect.TypeOf((*MockStoreClusterService)(nil).CreateClusterNetworkServices), arg0, arg1, arg2)
    53  }
    54  
    55  // DeleteClusterNetworkService mocks base method.
    56  func (m *MockStoreClusterService) DeleteClusterNetworkService(arg0 context.Context, arg1, arg2 string) (bool, error) {
    57  	m.ctrl.T.Helper()
    58  	ret := m.ctrl.Call(m, "DeleteClusterNetworkService", arg0, arg1, arg2)
    59  	ret0, _ := ret[0].(bool)
    60  	ret1, _ := ret[1].(error)
    61  	return ret0, ret1
    62  }
    63  
    64  // DeleteClusterNetworkService indicates an expected call of DeleteClusterNetworkService.
    65  func (mr *MockStoreClusterServiceMockRecorder) DeleteClusterNetworkService(arg0, arg1, arg2 interface{}) *gomock.Call {
    66  	mr.mock.ctrl.T.Helper()
    67  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteClusterNetworkService", reflect.TypeOf((*MockStoreClusterService)(nil).DeleteClusterNetworkService), arg0, arg1, arg2)
    68  }
    69  
    70  // DeleteStoreEntry mocks base method.
    71  func (m *MockStoreClusterService) DeleteStoreEntry(arg0 context.Context, arg1 string) error {
    72  	m.ctrl.T.Helper()
    73  	ret := m.ctrl.Call(m, "DeleteStoreEntry", arg0, arg1)
    74  	ret0, _ := ret[0].(error)
    75  	return ret0
    76  }
    77  
    78  // DeleteStoreEntry indicates an expected call of DeleteStoreEntry.
    79  func (mr *MockStoreClusterServiceMockRecorder) DeleteStoreEntry(arg0, arg1 interface{}) *gomock.Call {
    80  	mr.mock.ctrl.T.Helper()
    81  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStoreEntry", reflect.TypeOf((*MockStoreClusterService)(nil).DeleteStoreEntry), arg0, arg1)
    82  }
    83  
    84  // GetActiveEdgeVersion mocks base method.
    85  func (m *MockStoreClusterService) GetActiveEdgeVersion(arg0 context.Context, arg1 string) (string, error) {
    86  	m.ctrl.T.Helper()
    87  	ret := m.ctrl.Call(m, "GetActiveEdgeVersion", arg0, arg1)
    88  	ret0, _ := ret[0].(string)
    89  	ret1, _ := ret[1].(error)
    90  	return ret0, ret1
    91  }
    92  
    93  // GetActiveEdgeVersion indicates an expected call of GetActiveEdgeVersion.
    94  func (mr *MockStoreClusterServiceMockRecorder) GetActiveEdgeVersion(arg0, arg1 interface{}) *gomock.Call {
    95  	mr.mock.ctrl.T.Helper()
    96  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetActiveEdgeVersion", reflect.TypeOf((*MockStoreClusterService)(nil).GetActiveEdgeVersion), arg0, arg1)
    97  }
    98  
    99  // GetCluster mocks base method.
   100  func (m *MockStoreClusterService) GetCluster(arg0 context.Context, arg1 string) (*model.Cluster, error) {
   101  	m.ctrl.T.Helper()
   102  	ret := m.ctrl.Call(m, "GetCluster", arg0, arg1)
   103  	ret0, _ := ret[0].(*model.Cluster)
   104  	ret1, _ := ret[1].(error)
   105  	return ret0, ret1
   106  }
   107  
   108  // GetCluster indicates an expected call of GetCluster.
   109  func (mr *MockStoreClusterServiceMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call {
   110  	mr.mock.ctrl.T.Helper()
   111  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCluster", reflect.TypeOf((*MockStoreClusterService)(nil).GetCluster), arg0, arg1)
   112  }
   113  
   114  // GetClusterByClusterEdgeID mocks base method.
   115  func (m *MockStoreClusterService) GetClusterByClusterEdgeID(arg0 context.Context, arg1 string) (types.Cluster, error) {
   116  	m.ctrl.T.Helper()
   117  	ret := m.ctrl.Call(m, "GetClusterByClusterEdgeID", arg0, arg1)
   118  	ret0, _ := ret[0].(types.Cluster)
   119  	ret1, _ := ret[1].(error)
   120  	return ret0, ret1
   121  }
   122  
   123  // GetClusterByClusterEdgeID indicates an expected call of GetClusterByClusterEdgeID.
   124  func (mr *MockStoreClusterServiceMockRecorder) GetClusterByClusterEdgeID(arg0, arg1 interface{}) *gomock.Call {
   125  	mr.mock.ctrl.T.Helper()
   126  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterByClusterEdgeID", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterByClusterEdgeID), arg0, arg1)
   127  }
   128  
   129  // GetClusterByNameAndProject mocks base method.
   130  func (m *MockStoreClusterService) GetClusterByNameAndProject(arg0 context.Context, arg1, arg2 string) (*model.Cluster, error) {
   131  	m.ctrl.T.Helper()
   132  	ret := m.ctrl.Call(m, "GetClusterByNameAndProject", arg0, arg1, arg2)
   133  	ret0, _ := ret[0].(*model.Cluster)
   134  	ret1, _ := ret[1].(error)
   135  	return ret0, ret1
   136  }
   137  
   138  // GetClusterByNameAndProject indicates an expected call of GetClusterByNameAndProject.
   139  func (mr *MockStoreClusterServiceMockRecorder) GetClusterByNameAndProject(arg0, arg1, arg2 interface{}) *gomock.Call {
   140  	mr.mock.ctrl.T.Helper()
   141  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterByNameAndProject", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterByNameAndProject), arg0, arg1, arg2)
   142  }
   143  
   144  // GetClusterComponentsStatus mocks base method.
   145  func (m *MockStoreClusterService) GetClusterComponentsStatus(arg0 context.Context, arg1 *model.CombinedStatus) ([]*model.ComponentStatus, error) {
   146  	m.ctrl.T.Helper()
   147  	ret := m.ctrl.Call(m, "GetClusterComponentsStatus", arg0, arg1)
   148  	ret0, _ := ret[0].([]*model.ComponentStatus)
   149  	ret1, _ := ret[1].(error)
   150  	return ret0, ret1
   151  }
   152  
   153  // GetClusterComponentsStatus indicates an expected call of GetClusterComponentsStatus.
   154  func (mr *MockStoreClusterServiceMockRecorder) GetClusterComponentsStatus(arg0, arg1 interface{}) *gomock.Call {
   155  	mr.mock.ctrl.T.Helper()
   156  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterComponentsStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterComponentsStatus), arg0, arg1)
   157  }
   158  
   159  // GetClusterConfigmap mocks base method.
   160  func (m *MockStoreClusterService) GetClusterConfigmap(arg0 context.Context, arg1 *model.Cluster, arg2, arg3 string) (*v1.ConfigMap, error) {
   161  	m.ctrl.T.Helper()
   162  	ret := m.ctrl.Call(m, "GetClusterConfigmap", arg0, arg1, arg2, arg3)
   163  	ret0, _ := ret[0].(*v1.ConfigMap)
   164  	ret1, _ := ret[1].(error)
   165  	return ret0, ret1
   166  }
   167  
   168  // GetClusterConfigmap indicates an expected call of GetClusterConfigmap.
   169  func (mr *MockStoreClusterServiceMockRecorder) GetClusterConfigmap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   170  	mr.mock.ctrl.T.Helper()
   171  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterConfigmap", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterConfigmap), arg0, arg1, arg2, arg3)
   172  }
   173  
   174  // GetClusterK8sNetworkServices mocks base method.
   175  func (m *MockStoreClusterService) GetClusterK8sNetworkServices(arg0 context.Context, arg1 string) (map[string]string, error) {
   176  	m.ctrl.T.Helper()
   177  	ret := m.ctrl.Call(m, "GetClusterK8sNetworkServices", arg0, arg1)
   178  	ret0, _ := ret[0].(map[string]string)
   179  	ret1, _ := ret[1].(error)
   180  	return ret0, ret1
   181  }
   182  
   183  // GetClusterK8sNetworkServices indicates an expected call of GetClusterK8sNetworkServices.
   184  func (mr *MockStoreClusterServiceMockRecorder) GetClusterK8sNetworkServices(arg0, arg1 interface{}) *gomock.Call {
   185  	mr.mock.ctrl.T.Helper()
   186  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterK8sNetworkServices", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterK8sNetworkServices), arg0, arg1)
   187  }
   188  
   189  // GetClusterNetworkServiceByNetworkID mocks base method.
   190  func (m *MockStoreClusterService) GetClusterNetworkServiceByNetworkID(arg0 context.Context, arg1, arg2 string) (*model.ClusterNetworkServiceInfo, error) {
   191  	m.ctrl.T.Helper()
   192  	ret := m.ctrl.Call(m, "GetClusterNetworkServiceByNetworkID", arg0, arg1, arg2)
   193  	ret0, _ := ret[0].(*model.ClusterNetworkServiceInfo)
   194  	ret1, _ := ret[1].(error)
   195  	return ret0, ret1
   196  }
   197  
   198  // GetClusterNetworkServiceByNetworkID indicates an expected call of GetClusterNetworkServiceByNetworkID.
   199  func (mr *MockStoreClusterServiceMockRecorder) GetClusterNetworkServiceByNetworkID(arg0, arg1, arg2 interface{}) *gomock.Call {
   200  	mr.mock.ctrl.T.Helper()
   201  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterNetworkServiceByNetworkID", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterNetworkServiceByNetworkID), arg0, arg1, arg2)
   202  }
   203  
   204  // GetClusterNetworkServices mocks base method.
   205  func (m *MockStoreClusterService) GetClusterNetworkServices(arg0 context.Context, arg1 string) ([]*model.ClusterNetworkServiceInfo, error) {
   206  	m.ctrl.T.Helper()
   207  	ret := m.ctrl.Call(m, "GetClusterNetworkServices", arg0, arg1)
   208  	ret0, _ := ret[0].([]*model.ClusterNetworkServiceInfo)
   209  	ret1, _ := ret[1].(error)
   210  	return ret0, ret1
   211  }
   212  
   213  // GetClusterNetworkServices indicates an expected call of GetClusterNetworkServices.
   214  func (mr *MockStoreClusterServiceMockRecorder) GetClusterNetworkServices(arg0, arg1 interface{}) *gomock.Call {
   215  	mr.mock.ctrl.T.Helper()
   216  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterNetworkServices", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterNetworkServices), arg0, arg1)
   217  }
   218  
   219  // GetClusterStatus mocks base method.
   220  func (m *MockStoreClusterService) GetClusterStatus(arg0 context.Context, arg1 *model.Cluster) (*model.ClusterStatusResponse, error) {
   221  	m.ctrl.T.Helper()
   222  	ret := m.ctrl.Call(m, "GetClusterStatus", arg0, arg1)
   223  	ret0, _ := ret[0].(*model.ClusterStatusResponse)
   224  	ret1, _ := ret[1].(error)
   225  	return ret0, ret1
   226  }
   227  
   228  // GetClusterStatus indicates an expected call of GetClusterStatus.
   229  func (mr *MockStoreClusterServiceMockRecorder) GetClusterStatus(arg0, arg1 interface{}) *gomock.Call {
   230  	mr.mock.ctrl.T.Helper()
   231  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusterStatus), arg0, arg1)
   232  }
   233  
   234  // GetClusters mocks base method.
   235  func (m *MockStoreClusterService) GetClusters(arg0 context.Context, arg1 string, arg2 []string) ([]*model.Cluster, error) {
   236  	m.ctrl.T.Helper()
   237  	ret := m.ctrl.Call(m, "GetClusters", arg0, arg1, arg2)
   238  	ret0, _ := ret[0].([]*model.Cluster)
   239  	ret1, _ := ret[1].(error)
   240  	return ret0, ret1
   241  }
   242  
   243  // GetClusters indicates an expected call of GetClusters.
   244  func (mr *MockStoreClusterServiceMockRecorder) GetClusters(arg0, arg1, arg2 interface{}) *gomock.Call {
   245  	mr.mock.ctrl.T.Helper()
   246  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusters", reflect.TypeOf((*MockStoreClusterService)(nil).GetClusters), arg0, arg1, arg2)
   247  }
   248  
   249  // GetCombinedClusterStatus mocks base method.
   250  func (m *MockStoreClusterService) GetCombinedClusterStatus(arg0 context.Context, arg1 *model.CombinedStatus) (*model.ClusterStatus, error) {
   251  	m.ctrl.T.Helper()
   252  	ret := m.ctrl.Call(m, "GetCombinedClusterStatus", arg0, arg1)
   253  	ret0, _ := ret[0].(*model.ClusterStatus)
   254  	ret1, _ := ret[1].(error)
   255  	return ret0, ret1
   256  }
   257  
   258  // GetCombinedClusterStatus indicates an expected call of GetCombinedClusterStatus.
   259  func (mr *MockStoreClusterServiceMockRecorder) GetCombinedClusterStatus(arg0, arg1 interface{}) *gomock.Call {
   260  	mr.mock.ctrl.T.Helper()
   261  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCombinedClusterStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetCombinedClusterStatus), arg0, arg1)
   262  }
   263  
   264  // GetComponentStatus mocks base method.
   265  func (m *MockStoreClusterService) GetComponentStatus(arg0 context.Context, arg1, arg2 string, arg3 bool) (*model.ClusterStatus, error) {
   266  	m.ctrl.T.Helper()
   267  	ret := m.ctrl.Call(m, "GetComponentStatus", arg0, arg1, arg2, arg3)
   268  	ret0, _ := ret[0].(*model.ClusterStatus)
   269  	ret1, _ := ret[1].(error)
   270  	return ret0, ret1
   271  }
   272  
   273  // GetComponentStatus indicates an expected call of GetComponentStatus.
   274  func (mr *MockStoreClusterServiceMockRecorder) GetComponentStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   275  	mr.mock.ctrl.T.Helper()
   276  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetComponentStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetComponentStatus), arg0, arg1, arg2, arg3)
   277  }
   278  
   279  // GetEventsForCluster mocks base method.
   280  func (m *MockStoreClusterService) GetEventsForCluster(arg0 context.Context, arg1 string) ([]*model.Event, error) {
   281  	m.ctrl.T.Helper()
   282  	ret := m.ctrl.Call(m, "GetEventsForCluster", arg0, arg1)
   283  	ret0, _ := ret[0].([]*model.Event)
   284  	ret1, _ := ret[1].(error)
   285  	return ret0, ret1
   286  }
   287  
   288  // GetEventsForCluster indicates an expected call of GetEventsForCluster.
   289  func (mr *MockStoreClusterServiceMockRecorder) GetEventsForCluster(arg0, arg1 interface{}) *gomock.Call {
   290  	mr.mock.ctrl.T.Helper()
   291  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEventsForCluster", reflect.TypeOf((*MockStoreClusterService)(nil).GetEventsForCluster), arg0, arg1)
   292  }
   293  
   294  // GetInfraStatus mocks base method.
   295  func (m *MockStoreClusterService) GetInfraStatus(arg0 context.Context, arg1 string) (*model.InfraStatus, error) {
   296  	m.ctrl.T.Helper()
   297  	ret := m.ctrl.Call(m, "GetInfraStatus", arg0, arg1)
   298  	ret0, _ := ret[0].(*model.InfraStatus)
   299  	ret1, _ := ret[1].(error)
   300  	return ret0, ret1
   301  }
   302  
   303  // GetInfraStatus indicates an expected call of GetInfraStatus.
   304  func (mr *MockStoreClusterServiceMockRecorder) GetInfraStatus(arg0, arg1 interface{}) *gomock.Call {
   305  	mr.mock.ctrl.T.Helper()
   306  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInfraStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetInfraStatus), arg0, arg1)
   307  }
   308  
   309  // GetLabelsForCluster mocks base method.
   310  func (m *MockStoreClusterService) GetLabelsForCluster(arg0 context.Context, arg1 string) ([]*model.Label, error) {
   311  	m.ctrl.T.Helper()
   312  	ret := m.ctrl.Call(m, "GetLabelsForCluster", arg0, arg1)
   313  	ret0, _ := ret[0].([]*model.Label)
   314  	ret1, _ := ret[1].(error)
   315  	return ret0, ret1
   316  }
   317  
   318  // GetLabelsForCluster indicates an expected call of GetLabelsForCluster.
   319  func (mr *MockStoreClusterServiceMockRecorder) GetLabelsForCluster(arg0, arg1 interface{}) *gomock.Call {
   320  	mr.mock.ctrl.T.Helper()
   321  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLabelsForCluster", reflect.TypeOf((*MockStoreClusterService)(nil).GetLabelsForCluster), arg0, arg1)
   322  }
   323  
   324  // GetReplicationStatus mocks base method.
   325  func (m *MockStoreClusterService) GetReplicationStatus(arg0 context.Context, arg1 string) ([]*model.ReplicationStatus, error) {
   326  	m.ctrl.T.Helper()
   327  	ret := m.ctrl.Call(m, "GetReplicationStatus", arg0, arg1)
   328  	ret0, _ := ret[0].([]*model.ReplicationStatus)
   329  	ret1, _ := ret[1].(error)
   330  	return ret0, ret1
   331  }
   332  
   333  // GetReplicationStatus indicates an expected call of GetReplicationStatus.
   334  func (mr *MockStoreClusterServiceMockRecorder) GetReplicationStatus(arg0, arg1 interface{}) *gomock.Call {
   335  	mr.mock.ctrl.T.Helper()
   336  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetReplicationStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetReplicationStatus), arg0, arg1)
   337  }
   338  
   339  // GetSupportStatus mocks base method.
   340  func (m *MockStoreClusterService) GetSupportStatus(arg0 context.Context, arg1 *model.CombinedStatus) (*model.SupportStatus, error) {
   341  	m.ctrl.T.Helper()
   342  	ret := m.ctrl.Call(m, "GetSupportStatus", arg0, arg1)
   343  	ret0, _ := ret[0].(*model.SupportStatus)
   344  	ret1, _ := ret[1].(error)
   345  	return ret0, ret1
   346  }
   347  
   348  // GetSupportStatus indicates an expected call of GetSupportStatus.
   349  func (mr *MockStoreClusterServiceMockRecorder) GetSupportStatus(arg0, arg1 interface{}) *gomock.Call {
   350  	mr.mock.ctrl.T.Helper()
   351  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSupportStatus", reflect.TypeOf((*MockStoreClusterService)(nil).GetSupportStatus), arg0, arg1)
   352  }
   353  
   354  // SoftDeleteStoreEntry mocks base method.
   355  func (m *MockStoreClusterService) SoftDeleteStoreEntry(arg0 context.Context, arg1 string) error {
   356  	m.ctrl.T.Helper()
   357  	ret := m.ctrl.Call(m, "SoftDeleteStoreEntry", arg0, arg1)
   358  	ret0, _ := ret[0].(error)
   359  	return ret0
   360  }
   361  
   362  // SoftDeleteStoreEntry indicates an expected call of SoftDeleteStoreEntry.
   363  func (mr *MockStoreClusterServiceMockRecorder) SoftDeleteStoreEntry(arg0, arg1 interface{}) *gomock.Call {
   364  	mr.mock.ctrl.T.Helper()
   365  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SoftDeleteStoreEntry", reflect.TypeOf((*MockStoreClusterService)(nil).SoftDeleteStoreEntry), arg0, arg1)
   366  }
   367  
   368  // UpdateClusterNetworkServices mocks base method.
   369  func (m *MockStoreClusterService) UpdateClusterNetworkServices(arg0 context.Context, arg1 string, arg2 []*model.UpdateNetworkServiceInfo, arg3 map[string]string) ([]*model.ClusterNetworkServiceInfo, error) {
   370  	m.ctrl.T.Helper()
   371  	ret := m.ctrl.Call(m, "UpdateClusterNetworkServices", arg0, arg1, arg2, arg3)
   372  	ret0, _ := ret[0].([]*model.ClusterNetworkServiceInfo)
   373  	ret1, _ := ret[1].(error)
   374  	return ret0, ret1
   375  }
   376  
   377  // UpdateClusterNetworkServices indicates an expected call of UpdateClusterNetworkServices.
   378  func (mr *MockStoreClusterServiceMockRecorder) UpdateClusterNetworkServices(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   379  	mr.mock.ctrl.T.Helper()
   380  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateClusterNetworkServices", reflect.TypeOf((*MockStoreClusterService)(nil).UpdateClusterNetworkServices), arg0, arg1, arg2, arg3)
   381  }
   382  
   383  // UpdateStoreName mocks base method.
   384  func (m *MockStoreClusterService) UpdateStoreName(arg0 context.Context, arg1, arg2 string) error {
   385  	m.ctrl.T.Helper()
   386  	ret := m.ctrl.Call(m, "UpdateStoreName", arg0, arg1, arg2)
   387  	ret0, _ := ret[0].(error)
   388  	return ret0
   389  }
   390  
   391  // UpdateStoreName indicates an expected call of UpdateStoreName.
   392  func (mr *MockStoreClusterServiceMockRecorder) UpdateStoreName(arg0, arg1, arg2 interface{}) *gomock.Call {
   393  	mr.mock.ctrl.T.Helper()
   394  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStoreName", reflect.TypeOf((*MockStoreClusterService)(nil).UpdateStoreName), arg0, arg1, arg2)
   395  }
   396  
   397  // UpdateStoreSiteID mocks base method.
   398  func (m *MockStoreClusterService) UpdateStoreSiteID(arg0 context.Context, arg1, arg2 string) error {
   399  	m.ctrl.T.Helper()
   400  	ret := m.ctrl.Call(m, "UpdateStoreSiteID", arg0, arg1, arg2)
   401  	ret0, _ := ret[0].(error)
   402  	return ret0
   403  }
   404  
   405  // UpdateStoreSiteID indicates an expected call of UpdateStoreSiteID.
   406  func (mr *MockStoreClusterServiceMockRecorder) UpdateStoreSiteID(arg0, arg1, arg2 interface{}) *gomock.Call {
   407  	mr.mock.ctrl.T.Helper()
   408  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStoreSiteID", reflect.TypeOf((*MockStoreClusterService)(nil).UpdateStoreSiteID), arg0, arg1, arg2)
   409  }
   410  

View as plain text