Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockBucket
- func (m *MockBucket) Cursor(arg0 ...kv.CursorHint) (kv.Cursor, error)
- func (m *MockBucket) Delete(arg0 []byte) error
- func (m *MockBucket) EXPECT() *MockBucketMockRecorder
- func (m *MockBucket) ForwardCursor(arg0 []byte, arg1 ...kv.CursorOption) (kv.ForwardCursor, error)
- func (m *MockBucket) Get(arg0 []byte) ([]byte, error)
- func (m *MockBucket) GetBatch(arg0 ...[]byte) ([][]byte, error)
- func (m *MockBucket) Put(arg0, arg1 []byte) error
- type MockBucketMockRecorder
- func (mr *MockBucketMockRecorder) Cursor(arg0 ...interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) ForwardCursor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) GetBatch(arg0 ...interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- type MockForwardCursor
- type MockForwardCursorMockRecorder
- type MockTx
- type MockTxMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucket ¶
type MockBucket struct {
// contains filtered or unexported fields
}
MockBucket is a mock of Bucket interface
func NewMockBucket ¶
func NewMockBucket(ctrl *gomock.Controller) *MockBucket
NewMockBucket creates a new mock instance
func (*MockBucket) Cursor ¶
func (m *MockBucket) Cursor(arg0 ...kv.CursorHint) (kv.Cursor, error)
Cursor mocks base method
func (*MockBucket) EXPECT ¶
func (m *MockBucket) EXPECT() *MockBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBucket) ForwardCursor ¶
func (m *MockBucket) ForwardCursor(arg0 []byte, arg1 ...kv.CursorOption) (kv.ForwardCursor, error)
ForwardCursor mocks base method
func (*MockBucket) Get ¶
func (m *MockBucket) Get(arg0 []byte) ([]byte, error)
Get mocks base method
type MockBucketMockRecorder ¶
type MockBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketMockRecorder is the mock recorder for MockBucket
func (*MockBucketMockRecorder) Cursor ¶
func (mr *MockBucketMockRecorder) Cursor(arg0 ...interface{}) *gomock.Call
Cursor indicates an expected call of Cursor
func (*MockBucketMockRecorder) Delete ¶
func (mr *MockBucketMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockBucketMockRecorder) ForwardCursor ¶
func (mr *MockBucketMockRecorder) ForwardCursor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ForwardCursor indicates an expected call of ForwardCursor
func (*MockBucketMockRecorder) Get ¶
func (mr *MockBucketMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockBucketMockRecorder) GetBatch ¶
func (mr *MockBucketMockRecorder) GetBatch(arg0 ...interface{}) *gomock.Call
GetBatch indicates an expected call of GetBatch
func (*MockBucketMockRecorder) Put ¶
func (mr *MockBucketMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
type MockForwardCursor ¶
type MockForwardCursor struct {
// contains filtered or unexported fields
}
MockForwardCursor is a mock of ForwardCursor interface
func NewMockForwardCursor ¶
func NewMockForwardCursor(ctrl *gomock.Controller) *MockForwardCursor
NewMockForwardCursor creates a new mock instance
func (*MockForwardCursor) EXPECT ¶
func (m *MockForwardCursor) EXPECT() *MockForwardCursorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockForwardCursor) Next ¶
func (m *MockForwardCursor) Next() ([]byte, []byte)
Next mocks base method
type MockForwardCursorMockRecorder ¶
type MockForwardCursorMockRecorder struct {
// contains filtered or unexported fields
}
MockForwardCursorMockRecorder is the mock recorder for MockForwardCursor
func (*MockForwardCursorMockRecorder) Close ¶
func (mr *MockForwardCursorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockForwardCursorMockRecorder) Err ¶
func (mr *MockForwardCursorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*MockForwardCursorMockRecorder) Next ¶
func (mr *MockForwardCursorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
type MockTx ¶
type MockTx struct {
// contains filtered or unexported fields
}
MockTx is a mock of Tx interface
func NewMockTx ¶
func NewMockTx(ctrl *gomock.Controller) *MockTx
NewMockTx creates a new mock instance
func (*MockTx) EXPECT ¶
func (m *MockTx) EXPECT() *MockTxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTx) WithContext ¶
WithContext mocks base method
type MockTxMockRecorder ¶
type MockTxMockRecorder struct {
// contains filtered or unexported fields
}
MockTxMockRecorder is the mock recorder for MockTx
func (*MockTxMockRecorder) Bucket ¶
func (mr *MockTxMockRecorder) Bucket(arg0 interface{}) *gomock.Call
Bucket indicates an expected call of Bucket
func (*MockTxMockRecorder) Context ¶
func (mr *MockTxMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTxMockRecorder) WithContext ¶
func (mr *MockTxMockRecorder) WithContext(arg0 interface{}) *gomock.Call
WithContext indicates an expected call of WithContext