Documentation
¶
Index ¶
- Constants
- type AssetsConfig
- type AutoInstallConfig
- type BinaryConfig
- type DataNodeConfig
- type RPCConfig
- type RunConfig
- type VegaConfig
- type VisorConfig
- func (pc *VisorConfig) AutoInstall() AutoInstallConfig
- func (pc *VisorConfig) CurrentFolder() string
- func (pc *VisorConfig) CurrentRunConfigPath() string
- func (pc *VisorConfig) GenesisFolder() string
- func (pc *VisorConfig) MaxNumberOfFirstConnectionRetries() int
- func (pc *VisorConfig) MaxNumberOfRestarts() int
- func (pc *VisorConfig) RestartsDelaySeconds() int
- func (pc *VisorConfig) StopDelaySeconds() int
- func (pc *VisorConfig) StopSignalTimeoutSeconds() int
- func (pc *VisorConfig) UpgradeFolder(releaseTag string) string
- func (pc *VisorConfig) WatchForUpdate(ctx context.Context) error
- func (pc *VisorConfig) WriteToFile() error
- type VisorConfigFile
Constants ¶
View Source
const ( RunConfigFileName = "run-config.toml" VegaBinaryName = "vega" DataNodeBinaryName = "data-node" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetsConfig ¶
type AssetsConfig struct {
// description: Name of the asset file on Github.
Name string `toml:"name"`
/*
description: |
Name of the binary if the asset is a zip file and the binary is included inside of it.
*/
BinaryName *string `toml:"binaryName"`
}
description: Defines the name of the asset to be downloaded.
func (AssetsConfig) GetBinaryPath ¶ added in v0.71.0
func (a AssetsConfig) GetBinaryPath() string