Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAccess
- func (m *MockAccess) Abort()
- func (m *MockAccess) Begin() error
- func (m *MockAccess) Commit() error
- func (m *MockAccess) Delete(arg0 []byte)
- func (m *MockAccess) DumpTx() []byte
- func (m *MockAccess) EXPECT() *MockAccessMockRecorder
- func (m *MockAccess) Get(arg0 []byte) ([]byte, error)
- func (m *MockAccess) Has(arg0 []byte) (bool, error)
- func (m *MockAccess) InUse() bool
- func (m *MockAccess) Iterator(arg0 *util.Range) iterator.Iterator
- func (m *MockAccess) Put(arg0, arg1 []byte)
- type MockAccessMockRecorder
- func (mr *MockAccessMockRecorder) Abort() *gomock.Call
- func (mr *MockAccessMockRecorder) Begin() *gomock.Call
- func (mr *MockAccessMockRecorder) Commit() *gomock.Call
- func (mr *MockAccessMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockAccessMockRecorder) DumpTx() *gomock.Call
- func (mr *MockAccessMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockAccessMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockAccessMockRecorder) InUse() *gomock.Call
- func (mr *MockAccessMockRecorder) Iterator(arg0 interface{}) *gomock.Call
- func (mr *MockAccessMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- type MockCache
- type MockCacheMockRecorder
- type MockHandle
- func (m *MockHandle) Begin()
- func (m *MockHandle) Commit() error
- func (m *MockHandle) EXPECT() *MockHandleMockRecorder
- func (m *MockHandle) Get(arg0 []byte) []byte
- func (m *MockHandle) GetN(arg0 []byte) (uint64, bool)
- func (m *MockHandle) GetNB(arg0 []byte) (uint64, []byte)
- func (m *MockHandle) Has(arg0 []byte) bool
- type MockHandleMockRecorder
- func (mr *MockHandleMockRecorder) Begin() *gomock.Call
- func (mr *MockHandleMockRecorder) Commit() *gomock.Call
- func (mr *MockHandleMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) GetN(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) GetNB(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) Has(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccess ¶ added in v0.12.0
type MockAccess struct {
// contains filtered or unexported fields
}
MockAccess is a mock of Access interface
func NewMockAccess ¶ added in v0.12.0
func NewMockAccess(ctrl *gomock.Controller) *MockAccess
NewMockAccess creates a new mock instance
func (*MockAccess) Begin ¶ added in v0.12.0
func (m *MockAccess) Begin() error
Begin mocks base method
func (*MockAccess) Commit ¶ added in v0.12.0
func (m *MockAccess) Commit() error
Commit mocks base method
func (*MockAccess) Delete ¶ added in v0.12.0
func (m *MockAccess) Delete(arg0 []byte)
Delete mocks base method
func (*MockAccess) DumpTx ¶ added in v0.12.0
func (m *MockAccess) DumpTx() []byte
DumpTx mocks base method
func (*MockAccess) EXPECT ¶ added in v0.12.0
func (m *MockAccess) EXPECT() *MockAccessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAccess) Get ¶ added in v0.12.0
func (m *MockAccess) Get(arg0 []byte) ([]byte, error)
Get mocks base method
func (*MockAccess) Has ¶ added in v0.12.0
func (m *MockAccess) Has(arg0 []byte) (bool, error)
Has mocks base method
func (*MockAccess) InUse ¶ added in v0.12.0
func (m *MockAccess) InUse() bool
InUse mocks base method
func (*MockAccess) Iterator ¶ added in v0.12.0
func (m *MockAccess) Iterator(arg0 *util.Range) iterator.Iterator
Iterator mocks base method
func (*MockAccess) Put ¶ added in v0.12.0
func (m *MockAccess) Put(arg0, arg1 []byte)
Put mocks base method
type MockAccessMockRecorder ¶ added in v0.12.0
type MockAccessMockRecorder struct {
// contains filtered or unexported fields
}
MockAccessMockRecorder is the mock recorder for MockAccess
func (*MockAccessMockRecorder) Abort ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Abort() *gomock.Call
Abort indicates an expected call of Abort
func (*MockAccessMockRecorder) Begin ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockAccessMockRecorder) Commit ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockAccessMockRecorder) Delete ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockAccessMockRecorder) DumpTx ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) DumpTx() *gomock.Call
DumpTx indicates an expected call of DumpTx
func (*MockAccessMockRecorder) Get ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockAccessMockRecorder) Has ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockAccessMockRecorder) InUse ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) InUse() *gomock.Call
InUse indicates an expected call of InUse
func (*MockAccessMockRecorder) Iterator ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Iterator(arg0 interface{}) *gomock.Call
Iterator indicates an expected call of Iterator
func (*MockAccessMockRecorder) Put ¶ added in v0.12.0
func (mr *MockAccessMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Clear ¶
func (mr *MockCacheMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear
func (*MockCacheMockRecorder) Get ¶
func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCacheMockRecorder) Set ¶
func (mr *MockCacheMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set
type MockHandle ¶
type MockHandle struct {
// contains filtered or unexported fields
}
MockHandle is a mock of Handle interface
func NewMockHandle ¶
func NewMockHandle(ctrl *gomock.Controller) *MockHandle
NewMockHandle creates a new mock instance
func (*MockHandle) EXPECT ¶
func (m *MockHandle) EXPECT() *MockHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHandle) GetN ¶
func (m *MockHandle) GetN(arg0 []byte) (uint64, bool)
GetN mocks base method
type MockHandleMockRecorder ¶
type MockHandleMockRecorder struct {
// contains filtered or unexported fields
}
MockHandleMockRecorder is the mock recorder for MockHandle
func (*MockHandleMockRecorder) Begin ¶
func (mr *MockHandleMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockHandleMockRecorder) Commit ¶
func (mr *MockHandleMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockHandleMockRecorder) Get ¶
func (mr *MockHandleMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockHandleMockRecorder) GetN ¶
func (mr *MockHandleMockRecorder) GetN(arg0 interface{}) *gomock.Call
GetN indicates an expected call of GetN
func (*MockHandleMockRecorder) GetNB ¶
func (mr *MockHandleMockRecorder) GetNB(arg0 interface{}) *gomock.Call
GetNB indicates an expected call of GetNB
func (*MockHandleMockRecorder) Has ¶
func (mr *MockHandleMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has