Documentation ¶
Overview ¶
Package mock_blockstore is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyValueReader ¶
type MockKeyValueReader struct {
// contains filtered or unexported fields
}
MockKeyValueReader is a mock of KeyValueReader interface.
func NewMockKeyValueReader ¶
func NewMockKeyValueReader(ctrl *gomock.Controller) *MockKeyValueReader
NewMockKeyValueReader creates a new mock instance.
func (*MockKeyValueReader) EXPECT ¶
func (m *MockKeyValueReader) EXPECT() *MockKeyValueReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeyValueReaderMockRecorder ¶
type MockKeyValueReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueReaderMockRecorder is the mock recorder for MockKeyValueReader.
func (*MockKeyValueReaderMockRecorder) GetByKey ¶
func (mr *MockKeyValueReaderMockRecorder) GetByKey(key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey.
type MockKeyValueReaderWriter ¶
type MockKeyValueReaderWriter struct {
// contains filtered or unexported fields
}
MockKeyValueReaderWriter is a mock of KeyValueReaderWriter interface.
func NewMockKeyValueReaderWriter ¶
func NewMockKeyValueReaderWriter(ctrl *gomock.Controller) *MockKeyValueReaderWriter
NewMockKeyValueReaderWriter creates a new mock instance.
func (*MockKeyValueReaderWriter) EXPECT ¶
func (m *MockKeyValueReaderWriter) EXPECT() *MockKeyValueReaderWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyValueReaderWriter) GetByKey ¶
func (m *MockKeyValueReaderWriter) GetByKey(key []byte) ([]byte, error)
GetByKey mocks base method.
func (*MockKeyValueReaderWriter) SetByKey ¶
func (m *MockKeyValueReaderWriter) SetByKey(key, value []byte) error
SetByKey mocks base method.
type MockKeyValueReaderWriterMockRecorder ¶
type MockKeyValueReaderWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueReaderWriterMockRecorder is the mock recorder for MockKeyValueReaderWriter.
func (*MockKeyValueReaderWriterMockRecorder) GetByKey ¶
func (mr *MockKeyValueReaderWriterMockRecorder) GetByKey(key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey.
func (*MockKeyValueReaderWriterMockRecorder) SetByKey ¶
func (mr *MockKeyValueReaderWriterMockRecorder) SetByKey(key, value interface{}) *gomock.Call
SetByKey indicates an expected call of SetByKey.
type MockKeyValueWriter ¶
type MockKeyValueWriter struct {
// contains filtered or unexported fields
}
MockKeyValueWriter is a mock of KeyValueWriter interface.
func NewMockKeyValueWriter ¶
func NewMockKeyValueWriter(ctrl *gomock.Controller) *MockKeyValueWriter
NewMockKeyValueWriter creates a new mock instance.
func (*MockKeyValueWriter) EXPECT ¶
func (m *MockKeyValueWriter) EXPECT() *MockKeyValueWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyValueWriter) SetByKey ¶
func (m *MockKeyValueWriter) SetByKey(key, value []byte) error
SetByKey mocks base method.
type MockKeyValueWriterMockRecorder ¶
type MockKeyValueWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueWriterMockRecorder is the mock recorder for MockKeyValueWriter.
func (*MockKeyValueWriterMockRecorder) SetByKey ¶
func (mr *MockKeyValueWriterMockRecorder) SetByKey(key, value interface{}) *gomock.Call
SetByKey indicates an expected call of SetByKey.