mock_blockstore

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: LGPL-3.0 Imports: 2 Imported by: 0

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

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

func (*MockKeyValueReader) GetByKey

func (m *MockKeyValueReader) GetByKey(key []byte) ([]byte, error)

GetByKey mocks base method.

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

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

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.

Jump to

Keyboard shortcuts

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