mock_archive

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_archive 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) All

func (m *MockCursor) All(arg0 context.Context) ([]archive.Mail, error)

All mocks base method

func (*MockCursor) Close

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

Close mocks base method

func (*MockCursor) Current

func (m *MockCursor) Current() archive.Mail

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

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

All indicates an expected call of All

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 MockPrinter

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

MockPrinter is a mock of Printer interface

func NewMockPrinter

func NewMockPrinter(ctrl *gomock.Controller) *MockPrinter

NewMockPrinter creates a new mock instance

func (*MockPrinter) EXPECT

func (m *MockPrinter) EXPECT() *MockPrinterMockRecorder

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

func (*MockPrinter) Print

func (m *MockPrinter) Print(arg0 ...interface{})

Print mocks base method

type MockPrinterMockRecorder

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

MockPrinterMockRecorder is the mock recorder for MockPrinter

func (*MockPrinterMockRecorder) Print

func (mr *MockPrinterMockRecorder) Print(arg0 ...interface{}) *gomock.Call

Print indicates an expected call of Print

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Find

func (m *MockStore) Find(arg0 context.Context, arg1 uuid.UUID) (archive.Mail, error)

Find mocks base method

func (*MockStore) Insert

func (m *MockStore) Insert(arg0 context.Context, arg1 archive.Mail) error

Insert mocks base method

func (*MockStore) Query

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

Query mocks base method

func (*MockStore) Remove

func (m *MockStore) Remove(arg0 context.Context, arg1 archive.Mail) error

Remove mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Find

func (mr *MockStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockStoreMockRecorder) Insert

func (mr *MockStoreMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockStoreMockRecorder) Query

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

Query indicates an expected call of Query

func (*MockStoreMockRecorder) Remove

func (mr *MockStoreMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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