Documentation ¶
Overview ¶
Package executor is a generated GoMock package.
Index ¶
- type Block
- type Manager
- type MockManager
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetBlock(arg0 ids.ID) (snowman.Block, error)
- func (m *MockManager) GetState(arg0 ids.ID) (state.Chain, bool)
- func (m *MockManager) GetStatelessBlock(arg0 ids.ID) (blocks.Block, error)
- func (m *MockManager) LastAccepted() ids.ID
- func (m *MockManager) NewBlock(arg0 blocks.Block) snowman.Block
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) GetBlock(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetState(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetStatelessBlock(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) LastAccepted() *gomock.Call
- func (mr *MockManagerMockRecorder) NewBlock(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type MockManager ¶ added in v1.9.4
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶ added in v1.9.4
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶ added in v1.9.4
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GetStatelessBlock ¶ added in v1.9.4
GetStatelessBlock mocks base method.
func (*MockManager) LastAccepted ¶ added in v1.9.4
func (m *MockManager) LastAccepted() ids.ID
LastAccepted mocks base method.
type MockManagerMockRecorder ¶ added in v1.9.4
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) GetBlock ¶ added in v1.9.4
func (mr *MockManagerMockRecorder) GetBlock(arg0 interface{}) *gomock.Call
GetBlock indicates an expected call of GetBlock.
func (*MockManagerMockRecorder) GetState ¶ added in v1.9.4
func (mr *MockManagerMockRecorder) GetState(arg0 interface{}) *gomock.Call
GetState indicates an expected call of GetState.
func (*MockManagerMockRecorder) GetStatelessBlock ¶ added in v1.9.4
func (mr *MockManagerMockRecorder) GetStatelessBlock(arg0 interface{}) *gomock.Call
GetStatelessBlock indicates an expected call of GetStatelessBlock.
func (*MockManagerMockRecorder) LastAccepted ¶ added in v1.9.4
func (mr *MockManagerMockRecorder) LastAccepted() *gomock.Call
LastAccepted indicates an expected call of LastAccepted.
func (*MockManagerMockRecorder) NewBlock ¶ added in v1.9.4
func (mr *MockManagerMockRecorder) NewBlock(arg0 interface{}) *gomock.Call
NewBlock indicates an expected call of NewBlock.
Click to show internal directories.
Click to hide internal directories.