Documentation ¶
Overview ¶
Package mock_rawdb is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatabaseDeleter ¶
type MockDatabaseDeleter struct {
// contains filtered or unexported fields
}
MockDatabaseDeleter is a mock of DatabaseDeleter interface
func NewMockDatabaseDeleter ¶
func NewMockDatabaseDeleter(ctrl *gomock.Controller) *MockDatabaseDeleter
NewMockDatabaseDeleter creates a new mock instance
func (*MockDatabaseDeleter) Delete ¶
func (m *MockDatabaseDeleter) Delete(key []byte) error
Delete mocks base method
func (*MockDatabaseDeleter) EXPECT ¶
func (m *MockDatabaseDeleter) EXPECT() *MockDatabaseDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDatabaseDeleterMockRecorder ¶
type MockDatabaseDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseDeleterMockRecorder is the mock recorder for MockDatabaseDeleter
func (*MockDatabaseDeleterMockRecorder) Delete ¶
func (mr *MockDatabaseDeleterMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete
type MockDatabaseReader ¶
type MockDatabaseReader struct {
// contains filtered or unexported fields
}
MockDatabaseReader is a mock of DatabaseReader interface
func NewMockDatabaseReader ¶
func NewMockDatabaseReader(ctrl *gomock.Controller) *MockDatabaseReader
NewMockDatabaseReader creates a new mock instance
func (*MockDatabaseReader) EXPECT ¶
func (m *MockDatabaseReader) EXPECT() *MockDatabaseReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDatabaseReaderMockRecorder ¶
type MockDatabaseReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseReaderMockRecorder is the mock recorder for MockDatabaseReader
func (*MockDatabaseReaderMockRecorder) Get ¶
func (mr *MockDatabaseReaderMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDatabaseReaderMockRecorder) Has ¶
func (mr *MockDatabaseReaderMockRecorder) Has(key interface{}) *gomock.Call
Has indicates an expected call of Has
type MockDatabaseWriter ¶
type MockDatabaseWriter struct {
// contains filtered or unexported fields
}
MockDatabaseWriter is a mock of DatabaseWriter interface
func NewMockDatabaseWriter ¶
func NewMockDatabaseWriter(ctrl *gomock.Controller) *MockDatabaseWriter
NewMockDatabaseWriter creates a new mock instance
func (*MockDatabaseWriter) EXPECT ¶
func (m *MockDatabaseWriter) EXPECT() *MockDatabaseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatabaseWriter) Put ¶
func (m *MockDatabaseWriter) Put(key, value []byte) error
Put mocks base method
type MockDatabaseWriterMockRecorder ¶
type MockDatabaseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseWriterMockRecorder is the mock recorder for MockDatabaseWriter
func (*MockDatabaseWriterMockRecorder) Put ¶
func (mr *MockDatabaseWriterMockRecorder) Put(key, value interface{}) *gomock.Call
Put indicates an expected call of Put