executormock

package
v1.11.12-remove-ami.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package executormock is a generated GoMock package.

Index

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) GetBlock

func (m *Manager) GetBlock(blkID ids.ID) (snowman.Block, error)

GetBlock mocks base method.

func (*Manager) GetState

func (m *Manager) GetState(blkID ids.ID) (state.Chain, bool)

GetState mocks base method.

func (*Manager) GetStatelessBlock

func (m *Manager) GetStatelessBlock(blkID ids.ID) (block.Block, error)

GetStatelessBlock mocks base method.

func (*Manager) LastAccepted

func (m *Manager) LastAccepted() ids.ID

LastAccepted mocks base method.

func (*Manager) NewBlock

func (m *Manager) NewBlock(arg0 block.Block) snowman.Block

NewBlock mocks base method.

func (*Manager) Preferred

func (m *Manager) Preferred() ids.ID

Preferred mocks base method.

func (*Manager) SetPreference

func (m *Manager) SetPreference(blkID ids.ID) bool

SetPreference mocks base method.

func (*Manager) VerifyTx

func (m *Manager) VerifyTx(tx *txs.Tx) error

VerifyTx mocks base method.

func (*Manager) VerifyUniqueInputs

func (m *Manager) VerifyUniqueInputs(blkID ids.ID, inputs set.Set[ids.ID]) error

VerifyUniqueInputs 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL