Documentation ¶
Overview ¶
Package mock_trie is a generated GoMock package.
Index ¶
- type MockTrie
- func (m *MockTrie) Commit() error
- func (m *MockTrie) Delete(arg0 []byte) error
- func (m *MockTrie) DisableBatch()
- func (m *MockTrie) EXPECT() *MockTrieMockRecorder
- func (m *MockTrie) EnableBatch() error
- func (m *MockTrie) Get(arg0 []byte) ([]byte, error)
- func (m *MockTrie) RootHash() hash.Hash32B
- func (m *MockTrie) Start(arg0 context.Context) error
- func (m *MockTrie) Stop(arg0 context.Context) error
- func (m *MockTrie) TrieDB() db.KVStore
- func (m *MockTrie) Upsert(arg0, arg1 []byte) error
- type MockTrieMockRecorder
- func (mr *MockTrieMockRecorder) Commit() *gomock.Call
- func (mr *MockTrieMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) DisableBatch() *gomock.Call
- func (mr *MockTrieMockRecorder) EnableBatch() *gomock.Call
- func (mr *MockTrieMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) RootHash() *gomock.Call
- func (mr *MockTrieMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) TrieDB() *gomock.Call
- func (mr *MockTrieMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrie ¶
type MockTrie struct {
// contains filtered or unexported fields
}
MockTrie is a mock of Trie interface
func NewMockTrie ¶
func NewMockTrie(ctrl *gomock.Controller) *MockTrie
NewMockTrie creates a new mock instance
func (*MockTrie) DisableBatch ¶ added in v0.3.0
func (m *MockTrie) DisableBatch()
DisableBatch mocks base method
func (*MockTrie) EXPECT ¶
func (m *MockTrie) EXPECT() *MockTrieMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrie) EnableBatch ¶ added in v0.3.0
EnableBatch mocks base method
type MockTrieMockRecorder ¶
type MockTrieMockRecorder struct {
// contains filtered or unexported fields
}
MockTrieMockRecorder is the mock recorder for MockTrie
func (*MockTrieMockRecorder) Commit ¶
func (mr *MockTrieMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockTrieMockRecorder) Delete ¶
func (mr *MockTrieMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTrieMockRecorder) DisableBatch ¶ added in v0.3.0
func (mr *MockTrieMockRecorder) DisableBatch() *gomock.Call
DisableBatch indicates an expected call of DisableBatch
func (*MockTrieMockRecorder) EnableBatch ¶ added in v0.3.0
func (mr *MockTrieMockRecorder) EnableBatch() *gomock.Call
EnableBatch indicates an expected call of EnableBatch
func (*MockTrieMockRecorder) Get ¶
func (mr *MockTrieMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTrieMockRecorder) RootHash ¶
func (mr *MockTrieMockRecorder) RootHash() *gomock.Call
RootHash indicates an expected call of RootHash
func (*MockTrieMockRecorder) Start ¶ added in v0.3.0
func (mr *MockTrieMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockTrieMockRecorder) Stop ¶ added in v0.3.0
func (mr *MockTrieMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockTrieMockRecorder) TrieDB ¶ added in v0.3.0
func (mr *MockTrieMockRecorder) TrieDB() *gomock.Call
TrieDB indicates an expected call of TrieDB
func (*MockTrieMockRecorder) Upsert ¶
func (mr *MockTrieMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert