// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/edge/api/services (interfaces: ClusterConfigService) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" model "edge-infra.dev/pkg/edge/api/graph/model" gomock "github.com/golang/mock/gomock" ) // MockClusterConfigService is a mock of ClusterConfigService interface. type MockClusterConfigService struct { ctrl *gomock.Controller recorder *MockClusterConfigServiceMockRecorder } // MockClusterConfigServiceMockRecorder is the mock recorder for MockClusterConfigService. type MockClusterConfigServiceMockRecorder struct { mock *MockClusterConfigService } // NewMockClusterConfigService creates a new mock instance. func NewMockClusterConfigService(ctrl *gomock.Controller) *MockClusterConfigService { mock := &MockClusterConfigService{ctrl: ctrl} mock.recorder = &MockClusterConfigServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockClusterConfigService) EXPECT() *MockClusterConfigServiceMockRecorder { return m.recorder } // GetClusterConfig mocks base method. func (m *MockClusterConfigService) GetClusterConfig(arg0 context.Context, arg1 string) (*model.ClusterConfig, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetClusterConfig", arg0, arg1) ret0, _ := ret[0].(*model.ClusterConfig) ret1, _ := ret[1].(error) return ret0, ret1 } // GetClusterConfig indicates an expected call of GetClusterConfig. func (mr *MockClusterConfigServiceMockRecorder) GetClusterConfig(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClusterConfig", reflect.TypeOf((*MockClusterConfigService)(nil).GetClusterConfig), arg0, arg1) } // UpdateClusterConfig mocks base method. func (m *MockClusterConfigService) UpdateClusterConfig(arg0 context.Context, arg1 string, arg2 *model.UpdateClusterConfig) (*model.ClusterConfig, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UpdateClusterConfig", arg0, arg1, arg2) ret0, _ := ret[0].(*model.ClusterConfig) ret1, _ := ret[1].(error) return ret0, ret1 } // UpdateClusterConfig indicates an expected call of UpdateClusterConfig. func (mr *MockClusterConfigServiceMockRecorder) UpdateClusterConfig(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateClusterConfig", reflect.TypeOf((*MockClusterConfigService)(nil).UpdateClusterConfig), arg0, arg1, arg2) }