Documentation ¶
Index ¶
- func AutomatedUpgrade(app *application.Avalanche, sc models.Sidecar, targetVersion string, ...) error
- func CreatePlugin(app *application.Avalanche, subnetName string, pluginDir string) (string, error)
- func CreatePluginFromVersion(app *application.Avalanche, subnetName string, vm models.VMType, ...) (string, error)
- func EditConfigFile(app *application.Avalanche, subnetID string, network models.Network, ...) error
- func FindAvagoConfigPath() (string, error)
- func FindPluginDir() (string, error)
- func ManualUpgrade(app *application.Avalanche, sc models.Sidecar, targetVersion string) error
- func SanitizePath(path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutomatedUpgrade ¶
func CreatePlugin ¶
Downloads the subnet's VM (if necessary) and copies it into the plugin directory
func CreatePluginFromVersion ¶
func CreatePluginFromVersion( app *application.Avalanche, subnetName string, vm models.VMType, version string, vmid string, pluginDir string, ) (string, error)
Downloads the target VM (if necessary) and copies it into the plugin directory
func EditConfigFile ¶
func EditConfigFile( app *application.Avalanche, subnetID string, network models.Network, configFile string, forceWrite bool, subnetAvagoConfigFile string, ) error
Edits an Avalanchego config file or creates one if it doesn't exist. Contains prompts unless forceWrite is set to true.
func FindAvagoConfigPath ¶
func FindPluginDir ¶
func ManualUpgrade ¶
func SanitizePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.