Documentation ¶
Overview ¶
Package executormock is a generated GoMock package.
Index ¶
- type Manager
- func (m *Manager) EXPECT() *ManagerMockRecorder
- func (m *Manager) GetBlock(blkID ids.ID) (snowman.Block, error)
- func (m *Manager) GetState(blkID ids.ID) (state.Chain, bool)
- func (m *Manager) GetStatelessBlock(blkID ids.ID) (block.Block, error)
- func (m *Manager) LastAccepted() ids.ID
- func (m *Manager) NewBlock(arg0 block.Block) snowman.Block
- func (m *Manager) Preferred() ids.ID
- func (m *Manager) SetPreference(blkID ids.ID) bool
- func (m *Manager) VerifyTx(tx *txs.Tx) error
- func (m *Manager) VerifyUniqueInputs(blkID ids.ID, inputs set.Set[ids.ID]) error
- type ManagerMockRecorder
- func (mr *ManagerMockRecorder) GetBlock(blkID any) *gomock.Call
- func (mr *ManagerMockRecorder) GetState(blkID any) *gomock.Call
- func (mr *ManagerMockRecorder) GetStatelessBlock(blkID any) *gomock.Call
- func (mr *ManagerMockRecorder) LastAccepted() *gomock.Call
- func (mr *ManagerMockRecorder) NewBlock(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) Preferred() *gomock.Call
- func (mr *ManagerMockRecorder) SetPreference(blkID any) *gomock.Call
- func (mr *ManagerMockRecorder) VerifyTx(tx any) *gomock.Call
- func (mr *ManagerMockRecorder) VerifyUniqueInputs(blkID, inputs any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a mock of Manager interface.
func NewManager ¶
func NewManager(ctrl *gomock.Controller) *Manager
NewManager creates a new mock instance.
func (*Manager) EXPECT ¶
func (m *Manager) EXPECT() *ManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Manager) GetStatelessBlock ¶
GetStatelessBlock mocks base method.
func (*Manager) LastAccepted ¶
LastAccepted mocks base method.
func (*Manager) SetPreference ¶
SetPreference mocks base method.
type ManagerMockRecorder ¶
type ManagerMockRecorder struct {
// contains filtered or unexported fields
}
ManagerMockRecorder is the mock recorder for Manager.
func (*ManagerMockRecorder) GetBlock ¶
func (mr *ManagerMockRecorder) GetBlock(blkID any) *gomock.Call
GetBlock indicates an expected call of GetBlock.
func (*ManagerMockRecorder) GetState ¶
func (mr *ManagerMockRecorder) GetState(blkID any) *gomock.Call
GetState indicates an expected call of GetState.
func (*ManagerMockRecorder) GetStatelessBlock ¶
func (mr *ManagerMockRecorder) GetStatelessBlock(blkID any) *gomock.Call
GetStatelessBlock indicates an expected call of GetStatelessBlock.
func (*ManagerMockRecorder) LastAccepted ¶
func (mr *ManagerMockRecorder) LastAccepted() *gomock.Call
LastAccepted indicates an expected call of LastAccepted.
func (*ManagerMockRecorder) NewBlock ¶
func (mr *ManagerMockRecorder) NewBlock(arg0 any) *gomock.Call
NewBlock indicates an expected call of NewBlock.
func (*ManagerMockRecorder) Preferred ¶
func (mr *ManagerMockRecorder) Preferred() *gomock.Call
Preferred indicates an expected call of Preferred.
func (*ManagerMockRecorder) SetPreference ¶
func (mr *ManagerMockRecorder) SetPreference(blkID any) *gomock.Call
SetPreference indicates an expected call of SetPreference.
func (*ManagerMockRecorder) VerifyTx ¶
func (mr *ManagerMockRecorder) VerifyTx(tx any) *gomock.Call
VerifyTx indicates an expected call of VerifyTx.
func (*ManagerMockRecorder) VerifyUniqueInputs ¶
func (mr *ManagerMockRecorder) VerifyUniqueInputs(blkID, inputs any) *gomock.Call
VerifyUniqueInputs indicates an expected call of VerifyUniqueInputs.