rescue_node

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

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) 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) GetOverrides added in v1.11.3

func (*RescueNode) PrintStatusText

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

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

type RescueNodeOverrides added in v1.11.3

type RescueNodeOverrides struct {
	CcApiEndpoint     string
	CcRpcEndpoint     string
	VcAdditionalFlags string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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