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 MockCache
- type MockCacheMockRecorder
- type MockDataAccess
- func (m *MockDataAccess) Abort()
- func (m *MockDataAccess) Begin() error
- func (m *MockDataAccess) Commit() error
- func (m *MockDataAccess) Delete(arg0 []byte)
- func (m *MockDataAccess) DumpTx() []byte
- func (m *MockDataAccess) EXPECT() *MockDataAccessMockRecorder
- func (m *MockDataAccess) Get(arg0 []byte) ([]byte, error)
- func (m *MockDataAccess) Has(arg0 []byte) (bool, error)
- func (m *MockDataAccess) InUse() bool
- func (m *MockDataAccess) Iterator(arg0 *util.Range) iterator.Iterator
- func (m *MockDataAccess) Put(arg0, arg1 []byte)
- type MockDataAccessMockRecorder
- func (mr *MockDataAccessMockRecorder) Abort() *gomock.Call
- func (mr *MockDataAccessMockRecorder) Begin() *gomock.Call
- func (mr *MockDataAccessMockRecorder) Commit() *gomock.Call
- func (mr *MockDataAccessMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockDataAccessMockRecorder) DumpTx() *gomock.Call
- func (mr *MockDataAccessMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockDataAccessMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockDataAccessMockRecorder) InUse() *gomock.Call
- func (mr *MockDataAccessMockRecorder) Iterator(arg0 interface{}) *gomock.Call
- func (mr *MockDataAccessMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- 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 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 MockDataAccess ¶
type MockDataAccess struct {
// contains filtered or unexported fields
}
MockDataAccess is a mock of DataAccess interface
func NewMockDataAccess ¶
func NewMockDataAccess(ctrl *gomock.Controller) *MockDataAccess
NewMockDataAccess creates a new mock instance
func (*MockDataAccess) Delete ¶
func (m *MockDataAccess) Delete(arg0 []byte)
Delete mocks base method
func (*MockDataAccess) EXPECT ¶
func (m *MockDataAccess) EXPECT() *MockDataAccessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataAccess) Get ¶
func (m *MockDataAccess) Get(arg0 []byte) ([]byte, error)
Get mocks base method
func (*MockDataAccess) Has ¶
func (m *MockDataAccess) Has(arg0 []byte) (bool, error)
Has mocks base method
type MockDataAccessMockRecorder ¶
type MockDataAccessMockRecorder struct {
// contains filtered or unexported fields
}
MockDataAccessMockRecorder is the mock recorder for MockDataAccess
func (*MockDataAccessMockRecorder) Abort ¶
func (mr *MockDataAccessMockRecorder) Abort() *gomock.Call
Abort indicates an expected call of Abort
func (*MockDataAccessMockRecorder) Begin ¶
func (mr *MockDataAccessMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockDataAccessMockRecorder) Commit ¶
func (mr *MockDataAccessMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockDataAccessMockRecorder) Delete ¶
func (mr *MockDataAccessMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDataAccessMockRecorder) DumpTx ¶
func (mr *MockDataAccessMockRecorder) DumpTx() *gomock.Call
DumpTx indicates an expected call of DumpTx
func (*MockDataAccessMockRecorder) Get ¶
func (mr *MockDataAccessMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDataAccessMockRecorder) Has ¶
func (mr *MockDataAccessMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockDataAccessMockRecorder) InUse ¶
func (mr *MockDataAccessMockRecorder) InUse() *gomock.Call
InUse indicates an expected call of InUse
func (*MockDataAccessMockRecorder) Iterator ¶
func (mr *MockDataAccessMockRecorder) Iterator(arg0 interface{}) *gomock.Call
Iterator indicates an expected call of Iterator
func (*MockDataAccessMockRecorder) Put ¶
func (mr *MockDataAccessMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
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