Documentation ¶
Overview ¶
Package mock_archive is a generated GoMock package.
Index ¶
- type MockCursor
- func (m *MockCursor) All(arg0 context.Context) ([]archive.Mail, error)
- func (m *MockCursor) Close(arg0 context.Context) error
- func (m *MockCursor) Current() archive.Mail
- func (m *MockCursor) EXPECT() *MockCursorMockRecorder
- func (m *MockCursor) Err() error
- func (m *MockCursor) Next(arg0 context.Context) bool
- type MockCursorMockRecorder
- func (mr *MockCursorMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockCursorMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockCursorMockRecorder) Current() *gomock.Call
- func (mr *MockCursorMockRecorder) Err() *gomock.Call
- func (mr *MockCursorMockRecorder) Next(arg0 interface{}) *gomock.Call
- type MockPrinter
- type MockPrinterMockRecorder
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Find(arg0 context.Context, arg1 uuid.UUID) (archive.Mail, error)
- func (m *MockStore) Insert(arg0 context.Context, arg1 archive.Mail) error
- func (m *MockStore) Query(arg0 context.Context, arg1 query.Query) (archive.Cursor, error)
- func (m *MockStore) Remove(arg0 context.Context, arg1 archive.Mail) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockCursor) EXPECT() *MockCursorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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