rescue_node

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-3.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRescueNode

func NewRescueNode() addons.SmartnodeAddon

Types

type RescueNode

type RescueNode struct {
	// contains filtered or unexported fields
}

func (*RescueNode) ApplyValidatorOverrides

func (r *RescueNode) ApplyValidatorOverrides(cc cfgtypes.ConsensusClient) (func(), error)

func (*RescueNode) GetConfig

func (r *RescueNode) GetConfig() cfgtypes.Config

func (*RescueNode) GetContainerName

func (r *RescueNode) GetContainerName() string

func (*RescueNode) GetContainerTag

func (r *RescueNode) GetContainerTag() string

func (*RescueNode) GetDescription

func (r *RescueNode) GetDescription() string

func (*RescueNode) GetEnabledParameter

func (r *RescueNode) GetEnabledParameter() *cfgtypes.Parameter

func (*RescueNode) GetName

func (r *RescueNode) GetName() string

func (*RescueNode) PrintStatusText

func (r *RescueNode) PrintStatusText(nodeAddr common.Address)

func (*RescueNode) UpdateEnvVars

func (r *RescueNode) UpdateEnvVars(envVars map[string]string) error

type RescueNodeConfig

type RescueNodeConfig struct {
	Title string `yaml:"-"`

	Enabled config.Parameter `yaml:"enabled,omitempty"`

	Username config.Parameter `yaml:"username,omitempty"`
	Password config.Parameter `yaml:"username,omitempty"`
}

func NewConfig

func NewConfig() *RescueNodeConfig

Creates a new configuration instance

func (*RescueNodeConfig) GetConfigTitle

func (cfg *RescueNodeConfig) GetConfigTitle() string

The the title for the config

func (*RescueNodeConfig) GetParameters

func (cfg *RescueNodeConfig) GetParameters() []*config.Parameter

Get the parameters for this config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL