mainFactoryMocks

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 11 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
	ShardCoordinatorCalled               func() sharding.Coordinator
	HdrVersionHandler                    nodeFactory.HeaderVersionHandler
	VersionedHdrFactory                  nodeFactory.VersionedHeaderFactory
	HdrIntegrityVerifier                 nodeFactory.HeaderIntegrityVerifierHandler
	GuardedAccountHandlerField           process.GuardedAccountHandler
	NodesCoordinatorRegistryFactoryField nodesCoordinator.NodesCoordinatorRegistryFactory
}

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) NodesCoordinatorRegistryFactory added in v1.7.0

func (bcs *BootstrapComponentsStub) NodesCoordinatorRegistryFactory() nodesCoordinator.NodesCoordinatorRegistryFactory

NodesCoordinatorRegistryFactory -

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

type DataComponentsHolderStub struct {
	BlockchainCalled         func() data.ChainHandler
	SetBlockchainCalled      func(chain data.ChainHandler)
	StorageServiceCalled     func() dataRetriever.StorageService
	DatapoolCalled           func() dataRetriever.PoolsHolder
	MiniBlocksProviderCalled func() factory.MiniBlockProvider
	CloneCalled              func() interface{}
}

DataComponentsHolderStub -

func (*DataComponentsHolderStub) Blockchain added in v1.7.6

func (dchs *DataComponentsHolderStub) Blockchain() data.ChainHandler

Blockchain -

func (*DataComponentsHolderStub) Clone added in v1.7.6

func (dchs *DataComponentsHolderStub) Clone() interface{}

Clone -

func (*DataComponentsHolderStub) Datapool added in v1.7.6

Datapool -

func (*DataComponentsHolderStub) IsInterfaceNil added in v1.7.6

func (dchs *DataComponentsHolderStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*DataComponentsHolderStub) MiniBlocksProvider added in v1.7.6

func (dchs *DataComponentsHolderStub) MiniBlocksProvider() factory.MiniBlockProvider

MiniBlocksProvider -

func (*DataComponentsHolderStub) SetBlockchain added in v1.7.6

func (dchs *DataComponentsHolderStub) SetBlockchain(chain data.ChainHandler)

SetBlockchain -

func (*DataComponentsHolderStub) StorageService added in v1.7.6

func (dchs *DataComponentsHolderStub) StorageService() dataRetriever.StorageService

StorageService -

type StatusComponentsStub

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

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) ManagedPeersMonitor added in v1.6.0

func (scs *StatusComponentsStub) ManagedPeersMonitor() common.ManagedPeersMonitor

ManagedPeersMonitor -

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