mainFactoryMocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 6 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
}

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 added in v1.3.0

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 added in v1.4.0

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

SetShardCoordinator -

func (*BootstrapComponentsStub) ShardCoordinator

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

ShardCoordinator -

func (*BootstrapComponentsStub) String added in v1.2.12

func (bcs *BootstrapComponentsStub) String() string

String -

func (*BootstrapComponentsStub) VersionedHeaderFactory added in v1.3.0

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

VersionedHeaderFactory -

type StatusComponentsStub added in v1.3.0

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

StatusComponentsStub -

func (*StatusComponentsStub) CheckSubcomponents added in v1.3.0

func (scs *StatusComponentsStub) CheckSubcomponents() error

CheckSubcomponents -

func (*StatusComponentsStub) Close added in v1.3.0

func (scs *StatusComponentsStub) Close() error

Close -

func (*StatusComponentsStub) Create added in v1.3.0

func (scs *StatusComponentsStub) Create() error

Create -

func (*StatusComponentsStub) IsInterfaceNil added in v1.3.0

func (scs *StatusComponentsStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*StatusComponentsStub) OutportHandler added in v1.3.0

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

OutportHandler -

func (*StatusComponentsStub) SoftwareVersionChecker added in v1.3.0

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