// Code generated by MockGen. DO NOT EDIT. // Source: kpt-pasture/module/backend (interfaces: SystemService) // Package kptservicemock is a generated GoMock package. package kptservicemock import ( context "context" reflect "reflect" cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow" 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 } // CreateOrUpdateSystemMenu mocks base method. func (m *MockSystemService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu. func (mr *MockSystemServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockSystemService)(nil).CreateOrUpdateSystemMenu), 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) } // 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) } // GetRoleMenuList mocks base method. func (m *MockSystemService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1) ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // GetRoleMenuList indicates an expected call of GetRoleMenuList. func (mr *MockSystemServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockSystemService)(nil).GetRoleMenuList), arg0, arg1) } // GetSystemUserMenu mocks base method. func (m *MockSystemService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0) ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // GetSystemUserMenu indicates an expected call of GetSystemUserMenu. func (mr *MockSystemServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockSystemService)(nil).GetSystemUserMenu), arg0) } // IsShowSystemRole mocks base method. func (m *MockSystemService) IsShowSystemRole(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // IsShowSystemRole indicates an expected call of IsShowSystemRole. func (mr *MockSystemServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockSystemService)(nil).IsShowSystemRole), arg0, arg1) } // IsShowSystemUser mocks base method. func (m *MockSystemService) IsShowSystemUser(arg0 context.Context, arg1 int64) 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) } // Login mocks base method. func (m *MockSystemService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Login", arg0, arg1) ret0, _ := ret[0].(*cowPb.SystemUserResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // Login indicates an expected call of Login. func (mr *MockSystemServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockSystemService)(nil).Login), arg0, arg1) } // ResetPasswordSystemUser mocks base method. func (m *MockSystemService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) 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) } // RoleMenuSave mocks base method. func (m *MockSystemService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // RoleMenuSave indicates an expected call of RoleMenuSave. func (mr *MockSystemServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockSystemService)(nil).RoleMenuSave), arg0, arg1) } // SearchSystemDeptList mocks base method. func (m *MockSystemService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchDeptResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemDeptList indicates an expected call of SearchSystemDeptList. func (mr *MockSystemServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemDeptList), arg0, arg1, arg2) } // SearchSystemMenuList mocks base method. func (m *MockSystemService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchMenuResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemMenuList indicates an expected call of SearchSystemMenuList. func (mr *MockSystemServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemMenuList), arg0, arg1, arg2) } // SearchSystemRoleList mocks base method. func (m *MockSystemService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchRoleResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemRoleList indicates an expected call of SearchSystemRoleList. func (mr *MockSystemServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemRoleList), arg0, arg1, arg2) } // SearchSystemUserList mocks base method. func (m *MockSystemService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2) ret0, _ := ret[0].(*cowPb.SearchUserResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSystemUserList indicates an expected call of SearchSystemUserList. func (mr *MockSystemServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockSystemService)(nil).SearchSystemUserList), arg0, arg1, arg2) } // SystemDepDelete mocks base method. func (m *MockSystemService) SystemDepDelete(arg0 context.Context, arg1 int64) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SystemDepDelete indicates an expected call of SystemDepDelete. func (mr *MockSystemServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockSystemService)(nil).SystemDepDelete), arg0, arg1) } // SystemDeptCreateOrUpdate mocks base method. func (m *MockSystemService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate. func (mr *MockSystemServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockSystemService)(nil).SystemDeptCreateOrUpdate), arg0, arg1) } // SystemMenuTree mocks base method. func (m *MockSystemService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemMenuTree", arg0) ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SystemMenuTree indicates an expected call of SystemMenuTree. func (mr *MockSystemServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockSystemService)(nil).SystemMenuTree), arg0) } // SystemRoleCreateOrUpdate mocks base method. func (m *MockSystemService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate. func (mr *MockSystemServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockSystemService)(nil).SystemRoleCreateOrUpdate), arg0, arg1) } // SystemRoleList mocks base method. func (m *MockSystemService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemRoleList", arg0) ret0, _ := ret[0].(*cowPb.GetRoleListResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SystemRoleList indicates an expected call of SystemRoleList. func (mr *MockSystemServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockSystemService)(nil).SystemRoleList), arg0) } // SystemUserCreateOrUpdate mocks base method. func (m *MockSystemService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate. func (mr *MockSystemServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockSystemService)(nil).SystemUserCreateOrUpdate), arg0, arg1) } // SystemUserRole mocks base method. func (m *MockSystemService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1) ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SystemUserRole indicates an expected call of SystemUserRole. func (mr *MockSystemServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockSystemService)(nil).SystemUserRole), arg0, arg1) } // SystemUserRoleSave mocks base method. func (m *MockSystemService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // SystemUserRoleSave indicates an expected call of SystemUserRoleSave. func (mr *MockSystemServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockSystemService)(nil).SystemUserRoleSave), arg0, arg1) }