Documentation ¶
Overview ¶
Package mock_trie is a generated GoMock package.
Index ¶
- type MockIterator
- type MockIteratorMockRecorder
- type MockTrie
- func (m *MockTrie) Delete(arg0 []byte) error
- func (m *MockTrie) EXPECT() *MockTrieMockRecorder
- func (m *MockTrie) Get(arg0 []byte) ([]byte, error)
- func (m *MockTrie) IsEmpty() bool
- func (m *MockTrie) RootHash() ([]byte, error)
- func (m *MockTrie) SetRootHash(arg0 []byte) error
- func (m *MockTrie) Start(arg0 context.Context) error
- func (m *MockTrie) Stop(arg0 context.Context) error
- func (m *MockTrie) Upsert(arg0, arg1 []byte) error
- type MockTrieMockRecorder
- func (mr *MockTrieMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) IsEmpty() *gomock.Call
- func (mr *MockTrieMockRecorder) RootHash() *gomock.Call
- func (mr *MockTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockTrieMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
- type MockTwoLayerTrie
- func (m *MockTwoLayerTrie) Delete(arg0, arg1 []byte) error
- func (m *MockTwoLayerTrie) EXPECT() *MockTwoLayerTrieMockRecorder
- func (m *MockTwoLayerTrie) Get(arg0, arg1 []byte) ([]byte, error)
- func (m *MockTwoLayerTrie) RootHash() ([]byte, error)
- func (m *MockTwoLayerTrie) SetRootHash(arg0 []byte) error
- func (m *MockTwoLayerTrie) Start(arg0 context.Context) error
- func (m *MockTwoLayerTrie) Stop(arg0 context.Context) error
- func (m *MockTwoLayerTrie) Upsert(arg0, arg1, arg2 []byte) error
- type MockTwoLayerTrieMockRecorder
- func (mr *MockTwoLayerTrieMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) RootHash() *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockTwoLayerTrieMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIterator ¶ added in v1.1.0
type MockIterator struct {
// contains filtered or unexported fields
}
MockIterator is a mock of Iterator interface
func NewMockIterator ¶ added in v1.1.0
func NewMockIterator(ctrl *gomock.Controller) *MockIterator
NewMockIterator creates a new mock instance
func (*MockIterator) EXPECT ¶ added in v1.1.0
func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIteratorMockRecorder ¶ added in v1.1.0
type MockIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockIteratorMockRecorder is the mock recorder for MockIterator
func (*MockIteratorMockRecorder) Next ¶ added in v1.1.0
func (mr *MockIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
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) EXPECT ¶
func (m *MockTrie) EXPECT() *MockTrieMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrie) SetRootHash ¶ added in v0.4.4
SetRootHash mocks base method
type MockTrieMockRecorder ¶
type MockTrieMockRecorder struct {
// contains filtered or unexported fields
}
MockTrieMockRecorder is the mock recorder for MockTrie
func (*MockTrieMockRecorder) Delete ¶
func (mr *MockTrieMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTrieMockRecorder) Get ¶
func (mr *MockTrieMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTrieMockRecorder) IsEmpty ¶ added in v0.11.0
func (mr *MockTrieMockRecorder) IsEmpty() *gomock.Call
IsEmpty indicates an expected call of IsEmpty
func (*MockTrieMockRecorder) RootHash ¶
func (mr *MockTrieMockRecorder) RootHash() *gomock.Call
RootHash indicates an expected call of RootHash
func (*MockTrieMockRecorder) SetRootHash ¶ added in v0.4.4
func (mr *MockTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call
SetRootHash indicates an expected call of SetRootHash
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) Upsert ¶
func (mr *MockTrieMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert
type MockTwoLayerTrie ¶ added in v1.1.0
type MockTwoLayerTrie struct {
// contains filtered or unexported fields
}
MockTwoLayerTrie is a mock of TwoLayerTrie interface
func NewMockTwoLayerTrie ¶ added in v1.1.0
func NewMockTwoLayerTrie(ctrl *gomock.Controller) *MockTwoLayerTrie
NewMockTwoLayerTrie creates a new mock instance
func (*MockTwoLayerTrie) Delete ¶ added in v1.1.0
func (m *MockTwoLayerTrie) Delete(arg0, arg1 []byte) error
Delete mocks base method
func (*MockTwoLayerTrie) EXPECT ¶ added in v1.1.0
func (m *MockTwoLayerTrie) EXPECT() *MockTwoLayerTrieMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTwoLayerTrie) Get ¶ added in v1.1.0
func (m *MockTwoLayerTrie) Get(arg0, arg1 []byte) ([]byte, error)
Get mocks base method
func (*MockTwoLayerTrie) RootHash ¶ added in v1.1.0
func (m *MockTwoLayerTrie) RootHash() ([]byte, error)
RootHash mocks base method
func (*MockTwoLayerTrie) SetRootHash ¶ added in v1.1.0
func (m *MockTwoLayerTrie) SetRootHash(arg0 []byte) error
SetRootHash mocks base method
func (*MockTwoLayerTrie) Start ¶ added in v1.1.0
func (m *MockTwoLayerTrie) Start(arg0 context.Context) error
Start mocks base method
func (*MockTwoLayerTrie) Stop ¶ added in v1.1.0
func (m *MockTwoLayerTrie) Stop(arg0 context.Context) error
Stop mocks base method
func (*MockTwoLayerTrie) Upsert ¶ added in v1.1.0
func (m *MockTwoLayerTrie) Upsert(arg0, arg1, arg2 []byte) error
Upsert mocks base method
type MockTwoLayerTrieMockRecorder ¶ added in v1.1.0
type MockTwoLayerTrieMockRecorder struct {
// contains filtered or unexported fields
}
MockTwoLayerTrieMockRecorder is the mock recorder for MockTwoLayerTrie
func (*MockTwoLayerTrieMockRecorder) Delete ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTwoLayerTrieMockRecorder) Get ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTwoLayerTrieMockRecorder) RootHash ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) RootHash() *gomock.Call
RootHash indicates an expected call of RootHash
func (*MockTwoLayerTrieMockRecorder) SetRootHash ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) SetRootHash(arg0 interface{}) *gomock.Call
SetRootHash indicates an expected call of SetRootHash
func (*MockTwoLayerTrieMockRecorder) Start ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockTwoLayerTrieMockRecorder) Stop ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockTwoLayerTrieMockRecorder) Upsert ¶ added in v1.1.0
func (mr *MockTwoLayerTrieMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert