mock_query

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCursor

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

MockCursor is a mock of Cursor interface

func NewMockCursor

func NewMockCursor(ctrl *gomock.Controller) *MockCursor

NewMockCursor creates a new mock instance

func (*MockCursor) Close

func (m *MockCursor) Close(arg0 context.Context) error

Close mocks base method

func (*MockCursor) Current

func (m *MockCursor) Current() store.Letter

Current mocks base method

func (*MockCursor) EXPECT

func (m *MockCursor) EXPECT() *MockCursorMockRecorder

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

func (*MockCursor) Err

func (m *MockCursor) Err() error

Err mocks base method

func (*MockCursor) Next

func (m *MockCursor) Next(arg0 context.Context) bool

Next mocks base method

type MockCursorMockRecorder

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

MockCursorMockRecorder is the mock recorder for MockCursor

func (*MockCursorMockRecorder) Close

func (mr *MockCursorMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockCursorMockRecorder) Current

func (mr *MockCursorMockRecorder) Current() *gomock.Call

Current indicates an expected call of Current

func (*MockCursorMockRecorder) Err

func (mr *MockCursorMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err

func (*MockCursorMockRecorder) Next

func (mr *MockCursorMockRecorder) Next(arg0 interface{}) *gomock.Call

Next indicates an expected call of Next

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) EXPECT

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

func (*MockRepository) Get added in v0.5.0

func (m *MockRepository) Get(arg0 context.Context, arg1 uuid.UUID) (store.Letter, error)

Get mocks base method

func (*MockRepository) Query

func (m *MockRepository) Query(arg0 context.Context, arg1 query.Query) (query.Cursor, error)

Query mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) Get added in v0.5.0

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

Get indicates an expected call of Get

func (*MockRepositoryMockRecorder) Query

func (mr *MockRepositoryMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call

Query indicates an expected call of Query

Jump to

Keyboard shortcuts

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