mainFactoryMocks

package
v1.999.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapComponentsStub

type BootstrapComponentsStub struct {
	Bootstrapper                factory.EpochStartBootstrapper
	BootstrapParams             factory.BootstrapParamsHolder
	NodeRole                    core.NodeType
	ShCoordinator               sharding.Coordinator
	HdrVersionHandler           nodeFactory.HeaderVersionHandler
	VersionedHdrFactory         nodeFactory.VersionedHeaderFactory
	HdrIntegrityVerifier        nodeFactory.HeaderIntegrityVerifierHandler
	RoundActivationHandlerField process.RoundActivationHandler
}

BootstrapComponentsStub -

func (*BootstrapComponentsStub) CheckSubcomponents

func (bcs *BootstrapComponentsStub) CheckSubcomponents() error

CheckSubcomponents -

func (*BootstrapComponentsStub) Close

func (bcs *BootstrapComponentsStub) Close() error

Close -

func (*BootstrapComponentsStub) Create

func (bcs *BootstrapComponentsStub) Create() error

Create -

func (*BootstrapComponentsStub) EpochBootstrapParams

func (bcs *BootstrapComponentsStub) EpochBootstrapParams() factory.BootstrapParamsHolder

EpochBootstrapParams -

func (*BootstrapComponentsStub) EpochStartBootstrapper

func (bcs *BootstrapComponentsStub) EpochStartBootstrapper() factory.EpochStartBootstrapper

EpochStartBootstrapper -

func (*BootstrapComponentsStub) HeaderIntegrityVerifier

HeaderIntegrityVerifier -

func (*BootstrapComponentsStub) HeaderVersionHandler

func (bcs *BootstrapComponentsStub) HeaderVersionHandler() nodeFactory.HeaderVersionHandler

HeaderVersionHandler -

func (*BootstrapComponentsStub) IsInterfaceNil

func (bcs *BootstrapComponentsStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*BootstrapComponentsStub) NodeType

func (bcs *BootstrapComponentsStub) NodeType() core.NodeType

NodeType -

func (*BootstrapComponentsStub) RoundActivationHandler

func (bcs *BootstrapComponentsStub) RoundActivationHandler() process.RoundActivationHandler

RoundActivationHandler -

func (*BootstrapComponentsStub) ShardCoordinator

func (bcs *BootstrapComponentsStub) ShardCoordinator() sharding.Coordinator

ShardCoordinator -

func (*BootstrapComponentsStub) String

func (bcs *BootstrapComponentsStub) String() string

String -

func (*BootstrapComponentsStub) VersionedHeaderFactory

func (bc *BootstrapComponentsStub) VersionedHeaderFactory() nodeFactory.VersionedHeaderFactory

VersionedHeaderFactory -

type StatusComponentsStub

type StatusComponentsStub struct {
	Outport              outport.OutportHandler
	SoftwareVersionCheck statistics.SoftwareVersionChecker
	AppStatusHandler     core.AppStatusHandler
}

StatusComponentsStub -

func (*StatusComponentsStub) CheckSubcomponents

func (scs *StatusComponentsStub) CheckSubcomponents() error

CheckSubcomponents -

func (*StatusComponentsStub) Close

func (scs *StatusComponentsStub) Close() error

Close -

func (*StatusComponentsStub) Create

func (scs *StatusComponentsStub) Create() error

Create -

func (*StatusComponentsStub) IsInterfaceNil

func (scs *StatusComponentsStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*StatusComponentsStub) OutportHandler

func (scs *StatusComponentsStub) OutportHandler() outport.OutportHandler

OutportHandler -

func (*StatusComponentsStub) SoftwareVersionChecker

func (scs *StatusComponentsStub) SoftwareVersionChecker() statistics.SoftwareVersionChecker

SoftwareVersionChecker -

Jump to

Keyboard shortcuts

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