mock_repositories

package
v0.0.0-...-a66885a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Package mock_repositories is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBoard

type MockBoard struct {
	// contains filtered or unexported fields
}

MockBoard is a mock of Board interface.

func NewMockBoard

func NewMockBoard(ctrl *gomock.Controller) *MockBoard

NewMockBoard creates a new mock instance.

func (*MockBoard) Create

func (m *MockBoard) Create(arg0 int, arg1 *models.Board) (int, error)

Create mocks base method.

func (*MockBoard) Delete

func (m *MockBoard) Delete(arg0 int) error

Delete mocks base method.

func (*MockBoard) EXPECT

func (m *MockBoard) EXPECT() *MockBoardMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBoard) GetAll

func (m *MockBoard) GetAll(arg0, arg1 int) ([]*models.Board, error)

GetAll mocks base method.

func (*MockBoard) GetBoardsCountByOwnerId

func (m *MockBoard) GetBoardsCountByOwnerId(arg0, arg1 int) (int, error)

GetBoardsCountByOwnerId mocks base method.

func (*MockBoard) GetById

func (m *MockBoard) GetById(arg0 int) (*models.Board, error)

GetById mocks base method.

func (*MockBoard) GetMembers

func (m *MockBoard) GetMembers(arg0 int) ([]*models.Member, error)

GetMembers mocks base method.

func (*MockBoard) GetPermissions

func (m *MockBoard) GetPermissions(arg0, arg1 int) (*models.Permission, error)

GetPermissions mocks base method.

func (*MockBoard) Update

func (m *MockBoard) Update(arg0 int, arg1 *models.UpdateBoard) error

Update mocks base method.

type MockBoardMockRecorder

type MockBoardMockRecorder struct {
	// contains filtered or unexported fields
}

MockBoardMockRecorder is the mock recorder for MockBoard.

func (*MockBoardMockRecorder) Create

func (mr *MockBoardMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockBoardMockRecorder) Delete

func (mr *MockBoardMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockBoardMockRecorder) GetAll

func (mr *MockBoardMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockBoardMockRecorder) GetBoardsCountByOwnerId

func (mr *MockBoardMockRecorder) GetBoardsCountByOwnerId(arg0, arg1 interface{}) *gomock.Call

GetBoardsCountByOwnerId indicates an expected call of GetBoardsCountByOwnerId.

func (*MockBoardMockRecorder) GetById

func (mr *MockBoardMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockBoardMockRecorder) GetMembers

func (mr *MockBoardMockRecorder) GetMembers(arg0 interface{}) *gomock.Call

GetMembers indicates an expected call of GetMembers.

func (*MockBoardMockRecorder) GetPermissions

func (mr *MockBoardMockRecorder) GetPermissions(arg0, arg1 interface{}) *gomock.Call

GetPermissions indicates an expected call of GetPermissions.

func (*MockBoardMockRecorder) Update

func (mr *MockBoardMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockLabel

type MockLabel struct {
	// contains filtered or unexported fields
}

MockLabel is a mock of Label interface.

func NewMockLabel

func NewMockLabel(ctrl *gomock.Controller) *MockLabel

NewMockLabel creates a new mock instance.

func (*MockLabel) Create

func (m *MockLabel) Create(arg0 *models.Label) (int, error)

Create mocks base method.

func (*MockLabel) CreateInTask

func (m *MockLabel) CreateInTask(arg0, arg1 int) (int, error)

CreateInTask mocks base method.

func (*MockLabel) Delete

func (m *MockLabel) Delete(arg0 int) error

Delete mocks base method.

func (*MockLabel) DeleteInTask

func (m *MockLabel) DeleteInTask(arg0, arg1 int) error

DeleteInTask mocks base method.

func (*MockLabel) EXPECT

func (m *MockLabel) EXPECT() *MockLabelMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLabel) GetAll

func (m *MockLabel) GetAll(arg0 int) ([]*models.Label, error)

GetAll mocks base method.

func (*MockLabel) GetAllInTask

func (m *MockLabel) GetAllInTask(arg0 int) ([]*models.Label, error)

GetAllInTask mocks base method.

func (*MockLabel) GetById

func (m *MockLabel) GetById(arg0 int) (*models.Label, error)

GetById mocks base method.

func (*MockLabel) Update

func (m *MockLabel) Update(arg0 int, arg1 *models.UpdateLabel) error

Update mocks base method.

type MockLabelMockRecorder

type MockLabelMockRecorder struct {
	// contains filtered or unexported fields
}

MockLabelMockRecorder is the mock recorder for MockLabel.

func (*MockLabelMockRecorder) Create

func (mr *MockLabelMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockLabelMockRecorder) CreateInTask

func (mr *MockLabelMockRecorder) CreateInTask(arg0, arg1 interface{}) *gomock.Call

CreateInTask indicates an expected call of CreateInTask.

func (*MockLabelMockRecorder) Delete

func (mr *MockLabelMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLabelMockRecorder) DeleteInTask

func (mr *MockLabelMockRecorder) DeleteInTask(arg0, arg1 interface{}) *gomock.Call

DeleteInTask indicates an expected call of DeleteInTask.

func (*MockLabelMockRecorder) GetAll

func (mr *MockLabelMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockLabelMockRecorder) GetAllInTask

func (mr *MockLabelMockRecorder) GetAllInTask(arg0 interface{}) *gomock.Call

GetAllInTask indicates an expected call of GetAllInTask.

func (*MockLabelMockRecorder) GetById

func (mr *MockLabelMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockLabelMockRecorder) Update

func (mr *MockLabelMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockObjectPerms

type MockObjectPerms struct {
	// contains filtered or unexported fields
}

MockObjectPerms is a mock of ObjectPerms interface.

func NewMockObjectPerms

func NewMockObjectPerms(ctrl *gomock.Controller) *MockObjectPerms

NewMockObjectPerms creates a new mock instance.

func (*MockObjectPerms) Create

func (m *MockObjectPerms) Create(arg0, arg1 int, arg2 string, arg3 *models.Permission) (int, error)

Create mocks base method.

func (*MockObjectPerms) Delete

func (m *MockObjectPerms) Delete(arg0, arg1, arg2, arg3 int) error

Delete mocks base method.

func (*MockObjectPerms) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockObjectPerms) GetById

func (m *MockObjectPerms) GetById(arg0, arg1, arg2 int) (*models.Permission, error)

GetById mocks base method.

func (*MockObjectPerms) GetByNickname

func (m *MockObjectPerms) GetByNickname(arg0, arg1 int, arg2 string) (*models.Permission, error)

GetByNickname mocks base method.

func (*MockObjectPerms) Update

func (m *MockObjectPerms) Update(arg0, arg1, arg2, arg3 int, arg4 *models.UpdatePermission) error

Update mocks base method.

type MockObjectPermsMockRecorder

type MockObjectPermsMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectPermsMockRecorder is the mock recorder for MockObjectPerms.

func (*MockObjectPermsMockRecorder) Create

func (mr *MockObjectPermsMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockObjectPermsMockRecorder) Delete

func (mr *MockObjectPermsMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockObjectPermsMockRecorder) GetById

func (mr *MockObjectPermsMockRecorder) GetById(arg0, arg1, arg2 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockObjectPermsMockRecorder) GetByNickname

func (mr *MockObjectPermsMockRecorder) GetByNickname(arg0, arg1, arg2 interface{}) *gomock.Call

GetByNickname indicates an expected call of GetByNickname.

func (*MockObjectPermsMockRecorder) Update

func (mr *MockObjectPermsMockRecorder) Update(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockProject

type MockProject struct {
	// contains filtered or unexported fields
}

MockProject is a mock of Project interface.

func NewMockProject

func NewMockProject(ctrl *gomock.Controller) *MockProject

NewMockProject creates a new mock instance.

func (*MockProject) Create

func (m *MockProject) Create(arg0 *models.Project) (int, error)

Create mocks base method.

func (*MockProject) Delete

func (m *MockProject) Delete(arg0 int) error

Delete mocks base method.

func (*MockProject) EXPECT

func (m *MockProject) EXPECT() *MockProjectMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProject) GetAll

func (m *MockProject) GetAll(arg0 int) ([]*models.Project, error)

GetAll mocks base method.

func (*MockProject) GetById

func (m *MockProject) GetById(arg0 int) (*models.Project, error)

GetById mocks base method.

func (*MockProject) GetMembers

func (m *MockProject) GetMembers(arg0 int) ([]*models.Member, error)

GetMembers mocks base method.

func (*MockProject) GetPermissions

func (m *MockProject) GetPermissions(arg0, arg1 int) (*models.Permission, error)

GetPermissions mocks base method.

func (*MockProject) Update

func (m *MockProject) Update(arg0 int, arg1 *models.UpdateProject) error

Update mocks base method.

type MockProjectMockRecorder

type MockProjectMockRecorder struct {
	// contains filtered or unexported fields
}

MockProjectMockRecorder is the mock recorder for MockProject.

func (*MockProjectMockRecorder) Create

func (mr *MockProjectMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockProjectMockRecorder) Delete

func (mr *MockProjectMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProjectMockRecorder) GetAll

func (mr *MockProjectMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockProjectMockRecorder) GetById

func (mr *MockProjectMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockProjectMockRecorder) GetMembers

func (mr *MockProjectMockRecorder) GetMembers(arg0 interface{}) *gomock.Call

GetMembers indicates an expected call of GetMembers.

func (*MockProjectMockRecorder) GetPermissions

func (mr *MockProjectMockRecorder) GetPermissions(arg0, arg1 interface{}) *gomock.Call

GetPermissions indicates an expected call of GetPermissions.

func (*MockProjectMockRecorder) Update

func (mr *MockProjectMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockTask

type MockTask struct {
	// contains filtered or unexported fields
}

MockTask is a mock of Task interface.

func NewMockTask

func NewMockTask(ctrl *gomock.Controller) *MockTask

NewMockTask creates a new mock instance.

func (*MockTask) Create

func (m *MockTask) Create(arg0 *models.Task) (int, error)

Create mocks base method.

func (*MockTask) Delete

func (m *MockTask) Delete(arg0 int) error

Delete mocks base method.

func (*MockTask) EXPECT

func (m *MockTask) EXPECT() *MockTaskMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTask) GetAll

func (m *MockTask) GetAll(arg0 int) ([]*models.Task, error)

GetAll mocks base method.

func (*MockTask) GetById

func (m *MockTask) GetById(arg0 int) (*models.Task, error)

GetById mocks base method.

func (*MockTask) Update

func (m *MockTask) Update(arg0 int, arg1 *models.UpdateTask) error

Update mocks base method.

type MockTaskList

type MockTaskList struct {
	// contains filtered or unexported fields
}

MockTaskList is a mock of TaskList interface.

func NewMockTaskList

func NewMockTaskList(ctrl *gomock.Controller) *MockTaskList

NewMockTaskList creates a new mock instance.

func (*MockTaskList) Create

func (m *MockTaskList) Create(arg0 *models.TaskList) (int, error)

Create mocks base method.

func (*MockTaskList) Delete

func (m *MockTaskList) Delete(arg0 int) error

Delete mocks base method.

func (*MockTaskList) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTaskList) GetAll

func (m *MockTaskList) GetAll(arg0 int) ([]*models.TaskList, error)

GetAll mocks base method.

func (*MockTaskList) GetById

func (m *MockTaskList) GetById(arg0 int) (*models.TaskList, error)

GetById mocks base method.

func (*MockTaskList) Update

func (m *MockTaskList) Update(arg0 int, arg1 *models.UpdateTaskList) error

Update mocks base method.

type MockTaskListMockRecorder

type MockTaskListMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskListMockRecorder is the mock recorder for MockTaskList.

func (*MockTaskListMockRecorder) Create

func (mr *MockTaskListMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockTaskListMockRecorder) Delete

func (mr *MockTaskListMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTaskListMockRecorder) GetAll

func (mr *MockTaskListMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockTaskListMockRecorder) GetById

func (mr *MockTaskListMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockTaskListMockRecorder) Update

func (mr *MockTaskListMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockTaskMockRecorder

type MockTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskMockRecorder is the mock recorder for MockTask.

func (*MockTaskMockRecorder) Create

func (mr *MockTaskMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockTaskMockRecorder) Delete

func (mr *MockTaskMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTaskMockRecorder) GetAll

func (mr *MockTaskMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockTaskMockRecorder) GetById

func (mr *MockTaskMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockTaskMockRecorder) Update

func (mr *MockTaskMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockUser

type MockUser struct {
	// contains filtered or unexported fields
}

MockUser is a mock of User interface.

func NewMockUser

func NewMockUser(ctrl *gomock.Controller) *MockUser

NewMockUser creates a new mock instance.

func (*MockUser) Create

func (m *MockUser) Create(arg0 *models.User) (int, error)

Create mocks base method.

func (*MockUser) EXPECT

func (m *MockUser) EXPECT() *MockUserMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUser) FindToken

func (m *MockUser) FindToken(arg0 string) error

FindToken mocks base method.

func (*MockUser) Get

func (m *MockUser) Get(arg0, arg1 string) (*models.User, error)

Get mocks base method.

func (*MockUser) GetAll

func (m *MockUser) GetAll() ([]*models.User, error)

GetAll mocks base method.

func (*MockUser) GetById

func (m *MockUser) GetById(arg0 int) (*models.User, error)

GetById mocks base method.

func (*MockUser) GetByNickname

func (m *MockUser) GetByNickname(arg0 string) (*models.User, error)

GetByNickname mocks base method.

func (*MockUser) SignOut

func (m *MockUser) SignOut(arg0 string) (int, error)

SignOut mocks base method.

func (*MockUser) Update

func (m *MockUser) Update(arg0 int, arg1 *models.UpdateUser) error

Update mocks base method.

type MockUserMockRecorder

type MockUserMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserMockRecorder is the mock recorder for MockUser.

func (*MockUserMockRecorder) Create

func (mr *MockUserMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserMockRecorder) FindToken

func (mr *MockUserMockRecorder) FindToken(arg0 interface{}) *gomock.Call

FindToken indicates an expected call of FindToken.

func (*MockUserMockRecorder) Get

func (mr *MockUserMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockUserMockRecorder) GetAll

func (mr *MockUserMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockUserMockRecorder) GetById

func (mr *MockUserMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById.

func (*MockUserMockRecorder) GetByNickname

func (mr *MockUserMockRecorder) GetByNickname(arg0 interface{}) *gomock.Call

GetByNickname indicates an expected call of GetByNickname.

func (*MockUserMockRecorder) SignOut

func (mr *MockUserMockRecorder) SignOut(arg0 interface{}) *gomock.Call

SignOut indicates an expected call of SignOut.

func (*MockUserMockRecorder) Update

func (mr *MockUserMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL