mock_repository

package
v0.0.0-...-18998a6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBoardRepository

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

MockBoardRepository is a mock of BoardRepository interface

func NewMockBoardRepository

func NewMockBoardRepository(ctrl *gomock.Controller) *MockBoardRepository

NewMockBoardRepository creates a new mock instance

func (*MockBoardRepository) Create

func (m *MockBoardRepository) Create(ctx context.Context, b *domain.Board) error

Create mocks base method

func (*MockBoardRepository) CreateBoardList

func (m *MockBoardRepository) CreateBoardList(ctx context.Context, groupID, boardID string, bl *domain.BoardList) error

CreateBoardList mocks base method

func (*MockBoardRepository) EXPECT

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

func (*MockBoardRepository) Index

func (m *MockBoardRepository) Index(ctx context.Context, groupID string) ([]*domain.Board, error)

Index mocks base method

func (*MockBoardRepository) IndexBoardList

func (m *MockBoardRepository) IndexBoardList(ctx context.Context, groupID, boardID string) ([]*domain.BoardList, error)

IndexBoardList mocks base method

func (*MockBoardRepository) Show

func (m *MockBoardRepository) Show(ctx context.Context, groupID, boardID string) (*domain.Board, error)

Show mocks base method

func (*MockBoardRepository) ShowBoardList

func (m *MockBoardRepository) ShowBoardList(ctx context.Context, groupID, boardID, boardListID string) (*domain.BoardList, error)

ShowBoardList mocks base method

func (*MockBoardRepository) Update

func (m *MockBoardRepository) Update(ctx context.Context, b *domain.Board) error

Update mocks base method

func (*MockBoardRepository) UpdateBoardList

func (m *MockBoardRepository) UpdateBoardList(ctx context.Context, groupID, boardID string, bl *domain.BoardList) error

UpdateBoardList mocks base method

type MockBoardRepositoryMockRecorder

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

MockBoardRepositoryMockRecorder is the mock recorder for MockBoardRepository

func (*MockBoardRepositoryMockRecorder) Create

func (mr *MockBoardRepositoryMockRecorder) Create(ctx, b interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockBoardRepositoryMockRecorder) CreateBoardList

func (mr *MockBoardRepositoryMockRecorder) CreateBoardList(ctx, groupID, boardID, bl interface{}) *gomock.Call

CreateBoardList indicates an expected call of CreateBoardList

func (*MockBoardRepositoryMockRecorder) Index

func (mr *MockBoardRepositoryMockRecorder) Index(ctx, groupID interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockBoardRepositoryMockRecorder) IndexBoardList

func (mr *MockBoardRepositoryMockRecorder) IndexBoardList(ctx, groupID, boardID interface{}) *gomock.Call

IndexBoardList indicates an expected call of IndexBoardList

func (*MockBoardRepositoryMockRecorder) Show

func (mr *MockBoardRepositoryMockRecorder) Show(ctx, groupID, boardID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockBoardRepositoryMockRecorder) ShowBoardList

func (mr *MockBoardRepositoryMockRecorder) ShowBoardList(ctx, groupID, boardID, boardListID interface{}) *gomock.Call

ShowBoardList indicates an expected call of ShowBoardList

func (*MockBoardRepositoryMockRecorder) Update

func (mr *MockBoardRepositoryMockRecorder) Update(ctx, b interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockBoardRepositoryMockRecorder) UpdateBoardList

func (mr *MockBoardRepositoryMockRecorder) UpdateBoardList(ctx, groupID, boardID, bl interface{}) *gomock.Call

UpdateBoardList indicates an expected call of UpdateBoardList

type MockGroupRepository

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

MockGroupRepository is a mock of GroupRepository interface

func NewMockGroupRepository

func NewMockGroupRepository(ctrl *gomock.Controller) *MockGroupRepository

NewMockGroupRepository creates a new mock instance

func (*MockGroupRepository) Create

func (m *MockGroupRepository) Create(ctx context.Context, g *domain.Group) error

Create mocks base method

func (*MockGroupRepository) EXPECT

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

func (*MockGroupRepository) Index

func (m *MockGroupRepository) Index(ctx context.Context, u *domain.User) ([]*domain.Group, error)

Index mocks base method

func (*MockGroupRepository) Show

func (m *MockGroupRepository) Show(ctx context.Context, groupID string) (*domain.Group, error)

Show mocks base method

func (*MockGroupRepository) Update

func (m *MockGroupRepository) Update(ctx context.Context, g *domain.Group) error

Update mocks base method

type MockGroupRepositoryMockRecorder

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

MockGroupRepositoryMockRecorder is the mock recorder for MockGroupRepository

func (*MockGroupRepositoryMockRecorder) Create

func (mr *MockGroupRepositoryMockRecorder) Create(ctx, g interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGroupRepositoryMockRecorder) Index

func (mr *MockGroupRepositoryMockRecorder) Index(ctx, u interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockGroupRepositoryMockRecorder) Show

func (mr *MockGroupRepositoryMockRecorder) Show(ctx, groupID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockGroupRepositoryMockRecorder) Update

func (mr *MockGroupRepositoryMockRecorder) Update(ctx, g interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTaskRepository

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

MockTaskRepository is a mock of TaskRepository interface

func NewMockTaskRepository

func NewMockTaskRepository(ctrl *gomock.Controller) *MockTaskRepository

NewMockTaskRepository creates a new mock instance

func (*MockTaskRepository) Create

func (m *MockTaskRepository) Create(ctx context.Context, t *domain.Task) error

Create mocks base method

func (*MockTaskRepository) EXPECT

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

func (*MockTaskRepository) IndexByBoardID

func (m *MockTaskRepository) IndexByBoardID(ctx context.Context, boardID string) ([]*domain.Task, error)

IndexByBoardID mocks base method

func (*MockTaskRepository) Show

func (m *MockTaskRepository) Show(ctx context.Context, taskID string) (*domain.Task, error)

Show mocks base method

type MockTaskRepositoryMockRecorder

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

MockTaskRepositoryMockRecorder is the mock recorder for MockTaskRepository

func (*MockTaskRepositoryMockRecorder) Create

func (mr *MockTaskRepositoryMockRecorder) Create(ctx, t interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTaskRepositoryMockRecorder) IndexByBoardID

func (mr *MockTaskRepositoryMockRecorder) IndexByBoardID(ctx, boardID interface{}) *gomock.Call

IndexByBoardID indicates an expected call of IndexByBoardID

func (*MockTaskRepositoryMockRecorder) Show

func (mr *MockTaskRepositoryMockRecorder) Show(ctx, taskID interface{}) *gomock.Call

Show indicates an expected call of Show

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance

func (*MockUserRepository) Authentication

func (m *MockUserRepository) Authentication(ctx context.Context) (*domain.User, error)

Authentication mocks base method

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) Update

func (m *MockUserRepository) Update(ctx context.Context, u *domain.User) error

Update mocks base method

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository

func (*MockUserRepositoryMockRecorder) Authentication

func (mr *MockUserRepositoryMockRecorder) Authentication(ctx interface{}) *gomock.Call

Authentication indicates an expected call of Authentication

func (*MockUserRepositoryMockRecorder) Update

func (mr *MockUserRepositoryMockRecorder) Update(ctx, u 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