plugins

package
v1.22.9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package plugins provides utilities for managing VM plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutomatedUpgrade

func AutomatedUpgrade(app *application.Lux, sc models.Sidecar, targetVersion string, pluginDir string) error

func CreatePlugin

func CreatePlugin(app *application.Lux, chainName string, pluginDir string) (string, error)

Downloads the chain's VM (if necessary) and copies it into the plugin directory

func CreatePluginFromVersion

func CreatePluginFromVersion(
	app *application.Lux,
	chainName 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.Lux,
	chainID string,
	network models.Network,
	configFile string,
	forceWrite bool,
	chainLuxdConfigFile string,
) error

Edits an Luxgo config file or creates one if it doesn't exist. Contains prompts unless forceWrite is set to true.

func FindLuxConfigPath

func FindLuxConfigPath() (string, error)

func FindPluginDir

func FindPluginDir() (string, error)

func ManualUpgrade

func ManualUpgrade(app *application.Lux, sc models.Sidecar, targetVersion string) error

func SanitizePath

func SanitizePath(path string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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