// Code generated by MockGen. DO NOT EDIT. // Source: kpt-tmr-group/module/backend (interfaces: SystemService) // Package kptservicemock is a generated GoMock package. package kptservicemock import ( context "context" operationPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/operation" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockSystemService is a mock of SystemService interface. type MockSystemService struct { ctrl *gomock.Controller recorder *MockSystemServiceMockRecorder } // MockSystemServiceMockRecorder is the mock recorder for MockSystemService. type MockSystemServiceMockRecorder struct { mock *MockSystemService } // NewMockSystemService creates a new mock instance. func NewMockSystemService(ctrl *gomock.Controller) *MockSystemService { mock := &MockSystemService{ctrl: ctrl} mock.recorder = &MockSystemServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockSystemService) EXPECT() *MockSystemServiceMockRecorder { return m.recorder } // Auth mocks base method. func (m *MockSystemService) Auth(arg0 context.Context, arg1 *operationPb.UserAuthData) (*operationPb.SystemToken, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Auth", arg0, arg1) ret0, _ := ret[0].(*operationPb.SystemToken) ret1, _ := ret[1].(error) return ret0, ret1 } // Auth indicates an expected call of Auth. func (mr *MockSystemServiceMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Auth", reflect.TypeOf((*MockSystemService)(nil).Auth), arg0, arg1) } // CreateSystemMenu mocks base method. func (m *MockSystemService) CreateSystemMenu(arg0 context.Context, arg1 *operationPb.AddMenuRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateSystemMenu", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // CreateSystemMenu indicates an expected call of CreateSystemMenu. func (mr *MockSystemServiceMockRecorder) CreateSystemMenu(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSystemMenu", reflect.TypeOf((*MockSystemService)(nil).CreateSystemMenu), arg0, arg1) } // CreateSystemRole mocks base method. func (m *MockSystemService) CreateSystemRole(arg0 context.Context, arg1 *operationPb.AddRoleRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateSystemRole", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // CreateSystemRole indicates an expected call of CreateSystemRole. func (mr *MockSystemServiceMockRecorder) CreateSystemRole(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSystemRole", reflect.TypeOf((*MockSystemService)(nil).CreateSystemRole), arg0, arg1) } // CreateSystemUser mocks base method. func (m *MockSystemService) CreateSystemUser(arg0 context.Context, arg1 *operationPb.AddSystemUser) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateSystemUser", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // CreateSystemUser indicates an expected call of CreateSystemUser. func (mr *MockSystemServiceMockRecorder) CreateSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSystemUser", reflect.TypeOf((*MockSystemService)(nil).CreateSystemUser), arg0, arg1) } // DeleteSystemMenu mocks base method. func (m *MockSystemService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // DeleteSystemMenu indicates an expected call of DeleteSystemMenu. func (mr *MockSystemServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockSystemService)(nil).DeleteSystemMenu), arg0, arg1) } // DeleteSystemRole mocks base method. func (m *MockSystemService) DeleteSystemRole(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // DeleteSystemRole indicates an expected call of DeleteSystemRole. func (mr *MockSystemServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockSystemService)(nil).DeleteSystemRole), arg0, arg1) } // DeleteSystemUser mocks base method. func (m *MockSystemService) DeleteSystemUser(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // DeleteSystemUser indicates an expected call of DeleteSystemUser. func (mr *MockSystemServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockSystemService)(nil).DeleteSystemUser), arg0, arg1) } // DetailsSystemUser mocks base method. func (m *MockSystemService) DetailsSystemUser(arg0 context.Context, arg1 int64) (*operationPb.UserDetails, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DetailsSystemUser", arg0, arg1) ret0, _ := ret[0].(*operationPb.UserDetails) ret1, _ := ret[1].(error) return ret0, ret1 } // DetailsSystemUser indicates an expected call of DetailsSystemUser. func (mr *MockSystemServiceMockRecorder) DetailsSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetailsSystemUser", reflect.TypeOf((*MockSystemService)(nil).DetailsSystemUser), arg0, arg1) } // EditSystemMenu mocks base method. func (m *MockSystemService) EditSystemMenu(arg0 context.Context, arg1 *operationPb.AddMenuRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EditSystemMenu", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // EditSystemMenu indicates an expected call of EditSystemMenu. func (mr *MockSystemServiceMockRecorder) EditSystemMenu(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EditSystemMenu", reflect.TypeOf((*MockSystemService)(nil).EditSystemMenu), arg0, arg1) } // EditSystemRole mocks base method. func (m *MockSystemService) EditSystemRole(arg0 context.Context, arg1 *operationPb.AddRoleRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EditSystemRole", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // EditSystemRole indicates an expected call of EditSystemRole. func (mr *MockSystemServiceMockRecorder) EditSystemRole(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EditSystemRole", reflect.TypeOf((*MockSystemService)(nil).EditSystemRole), arg0, arg1) } // EditSystemUser mocks base method. func (m *MockSystemService) EditSystemUser(arg0 context.Context, arg1 *operationPb.AddSystemUser) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EditSystemUser", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // EditSystemUser indicates an expected call of EditSystemUser. func (mr *MockSystemServiceMockRecorder) EditSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EditSystemUser", reflect.TypeOf((*MockSystemService)(nil).EditSystemUser), arg0, arg1) } // GetCurrentUserName mocks base method. func (m *MockSystemService) GetCurrentUserName(arg0 context.Context) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetCurrentUserName", arg0) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 } // GetCurrentUserName indicates an expected call of GetCurrentUserName. func (mr *MockSystemServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockSystemService)(nil).GetCurrentUserName), arg0) } // GetRolePermissions mocks base method. func (m *MockSystemService) GetRolePermissions(arg0 context.Context, arg1 int64) (*operationPb.RolePermissionsList, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetRolePermissions", arg0, arg1) ret0, _ := ret[0].(*operationPb.RolePermissionsList) ret1, _ := ret[1].(error) return ret0, ret1 } // GetRolePermissions indicates an expected call of GetRolePermissions. func (mr *MockSystemServiceMockRecorder) GetRolePermissions(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRolePermissions", reflect.TypeOf((*MockSystemService)(nil).GetRolePermissions), arg0, arg1) } // GetSystemUserPermissions mocks base method. func (m *MockSystemService) GetSystemUserPermissions(arg0 context.Context, arg1 string) (*operationPb.SystemUserMenuPermissions, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSystemUserPermissions", arg0, arg1) ret0, _ := ret[0].(*operationPb.SystemUserMenuPermissions) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSystemUserPermissions indicates an expected call of GetSystemUserPermissions. func (mr *MockSystemServiceMockRecorder) GetSystemUserPermissions(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserPermissions", reflect.TypeOf((*MockSystemService)(nil).GetSystemUserPermissions), arg0, arg1) } // GetUserInfo mocks base method. func (m *MockSystemService) GetUserInfo(arg0 context.Context, arg1 string) (*operationPb.UserAuth, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetUserInfo", arg0, arg1) ret0, _ := ret[0].(*operationPb.UserAuth) ret1, _ := ret[1].(error) return ret0, ret1 } // GetUserInfo indicates an expected call of GetUserInfo. func (mr *MockSystemServiceMockRecorder) GetUserInfo(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserInfo", reflect.TypeOf((*MockSystemService)(nil).GetUserInfo), arg0, arg1) } // IsShowSystemMenu mocks base method. func (m *MockSystemService) IsShowSystemMenu(arg0 context.Context, arg1 *operationPb.IsShowSystemMenuRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "IsShowSystemMenu", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // IsShowSystemMenu indicates an expected call of IsShowSystemMenu. func (mr *MockSystemServiceMockRecorder) IsShowSystemMenu(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemMenu", reflect.TypeOf((*MockSystemService)(nil).IsShowSystemMenu), arg0, arg1) } // IsShowSystemUser mocks base method. func (m *MockSystemService) IsShowSystemUser(arg0 context.Context, arg1 *operationPb.IsShowSystemUserRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // IsShowSystemUser indicates an expected call of IsShowSystemUser. func (mr *MockSystemServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockSystemService)(nil).IsShowSystemUser), arg0, arg1) } // ResetPasswordSystemUser mocks base method. func (m *MockSystemService) ResetPasswordSystemUser(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser. func (mr *MockSystemServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockSystemService)(nil).ResetPasswordSystemUser), arg0, arg1) } // SearchMobileList mocks base method. func (m *MockSystemService) SearchMobileList(arg0 context.Context, arg1 *operationPb.SearchMobileRequest) (*operationPb.SearchMobileResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchMobileList", arg0, arg1) ret0, _ := ret[0].(*operationPb.SearchMobileResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchMobileList indicates an expected call of SearchMobileList. func (mr *MockSystemServiceMockRecorder) SearchMobileList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMobileList", reflect.TypeOf((*MockSystemService)(nil).SearchMobileList), arg0, arg1) } // SearchSystemMenuList mocks base method. func (m *MockSystemService) SearchSystemMenuList(arg0 context.Context, arg1 *operationPb.SearchMenuRequest) (*operationPb.SearchMenuResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1) ret0, _ := ret[0].(*operationPb.SearchMenuResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemMenuList indicates an expected call of SearchSystemMenuList. func (mr *MockSystemServiceMockRecorder) SearchSystemMenuList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemMenuList), arg0, arg1) } // SearchSystemRoleList mocks base method. func (m *MockSystemService) SearchSystemRoleList(arg0 context.Context, arg1 *operationPb.SearchRoleRequest) (*operationPb.SearchRoleResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1) ret0, _ := ret[0].(*operationPb.SearchRoleResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemRoleList indicates an expected call of SearchSystemRoleList. func (mr *MockSystemServiceMockRecorder) SearchSystemRoleList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemRoleList), arg0, arg1) } // SearchSystemUserList mocks base method. func (m *MockSystemService) SearchSystemUserList(arg0 context.Context, arg1 *operationPb.SearchUserRequest) (*operationPb.SearchUserResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1) ret0, _ := ret[0].(*operationPb.SearchUserResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemUserList indicates an expected call of SearchSystemUserList. func (mr *MockSystemServiceMockRecorder) SearchSystemUserList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemUserList), arg0, arg1) }