Documentation
¶
Index ¶
- type Config
- type Metrics
- type Network
- type Pool
- func (p *Pool) GetHealthyExecutionNode() *execution.Node
- func (p *Pool) GetHealthyExecutionNodes() []*execution.Node
- func (p *Pool) GetNetworkByChainID(chainID int32) (*Network, error)
- func (p *Pool) HasExecutionNodes() bool
- func (p *Pool) HasHealthyExecutionNodes() bool
- func (p *Pool) Start(ctx context.Context)
- func (p *Pool) Stop(ctx context.Context) error
- func (p *Pool) UpdateNodeMetrics()
- func (p *Pool) WaitForHealthyExecutionNode(ctx context.Context) (*execution.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func GetMetricsInstance ¶
func (*Metrics) SetNodesTotal ¶
type Network ¶
func GetNetworkByChainID ¶
GetNetworkByChainID returns the network information for the given chain ID
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) GetHealthyExecutionNode ¶
func (*Pool) GetHealthyExecutionNodes ¶
func (*Pool) GetNetworkByChainID ¶
GetNetworkByChainID returns the network information for the given chain ID If overrideNetworkName is set in config, it returns that name instead of using networkMap
func (*Pool) HasExecutionNodes ¶
func (*Pool) HasHealthyExecutionNodes ¶
func (*Pool) UpdateNodeMetrics ¶
func (p *Pool) UpdateNodeMetrics()
Click to show internal directories.
Click to hide internal directories.