Documentation
¶
Index ¶
- Constants
- Variables
- func IsAnyRunning() bool
- type BesuClient
- func (client BesuClient) CommandName() string
- func (b *BesuClient) FilePath() string
- func (b *BesuClient) Install(url string, isUpdate bool) (err error)
- func (client BesuClient) IsRunning() bool
- func (client BesuClient) Logs(logFilePath string) (err error)
- func (client BesuClient) Name() string
- func (client BesuClient) ParseUrl(tag, commitHash string) (url string)
- func (client BesuClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (b *BesuClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (b *BesuClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client BesuClient) Reset(dataDirPath string) (err error)
- func (b *BesuClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client BesuClient) Stop() (err error)
- func (b *BesuClient) Update() (err error)
- func (b *BesuClient) Version() (version string)
- type ClientBinaryDependency
- type ErigonClient
- func (client ErigonClient) CommandName() string
- func (e *ErigonClient) FilePath() string
- func (e *ErigonClient) Install(url string, isUpdate bool) (err error)
- func (client ErigonClient) IsRunning() bool
- func (client ErigonClient) Logs(logFilePath string) (err error)
- func (client ErigonClient) Name() string
- func (client ErigonClient) ParseUrl(tag, commitHash string) (url string)
- func (client ErigonClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (e *ErigonClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (e *ErigonClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client ErigonClient) Reset(dataDirPath string) (err error)
- func (e *ErigonClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client ErigonClient) Stop() (err error)
- func (e *ErigonClient) Update() (err error)
- func (e *ErigonClient) Version() (version string)
- type GethClient
- func (client GethClient) CommandName() string
- func (client GethClient) FilePath() string
- func (client GethClient) Install(url string, isUpdate bool) (err error)
- func (client GethClient) IsRunning() bool
- func (client GethClient) Logs(logFilePath string) (err error)
- func (client GethClient) Name() string
- func (g *GethClient) ParseUrl(tag, commitHash string) (url string)
- func (client GethClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (g *GethClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (g *GethClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client GethClient) Reset(dataDirPath string) (err error)
- func (client GethClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client GethClient) Stop() (err error)
- func (g *GethClient) Update() (err error)
- func (g *GethClient) Version() (version string)
- type LighthouseClient
- func (client LighthouseClient) CommandName() string
- func (client LighthouseClient) FilePath() string
- func (client LighthouseClient) Install(url string, isUpdate bool) (err error)
- func (client LighthouseClient) IsRunning() bool
- func (client LighthouseClient) Logs(logFilePath string) (err error)
- func (client LighthouseClient) Name() string
- func (l *LighthouseClient) ParseUrl(tag, commitHash string) (url string)
- func (client LighthouseClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (l *LighthouseClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (l *LighthouseClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client LighthouseClient) Reset(dataDirPath string) (err error)
- func (client LighthouseClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client LighthouseClient) Stop() (err error)
- func (l *LighthouseClient) Update() (err error)
- func (l *LighthouseClient) Version() (version string)
- type LighthouseValidatorClient
- func (client LighthouseValidatorClient) CommandName() string
- func (l *LighthouseValidatorClient) Exit(ctx *cli.Context) (err error)
- func (client LighthouseValidatorClient) FilePath() string
- func (l *LighthouseValidatorClient) Import(ctx *cli.Context) (err error)
- func (client LighthouseValidatorClient) Install(url string, isUpdate bool) (err error)
- func (client LighthouseValidatorClient) IsRunning() bool
- func (l *LighthouseValidatorClient) List(ctx *cli.Context) (err error)
- func (client LighthouseValidatorClient) Logs(logFilePath string) (err error)
- func (client LighthouseValidatorClient) Name() string
- func (client LighthouseValidatorClient) ParseUrl(tag, commitHash string) (url string)
- func (client LighthouseValidatorClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (client LighthouseValidatorClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (l *LighthouseValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client LighthouseValidatorClient) Reset(dataDirPath string) (err error)
- func (l *LighthouseValidatorClient) Start(ctx *cli.Context, args []string) (err error)
- func (client LighthouseValidatorClient) Stop() (err error)
- func (l *LighthouseValidatorClient) Update() error
- func (l *LighthouseValidatorClient) Version() (version string)
- type NethermindClient
- func (client NethermindClient) CommandName() string
- func (n *NethermindClient) FilePath() string
- func (n *NethermindClient) Install(url string, isUpdate bool) (err error)
- func (client NethermindClient) IsRunning() bool
- func (client NethermindClient) Logs(logFilePath string) (err error)
- func (client NethermindClient) Name() string
- func (n *NethermindClient) ParseUrl(tag, commitHash string) (url string)
- func (client NethermindClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (n *NethermindClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (n *NethermindClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client NethermindClient) Reset(dataDirPath string) (err error)
- func (n *NethermindClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client NethermindClient) Stop() (err error)
- func (n *NethermindClient) Update() (err error)
- func (n *NethermindClient) Version() (version string)
- type Nimbus2Client
- func (client Nimbus2Client) CommandName() string
- func (n *Nimbus2Client) FilePath() string
- func (n *Nimbus2Client) Install(url string, isUpdate bool) (err error)
- func (client Nimbus2Client) IsRunning() bool
- func (client Nimbus2Client) Logs(logFilePath string) (err error)
- func (client Nimbus2Client) Name() string
- func (n *Nimbus2Client) ParseUrl(tag, commitHash string) (url string)
- func (client Nimbus2Client) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (n *Nimbus2Client) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (n *Nimbus2Client) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client Nimbus2Client) Reset(dataDirPath string) (err error)
- func (n *Nimbus2Client) Start(ctx *cli.Context, arguments []string) (err error)
- func (client Nimbus2Client) Stop() (err error)
- func (n *Nimbus2Client) Update() (err error)
- func (n *Nimbus2Client) Version() (version string)
- type Nimbus2ValidatorClient
- func (client Nimbus2ValidatorClient) CommandName() string
- func (n *Nimbus2ValidatorClient) Exit(ctx *cli.Context) (err error)
- func (client Nimbus2ValidatorClient) FilePath() string
- func (n *Nimbus2ValidatorClient) Import(ctx *cli.Context) (err error)
- func (client Nimbus2ValidatorClient) Install(url string, isUpdate bool) (err error)
- func (client Nimbus2ValidatorClient) IsRunning() bool
- func (n *Nimbus2ValidatorClient) List(ctx *cli.Context) (err error)
- func (client Nimbus2ValidatorClient) Logs(logFilePath string) (err error)
- func (client Nimbus2ValidatorClient) Name() string
- func (client Nimbus2ValidatorClient) ParseUrl(tag, commitHash string) (url string)
- func (client Nimbus2ValidatorClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (client Nimbus2ValidatorClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (n *Nimbus2ValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client Nimbus2ValidatorClient) Reset(dataDirPath string) (err error)
- func (n *Nimbus2ValidatorClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client Nimbus2ValidatorClient) Stop() (err error)
- func (client Nimbus2ValidatorClient) Update() (err error)
- func (n *Nimbus2ValidatorClient) Version() (version string)
- type PrysmClient
- func (client PrysmClient) CommandName() string
- func (client PrysmClient) FilePath() string
- func (client PrysmClient) Install(url string, isUpdate bool) (err error)
- func (client PrysmClient) IsRunning() bool
- func (client PrysmClient) Logs(logFilePath string) (err error)
- func (client PrysmClient) Name() string
- func (client PrysmClient) ParseUrl(tag, commitHash string) (url string)
- func (client PrysmClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (p *PrysmClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (p *PrysmClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client PrysmClient) Reset(dataDirPath string) (err error)
- func (client PrysmClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client PrysmClient) Stop() (err error)
- func (client PrysmClient) Update() (err error)
- func (p *PrysmClient) Version() (version string)
- type PrysmValidatorClient
- func (client PrysmValidatorClient) CommandName() string
- func (p *PrysmValidatorClient) Exit(ctx *cli.Context) (err error)
- func (client PrysmValidatorClient) FilePath() string
- func (p *PrysmValidatorClient) Import(ctx *cli.Context) (err error)
- func (client PrysmValidatorClient) Install(url string, isUpdate bool) (err error)
- func (client PrysmValidatorClient) IsRunning() bool
- func (p *PrysmValidatorClient) List(ctx *cli.Context) (err error)
- func (client PrysmValidatorClient) Logs(logFilePath string) (err error)
- func (client PrysmValidatorClient) Name() string
- func (client PrysmValidatorClient) ParseUrl(tag, commitHash string) (url string)
- func (client PrysmValidatorClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (client PrysmValidatorClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (p *PrysmValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client PrysmValidatorClient) Reset(dataDirPath string) (err error)
- func (client PrysmValidatorClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client PrysmValidatorClient) Stop() (err error)
- func (client PrysmValidatorClient) Update() (err error)
- func (p *PrysmValidatorClient) Version() (version string)
- type TekuClient
- func (client TekuClient) CommandName() string
- func (t *TekuClient) FilePath() string
- func (t *TekuClient) Install(url string, isUpdate bool) (err error)
- func (client TekuClient) IsRunning() bool
- func (client TekuClient) Logs(logFilePath string) (err error)
- func (client TekuClient) Name() string
- func (client TekuClient) ParseUrl(tag, commitHash string) (url string)
- func (client TekuClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (t *TekuClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (t *TekuClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client TekuClient) Reset(dataDirPath string) (err error)
- func (t *TekuClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client TekuClient) Stop() (err error)
- func (t *TekuClient) Update() (err error)
- func (t *TekuClient) Version() (version string)
- type TekuValidatorClient
- func (client TekuValidatorClient) CommandName() string
- func (t *TekuValidatorClient) Exit(ctx *cli.Context) (err error)
- func (client TekuValidatorClient) FilePath() string
- func (t *TekuValidatorClient) Import(ctx *cli.Context) (err error)
- func (client TekuValidatorClient) Install(url string, isUpdate bool) (err error)
- func (client TekuValidatorClient) IsRunning() bool
- func (t *TekuValidatorClient) List(ctx *cli.Context) (err error)
- func (client TekuValidatorClient) Logs(logFilePath string) (err error)
- func (client TekuValidatorClient) Name() string
- func (client TekuValidatorClient) ParseUrl(tag, commitHash string) (url string)
- func (client TekuValidatorClient) ParseUserFlags(ctx *cli.Context) (startFlags []string)
- func (client TekuValidatorClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
- func (t *TekuValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
- func (client TekuValidatorClient) Reset(dataDirPath string) (err error)
- func (t *TekuValidatorClient) Start(ctx *cli.Context, arguments []string) (err error)
- func (client TekuValidatorClient) Stop() (err error)
- func (client TekuValidatorClient) Update() (err error)
- func (t *TekuValidatorClient) Version() (version string)
- type ValidatorBinaryDependency
Constants ¶
View Source
const (
VersionNotAvailable = "Not available"
)
Variables ¶
View Source
var ( AllClients = map[string]ClientBinaryDependency{ // contains filtered or unexported fields } ClientVersions = map[string]string{ // contains filtered or unexported fields } // for ordered actions AllClientNames = []string{ gethDependencyName, erigonDependencyName, nethermindDependencyName, besuDependencyName, prysmDependencyName, prysmValidatorDependencyName, lighthouseDependencyName, lighthouseValidatorDependencyName, tekuDependencyName, tekuValidatorDependencyName, nimbus2DependencyName, nimbus2ValidatorDependencyName, } )
View Source
var Besu = NewBesuClient()
View Source
var Erigon = NewErigonClient()
View Source
var Geth = NewGethClient()
View Source
var Lighthouse = NewLighthouseClient()
View Source
var LighthouseValidator = NewLighthouseValidatorClient()
View Source
var Nethermind = NewNethermindClient()
View Source
var Nimbus2 = NewNimbus2Client()
View Source
var Nimbus2Validator = NewNimbus2ValidatorClient()
View Source
var Prysm = NewPrysmClient()
View Source
var PrysmValidator = NewPrysmValidatorClient()
View Source
var Teku = NewTekuClient()
View Source
var TekuValidator = NewTekuValidatorClient()
Functions ¶
func IsAnyRunning ¶
func IsAnyRunning() bool
Types ¶
type BesuClient ¶ added in v0.19.0
type BesuClient struct {
// contains filtered or unexported fields
}
func NewBesuClient ¶ added in v0.19.0
func NewBesuClient() *BesuClient
func (BesuClient) CommandName ¶ added in v0.19.0
func (client BesuClient) CommandName() string
func (*BesuClient) FilePath ¶ added in v0.19.0
func (b *BesuClient) FilePath() string
func (*BesuClient) Install ¶ added in v0.19.0
func (b *BesuClient) Install(url string, isUpdate bool) (err error)
func (BesuClient) ParseUserFlags ¶ added in v0.19.0
func (*BesuClient) Peers ¶ added in v0.19.0
func (b *BesuClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*BesuClient) PrepareStartFlags ¶ added in v0.19.0
func (b *BesuClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*BesuClient) Start ¶ added in v0.19.0
func (b *BesuClient) Start(ctx *cli.Context, arguments []string) (err error)
func (*BesuClient) Update ¶ added in v0.19.0
func (b *BesuClient) Update() (err error)
func (*BesuClient) Version ¶ added in v0.22.0
func (b *BesuClient) Version() (version string)
type ClientBinaryDependency ¶
type ClientBinaryDependency interface {
// Start starts the client with given flags
Start(ctx *cli.Context, arguments []string) error
// Stop stops the client
Stop() error
// Logs takes the latest log file and prints it to terminal, in live mode
Logs(logsDirPath string) error
// Reset deletes data directories of all clients
Reset(datadir string) error
// Install installs the client with given version
Install(url string, isUpdate bool) error
// Update updates client to specific version - TODO
Update() error
// IsRunning determines whether the client is already running
IsRunning() bool
// ParseUserFlags is used to trim any client prefix from flag
ParseUserFlags(ctx *cli.Context) []string
// PrepareStartFlags parses arguments that are later supplied to Start
PrepareStartFlags(ctx *cli.Context) ([]string, error)
// Name is a user-readable name utility, f.e. in logs etc.
// Should be uppercase and match CommandName (non-case-sensitively)
Name() string
// CommandName identifies client in all sorts of technical aspects - commands, files etc.
// Should be lowercase and match Name (non-case-sensitively)
CommandName() string
// ParseUrl replaces any missing information in install link with matching system info
ParseUrl(tag, commitHash string) string
// FilePath returns path to installed binary
FilePath() string
// Peers prints to console how many peers does the client have
Peers(ctx *cli.Context) (outbound int, inbound int, err error)
// Version returns a version of the given client as a string (different clients may vary in versioning).
// For compatibility with display, all clients should be preceded by 'v', e.g. Geth version: v1.14.11
Version() string
}
type ErigonClient ¶
type ErigonClient struct {
// contains filtered or unexported fields
}
func NewErigonClient ¶
func NewErigonClient() *ErigonClient
func (ErigonClient) CommandName ¶
func (client ErigonClient) CommandName() string
func (*ErigonClient) FilePath ¶
func (e *ErigonClient) FilePath() string
func (*ErigonClient) Install ¶
func (e *ErigonClient) Install(url string, isUpdate bool) (err error)
func (ErigonClient) ParseUserFlags ¶
func (*ErigonClient) Peers ¶ added in v0.12.0
func (e *ErigonClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*ErigonClient) PrepareStartFlags ¶
func (e *ErigonClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*ErigonClient) Start ¶
func (e *ErigonClient) Start(ctx *cli.Context, arguments []string) (err error)
func (*ErigonClient) Update ¶
func (e *ErigonClient) Update() (err error)
func (*ErigonClient) Version ¶ added in v0.22.0
func (e *ErigonClient) Version() (version string)
type GethClient ¶
type GethClient struct {
// contains filtered or unexported fields
}
func NewGethClient ¶
func NewGethClient() *GethClient
func (GethClient) CommandName ¶
func (client GethClient) CommandName() string
func (*GethClient) ParseUrl ¶
func (g *GethClient) ParseUrl(tag, commitHash string) (url string)
func (GethClient) ParseUserFlags ¶
func (*GethClient) Peers ¶ added in v0.12.0
func (g *GethClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*GethClient) PrepareStartFlags ¶
func (g *GethClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*GethClient) Update ¶
func (g *GethClient) Update() (err error)
func (*GethClient) Version ¶ added in v0.22.0
func (g *GethClient) Version() (version string)
type LighthouseClient ¶
type LighthouseClient struct {
// contains filtered or unexported fields
}
func NewLighthouseClient ¶
func NewLighthouseClient() *LighthouseClient
func (LighthouseClient) CommandName ¶
func (client LighthouseClient) CommandName() string
func (*LighthouseClient) ParseUrl ¶
func (l *LighthouseClient) ParseUrl(tag, commitHash string) (url string)
func (LighthouseClient) ParseUserFlags ¶
func (*LighthouseClient) Peers ¶ added in v0.12.0
func (l *LighthouseClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*LighthouseClient) PrepareStartFlags ¶
func (l *LighthouseClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*LighthouseClient) Update ¶
func (l *LighthouseClient) Update() (err error)
func (*LighthouseClient) Version ¶ added in v0.22.0
func (l *LighthouseClient) Version() (version string)
type LighthouseValidatorClient ¶
type LighthouseValidatorClient struct {
// contains filtered or unexported fields
}
func NewLighthouseValidatorClient ¶
func NewLighthouseValidatorClient() *LighthouseValidatorClient
func (LighthouseValidatorClient) CommandName ¶
func (client LighthouseValidatorClient) CommandName() string
func (*LighthouseValidatorClient) Exit ¶ added in v0.7.1
func (l *LighthouseValidatorClient) Exit(ctx *cli.Context) (err error)
func (LighthouseValidatorClient) FilePath ¶
func (client LighthouseValidatorClient) FilePath() string
func (*LighthouseValidatorClient) Import ¶
func (l *LighthouseValidatorClient) Import(ctx *cli.Context) (err error)
func (LighthouseValidatorClient) IsRunning ¶
func (client LighthouseValidatorClient) IsRunning() bool
func (*LighthouseValidatorClient) List ¶
func (l *LighthouseValidatorClient) List(ctx *cli.Context) (err error)
func (LighthouseValidatorClient) ParseUserFlags ¶
func (*LighthouseValidatorClient) PrepareStartFlags ¶
func (l *LighthouseValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*LighthouseValidatorClient) Start ¶
func (l *LighthouseValidatorClient) Start(ctx *cli.Context, args []string) (err error)
func (*LighthouseValidatorClient) Update ¶
func (l *LighthouseValidatorClient) Update() error
func (*LighthouseValidatorClient) Version ¶ added in v0.22.0
func (l *LighthouseValidatorClient) Version() (version string)
type NethermindClient ¶ added in v0.18.0
type NethermindClient struct {
// contains filtered or unexported fields
}
func NewNethermindClient ¶ added in v0.18.0
func NewNethermindClient() *NethermindClient
func (NethermindClient) CommandName ¶ added in v0.18.0
func (client NethermindClient) CommandName() string
func (*NethermindClient) FilePath ¶ added in v0.18.0
func (n *NethermindClient) FilePath() string
func (*NethermindClient) Install ¶ added in v0.18.0
func (n *NethermindClient) Install(url string, isUpdate bool) (err error)
func (NethermindClient) IsRunning ¶ added in v0.18.0
func (client NethermindClient) IsRunning() bool
func (*NethermindClient) ParseUrl ¶ added in v0.18.0
func (n *NethermindClient) ParseUrl(tag, commitHash string) (url string)
func (NethermindClient) ParseUserFlags ¶ added in v0.18.0
func (*NethermindClient) Peers ¶ added in v0.18.0
func (n *NethermindClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*NethermindClient) PrepareStartFlags ¶ added in v0.18.0
func (n *NethermindClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*NethermindClient) Start ¶ added in v0.18.0
func (n *NethermindClient) Start(ctx *cli.Context, arguments []string) (err error)
func (*NethermindClient) Update ¶ added in v0.18.0
func (n *NethermindClient) Update() (err error)
func (*NethermindClient) Version ¶ added in v0.22.0
func (n *NethermindClient) Version() (version string)
type Nimbus2Client ¶ added in v0.22.0
type Nimbus2Client struct {
// contains filtered or unexported fields
}
func NewNimbus2Client ¶ added in v0.22.0
func NewNimbus2Client() *Nimbus2Client
func (Nimbus2Client) CommandName ¶ added in v0.22.0
func (client Nimbus2Client) CommandName() string
func (*Nimbus2Client) FilePath ¶ added in v0.22.0
func (n *Nimbus2Client) FilePath() string
func (*Nimbus2Client) Install ¶ added in v0.22.0
func (n *Nimbus2Client) Install(url string, isUpdate bool) (err error)
func (*Nimbus2Client) ParseUrl ¶ added in v0.22.0
func (n *Nimbus2Client) ParseUrl(tag, commitHash string) (url string)
func (Nimbus2Client) ParseUserFlags ¶ added in v0.22.0
func (*Nimbus2Client) Peers ¶ added in v0.22.0
func (n *Nimbus2Client) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*Nimbus2Client) PrepareStartFlags ¶ added in v0.22.0
func (n *Nimbus2Client) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*Nimbus2Client) Start ¶ added in v0.22.0
func (n *Nimbus2Client) Start(ctx *cli.Context, arguments []string) (err error)
func (*Nimbus2Client) Update ¶ added in v0.22.0
func (n *Nimbus2Client) Update() (err error)
func (*Nimbus2Client) Version ¶ added in v0.22.0
func (n *Nimbus2Client) Version() (version string)
type Nimbus2ValidatorClient ¶ added in v0.22.0
type Nimbus2ValidatorClient struct {
// contains filtered or unexported fields
}
func NewNimbus2ValidatorClient ¶ added in v0.22.0
func NewNimbus2ValidatorClient() *Nimbus2ValidatorClient
func (Nimbus2ValidatorClient) CommandName ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) CommandName() string
func (*Nimbus2ValidatorClient) Exit ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) Exit(ctx *cli.Context) (err error)
func (Nimbus2ValidatorClient) FilePath ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) FilePath() string
func (*Nimbus2ValidatorClient) Import ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) Import(ctx *cli.Context) (err error)
func (Nimbus2ValidatorClient) IsRunning ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) IsRunning() bool
func (*Nimbus2ValidatorClient) List ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) List(ctx *cli.Context) (err error)
func (Nimbus2ValidatorClient) Name ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) Name() string
func (Nimbus2ValidatorClient) ParseUserFlags ¶ added in v0.22.0
func (*Nimbus2ValidatorClient) PrepareStartFlags ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*Nimbus2ValidatorClient) Start ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) Start(ctx *cli.Context, arguments []string) (err error)
func (Nimbus2ValidatorClient) Stop ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) Stop() (err error)
func (Nimbus2ValidatorClient) Update ¶ added in v0.22.0
func (client Nimbus2ValidatorClient) Update() (err error)
func (*Nimbus2ValidatorClient) Version ¶ added in v0.22.0
func (n *Nimbus2ValidatorClient) Version() (version string)
type PrysmClient ¶
type PrysmClient struct {
// contains filtered or unexported fields
}
func NewPrysmClient ¶
func NewPrysmClient() *PrysmClient
func (PrysmClient) CommandName ¶
func (client PrysmClient) CommandName() string
func (PrysmClient) ParseUserFlags ¶
func (*PrysmClient) Peers ¶ added in v0.12.0
func (p *PrysmClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*PrysmClient) PrepareStartFlags ¶
func (p *PrysmClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*PrysmClient) Version ¶ added in v0.22.0
func (p *PrysmClient) Version() (version string)
type PrysmValidatorClient ¶
type PrysmValidatorClient struct {
// contains filtered or unexported fields
}
func NewPrysmValidatorClient ¶
func NewPrysmValidatorClient() *PrysmValidatorClient
func (PrysmValidatorClient) CommandName ¶
func (client PrysmValidatorClient) CommandName() string
func (*PrysmValidatorClient) Exit ¶ added in v0.7.1
func (p *PrysmValidatorClient) Exit(ctx *cli.Context) (err error)
func (*PrysmValidatorClient) Import ¶
func (p *PrysmValidatorClient) Import(ctx *cli.Context) (err error)
func (*PrysmValidatorClient) List ¶
func (p *PrysmValidatorClient) List(ctx *cli.Context) (err error)
func (PrysmValidatorClient) ParseUserFlags ¶
func (*PrysmValidatorClient) PrepareStartFlags ¶
func (p *PrysmValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*PrysmValidatorClient) Version ¶ added in v0.22.0
func (p *PrysmValidatorClient) Version() (version string)
type TekuClient ¶ added in v0.9.0
type TekuClient struct {
// contains filtered or unexported fields
}
func NewTekuClient ¶ added in v0.9.0
func NewTekuClient() *TekuClient
func (TekuClient) CommandName ¶ added in v0.9.0
func (client TekuClient) CommandName() string
func (*TekuClient) FilePath ¶ added in v0.9.0
func (t *TekuClient) FilePath() string
func (*TekuClient) Install ¶ added in v0.9.0
func (t *TekuClient) Install(url string, isUpdate bool) (err error)
func (TekuClient) ParseUserFlags ¶ added in v0.9.0
func (*TekuClient) Peers ¶ added in v0.12.0
func (t *TekuClient) Peers(ctx *cli.Context) (outbound, inbound int, err error)
func (*TekuClient) PrepareStartFlags ¶ added in v0.9.0
func (t *TekuClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*TekuClient) Start ¶ added in v0.9.0
func (t *TekuClient) Start(ctx *cli.Context, arguments []string) (err error)
func (*TekuClient) Update ¶ added in v0.9.0
func (t *TekuClient) Update() (err error)
func (*TekuClient) Version ¶ added in v0.22.0
func (t *TekuClient) Version() (version string)
type TekuValidatorClient ¶ added in v0.9.0
type TekuValidatorClient struct {
// contains filtered or unexported fields
}
func NewTekuValidatorClient ¶ added in v0.9.0
func NewTekuValidatorClient() *TekuValidatorClient
func (TekuValidatorClient) CommandName ¶ added in v0.9.0
func (client TekuValidatorClient) CommandName() string
func (*TekuValidatorClient) Exit ¶ added in v0.9.0
func (t *TekuValidatorClient) Exit(ctx *cli.Context) (err error)
func (TekuValidatorClient) FilePath ¶ added in v0.9.0
func (client TekuValidatorClient) FilePath() string
func (*TekuValidatorClient) Import ¶ added in v0.9.0
func (t *TekuValidatorClient) Import(ctx *cli.Context) (err error)
func (TekuValidatorClient) IsRunning ¶ added in v0.9.0
func (client TekuValidatorClient) IsRunning() bool
func (*TekuValidatorClient) List ¶ added in v0.9.0
func (t *TekuValidatorClient) List(ctx *cli.Context) (err error)
func (TekuValidatorClient) ParseUserFlags ¶ added in v0.9.0
func (*TekuValidatorClient) PrepareStartFlags ¶ added in v0.9.0
func (t *TekuValidatorClient) PrepareStartFlags(ctx *cli.Context) (startFlags []string, err error)
func (*TekuValidatorClient) Start ¶ added in v0.9.0
func (t *TekuValidatorClient) Start(ctx *cli.Context, arguments []string) (err error)
func (TekuValidatorClient) Stop ¶ added in v0.9.0
func (client TekuValidatorClient) Stop() (err error)
func (TekuValidatorClient) Update ¶ added in v0.9.0
func (client TekuValidatorClient) Update() (err error)
func (*TekuValidatorClient) Version ¶ added in v0.22.0
func (t *TekuValidatorClient) Version() (version string)
Click to show internal directories.
Click to hide internal directories.