mainFactoryMocks

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: GPL-3.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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