mock_repository

package
v0.0.0-...-1c0d007 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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.

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) 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

type MockBoardRepositoryMockRecorder

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

MockBoardRepositoryMockRecorder is the mock recorder for MockBoardRepository

func (*MockBoardRepositoryMockRecorder) Index

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

Index indicates an expected call of Index

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 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