Documentation ¶
Overview ¶
Package mock_chainmanager is a generated GoMock package.
Index ¶
- type MockDock
- type MockDockMockRecorder
- type MockStateManager
- func (m *MockStateManager) DelState(arg0 ...protocol.StateOption) (uint64, error)
- func (m *MockStateManager) EXPECT() *MockStateManagerMockRecorder
- func (m *MockStateManager) Height() (uint64, error)
- func (m *MockStateManager) Load(arg0, arg1 string, arg2 interface{}) error
- func (m *MockStateManager) ProtocolDirty(arg0 string) bool
- func (m *MockStateManager) PutState(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
- func (m *MockStateManager) ReadView(arg0 string) (interface{}, error)
- func (m *MockStateManager) Reset()
- func (m *MockStateManager) Revert(arg0 int) error
- func (m *MockStateManager) Snapshot() int
- func (m *MockStateManager) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
- func (m *MockStateManager) States(arg0 ...protocol.StateOption) (uint64, state.Iterator, error)
- func (m *MockStateManager) Unload(arg0, arg1 string, arg2 interface{}) error
- func (m *MockStateManager) WriteView(arg0 string, arg1 interface{}) error
- type MockStateManagerMockRecorder
- func (mr *MockStateManagerMockRecorder) DelState(arg0 ...interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) Height() *gomock.Call
- func (mr *MockStateManagerMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) PutState(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) ReadView(arg0 interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) Reset() *gomock.Call
- func (mr *MockStateManagerMockRecorder) Revert(arg0 interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) Snapshot() *gomock.Call
- func (mr *MockStateManagerMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) States(arg0 ...interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateManagerMockRecorder) WriteView(arg0, arg1 interface{}) *gomock.Call
- type MockStateReader
- func (m *MockStateReader) EXPECT() *MockStateReaderMockRecorder
- func (m *MockStateReader) Height() (uint64, error)
- func (m *MockStateReader) ReadView(arg0 string) (interface{}, error)
- func (m *MockStateReader) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
- func (m *MockStateReader) States(arg0 ...protocol.StateOption) (uint64, state.Iterator, error)
- type MockStateReaderMockRecorder
- func (mr *MockStateReaderMockRecorder) Height() *gomock.Call
- func (mr *MockStateReaderMockRecorder) ReadView(arg0 interface{}) *gomock.Call
- func (mr *MockStateReaderMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStateReaderMockRecorder) States(arg0 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDock ¶
type MockDock struct {
// contains filtered or unexported fields
}
MockDock is a mock of Dock interface.
func NewMockDock ¶
func NewMockDock(ctrl *gomock.Controller) *MockDock
NewMockDock creates a new mock instance.
func (*MockDock) EXPECT ¶
func (m *MockDock) EXPECT() *MockDockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDock) ProtocolDirty ¶
ProtocolDirty mocks base method.
type MockDockMockRecorder ¶
type MockDockMockRecorder struct {
// contains filtered or unexported fields
}
MockDockMockRecorder is the mock recorder for MockDock.
func (*MockDockMockRecorder) Load ¶
func (mr *MockDockMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*MockDockMockRecorder) ProtocolDirty ¶
func (mr *MockDockMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call
ProtocolDirty indicates an expected call of ProtocolDirty.
func (*MockDockMockRecorder) Reset ¶
func (mr *MockDockMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockDockMockRecorder) Unload ¶
func (mr *MockDockMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call
Unload indicates an expected call of Unload.
type MockStateManager ¶
type MockStateManager struct {
// contains filtered or unexported fields
}
MockStateManager is a mock of StateManager interface.
func NewMockStateManager ¶
func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager
NewMockStateManager creates a new mock instance.
func (*MockStateManager) DelState ¶
func (m *MockStateManager) DelState(arg0 ...protocol.StateOption) (uint64, error)
DelState mocks base method.
func (*MockStateManager) EXPECT ¶
func (m *MockStateManager) EXPECT() *MockStateManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateManager) Height ¶
func (m *MockStateManager) Height() (uint64, error)
Height mocks base method.
func (*MockStateManager) Load ¶
func (m *MockStateManager) Load(arg0, arg1 string, arg2 interface{}) error
Load mocks base method.
func (*MockStateManager) ProtocolDirty ¶
func (m *MockStateManager) ProtocolDirty(arg0 string) bool
ProtocolDirty mocks base method.
func (*MockStateManager) PutState ¶
func (m *MockStateManager) PutState(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
PutState mocks base method.
func (*MockStateManager) ReadView ¶
func (m *MockStateManager) ReadView(arg0 string) (interface{}, error)
ReadView mocks base method.
func (*MockStateManager) Revert ¶
func (m *MockStateManager) Revert(arg0 int) error
Revert mocks base method.
func (*MockStateManager) Snapshot ¶
func (m *MockStateManager) Snapshot() int
Snapshot mocks base method.
func (*MockStateManager) State ¶
func (m *MockStateManager) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
State mocks base method.
func (*MockStateManager) States ¶
func (m *MockStateManager) States(arg0 ...protocol.StateOption) (uint64, state.Iterator, error)
States mocks base method.
func (*MockStateManager) Unload ¶
func (m *MockStateManager) Unload(arg0, arg1 string, arg2 interface{}) error
Unload mocks base method.
func (*MockStateManager) WriteView ¶
func (m *MockStateManager) WriteView(arg0 string, arg1 interface{}) error
WriteView mocks base method.
type MockStateManagerMockRecorder ¶
type MockStateManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockStateManagerMockRecorder is the mock recorder for MockStateManager.
func (*MockStateManagerMockRecorder) DelState ¶
func (mr *MockStateManagerMockRecorder) DelState(arg0 ...interface{}) *gomock.Call
DelState indicates an expected call of DelState.
func (*MockStateManagerMockRecorder) Height ¶
func (mr *MockStateManagerMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockStateManagerMockRecorder) Load ¶
func (mr *MockStateManagerMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*MockStateManagerMockRecorder) ProtocolDirty ¶
func (mr *MockStateManagerMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call
ProtocolDirty indicates an expected call of ProtocolDirty.
func (*MockStateManagerMockRecorder) PutState ¶
func (mr *MockStateManagerMockRecorder) PutState(arg0 interface{}, arg1 ...interface{}) *gomock.Call
PutState indicates an expected call of PutState.
func (*MockStateManagerMockRecorder) ReadView ¶
func (mr *MockStateManagerMockRecorder) ReadView(arg0 interface{}) *gomock.Call
ReadView indicates an expected call of ReadView.
func (*MockStateManagerMockRecorder) Reset ¶
func (mr *MockStateManagerMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockStateManagerMockRecorder) Revert ¶
func (mr *MockStateManagerMockRecorder) Revert(arg0 interface{}) *gomock.Call
Revert indicates an expected call of Revert.
func (*MockStateManagerMockRecorder) Snapshot ¶
func (mr *MockStateManagerMockRecorder) Snapshot() *gomock.Call
Snapshot indicates an expected call of Snapshot.
func (*MockStateManagerMockRecorder) State ¶
func (mr *MockStateManagerMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call
State indicates an expected call of State.
func (*MockStateManagerMockRecorder) States ¶
func (mr *MockStateManagerMockRecorder) States(arg0 ...interface{}) *gomock.Call
States indicates an expected call of States.
func (*MockStateManagerMockRecorder) Unload ¶
func (mr *MockStateManagerMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call
Unload indicates an expected call of Unload.
func (*MockStateManagerMockRecorder) WriteView ¶
func (mr *MockStateManagerMockRecorder) WriteView(arg0, arg1 interface{}) *gomock.Call
WriteView indicates an expected call of WriteView.
type MockStateReader ¶
type MockStateReader struct {
// contains filtered or unexported fields
}
MockStateReader is a mock of StateReader interface.
func NewMockStateReader ¶
func NewMockStateReader(ctrl *gomock.Controller) *MockStateReader
NewMockStateReader creates a new mock instance.
func (*MockStateReader) EXPECT ¶
func (m *MockStateReader) EXPECT() *MockStateReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateReader) Height ¶
func (m *MockStateReader) Height() (uint64, error)
Height mocks base method.
func (*MockStateReader) ReadView ¶
func (m *MockStateReader) ReadView(arg0 string) (interface{}, error)
ReadView mocks base method.
func (*MockStateReader) State ¶
func (m *MockStateReader) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)
State mocks base method.
func (*MockStateReader) States ¶
func (m *MockStateReader) States(arg0 ...protocol.StateOption) (uint64, state.Iterator, error)
States mocks base method.
type MockStateReaderMockRecorder ¶
type MockStateReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockStateReaderMockRecorder is the mock recorder for MockStateReader.
func (*MockStateReaderMockRecorder) Height ¶
func (mr *MockStateReaderMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockStateReaderMockRecorder) ReadView ¶
func (mr *MockStateReaderMockRecorder) ReadView(arg0 interface{}) *gomock.Call
ReadView indicates an expected call of ReadView.
func (*MockStateReaderMockRecorder) State ¶
func (mr *MockStateReaderMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call
State indicates an expected call of State.
func (*MockStateReaderMockRecorder) States ¶
func (mr *MockStateReaderMockRecorder) States(arg0 ...interface{}) *gomock.Call
States indicates an expected call of States.