mock_rawdb

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 2 Imported by: 0

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

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

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

func (*MockDatabaseReader) Get

func (m *MockDatabaseReader) Get(key []byte) ([]byte, error)

Get mocks base method

func (*MockDatabaseReader) Has

func (m *MockDatabaseReader) Has(key []byte) (bool, error)

Has mocks base method

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

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

Jump to

Keyboard shortcuts

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