mainFactoryMocks

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 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
	GuardedAccountHandlerField process.GuardedAccountHandler
}

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) GuardedAccountHandler added in v1.5.0

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

GuardedAccountHandler -

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

func (bcs *BootstrapComponentsStub) SetShardCoordinator(shardCoordinator sharding.Coordinator) error

SetShardCoordinator -

func (*BootstrapComponentsStub) ShardCoordinator

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

ShardCoordinator -

func (*BootstrapComponentsStub) String

func (bcs *BootstrapComponentsStub) String() string

String -

func (*BootstrapComponentsStub) VersionedHeaderFactory

func (bcs *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