Documentation ¶
Overview ¶
Package db_mock is a generated GoMock package.
Index ¶
- type MockMVCCDB
- func (m *MockMVCCDB) Checkout(arg0 string) bool
- func (m *MockMVCCDB) Close() error
- func (m *MockMVCCDB) Commit(arg0 string)
- func (m *MockMVCCDB) CurrentTag() string
- func (m *MockMVCCDB) Del(arg0, arg1 string) error
- func (m *MockMVCCDB) EXPECT() *MockMVCCDBMockRecorder
- func (m *MockMVCCDB) Flush(arg0 string) error
- func (m *MockMVCCDB) Fork() db.MVCCDB
- func (m *MockMVCCDB) Get(arg0, arg1 string) (string, error)
- func (m *MockMVCCDB) Has(arg0, arg1 string) (bool, error)
- func (m *MockMVCCDB) KeysByRange(arg0, arg1, arg2 string, arg3 int) ([]string, error)
- func (m *MockMVCCDB) Put(arg0, arg1, arg2 string) error
- func (m *MockMVCCDB) Size() (int64, error)
- type MockMVCCDBMockRecorder
- func (mr *MockMVCCDBMockRecorder) Checkout(arg0 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Close() *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) CurrentTag() *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Fork() *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) KeysByRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMVCCDBMockRecorder) Size() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMVCCDB ¶
type MockMVCCDB struct {
// contains filtered or unexported fields
}
MockMVCCDB is a mock of MVCCDB interface
func NewMockMVCCDB ¶
func NewMockMVCCDB(ctrl *gomock.Controller) *MockMVCCDB
NewMockMVCCDB creates a new mock instance
func (*MockMVCCDB) Checkout ¶
func (m *MockMVCCDB) Checkout(arg0 string) bool
Checkout mocks base method
func (*MockMVCCDB) CurrentTag ¶
func (m *MockMVCCDB) CurrentTag() string
CurrentTag mocks base method
func (*MockMVCCDB) EXPECT ¶
func (m *MockMVCCDB) EXPECT() *MockMVCCDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMVCCDB) Get ¶
func (m *MockMVCCDB) Get(arg0, arg1 string) (string, error)
Get mocks base method
func (*MockMVCCDB) Has ¶
func (m *MockMVCCDB) Has(arg0, arg1 string) (bool, error)
Has mocks base method
func (*MockMVCCDB) KeysByRange ¶
func (m *MockMVCCDB) KeysByRange(arg0, arg1, arg2 string, arg3 int) ([]string, error)
KeysByRange mocks base method
func (*MockMVCCDB) Put ¶
func (m *MockMVCCDB) Put(arg0, arg1, arg2 string) error
Put mocks base method
type MockMVCCDBMockRecorder ¶
type MockMVCCDBMockRecorder struct {
// contains filtered or unexported fields
}
MockMVCCDBMockRecorder is the mock recorder for MockMVCCDB
func (*MockMVCCDBMockRecorder) Checkout ¶
func (mr *MockMVCCDBMockRecorder) Checkout(arg0 interface{}) *gomock.Call
Checkout indicates an expected call of Checkout
func (*MockMVCCDBMockRecorder) Close ¶
func (mr *MockMVCCDBMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockMVCCDBMockRecorder) Commit ¶
func (mr *MockMVCCDBMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit
func (*MockMVCCDBMockRecorder) CurrentTag ¶
func (mr *MockMVCCDBMockRecorder) CurrentTag() *gomock.Call
CurrentTag indicates an expected call of CurrentTag
func (*MockMVCCDBMockRecorder) Del ¶
func (mr *MockMVCCDBMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockMVCCDBMockRecorder) Flush ¶
func (mr *MockMVCCDBMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush
func (*MockMVCCDBMockRecorder) Fork ¶
func (mr *MockMVCCDBMockRecorder) Fork() *gomock.Call
Fork indicates an expected call of Fork
func (*MockMVCCDBMockRecorder) Get ¶
func (mr *MockMVCCDBMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockMVCCDBMockRecorder) Has ¶
func (mr *MockMVCCDBMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockMVCCDBMockRecorder) KeysByRange ¶
func (mr *MockMVCCDBMockRecorder) KeysByRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
KeysByRange indicates an expected call of KeysByRange
func (*MockMVCCDBMockRecorder) Put ¶
func (mr *MockMVCCDBMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockMVCCDBMockRecorder) Size ¶
func (mr *MockMVCCDBMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size