snapshotcompatibility

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VegaSnapshotPath   = filepath.Join("state", "node", "snapshots")
	VegaCoreConfigPath = filepath.Join("config", "node", "config.toml")
	RemoteVegaPath     = "/home/vega/vegavisor_home/current/vega"
)
View Source
var SnapshotCompatibilityCmd = &cobra.Command{
	Use:   "snapshot-compatibility",
	Short: "Set of tools for the compatibility pipeline",
}

Root Command for Spam

Functions

This section is empty.

Types

type CollectSnapshotArgs

type CollectSnapshotArgs struct {
	*SnapshotCompatibilityArgs

	VegacapsuleHome    string
	VegacapsuleBinary  string
	VegaBinary         string
	SnapshotJSONOutput string
}

type DownloadBinaryArgs added in v0.73.9

type DownloadBinaryArgs struct {
	*SnapshotCompatibilityArgs

	Destination      string
	CoreRESTEndpoint string
	Repository       string
}

type DownloadMainnetSnapshotArgs added in v0.73.9

type DownloadMainnetSnapshotArgs struct {
	*SnapshotCompatibilityArgs

	RemoteVegaBinary     string
	TemporaryDestination string

	SnapshotServerHost     string
	SnapshotRemoteLocation string
	SnapshotServerUser     string
	SnapshotServerKeyFile  string
}

func (DownloadMainnetSnapshotArgs) Check added in v0.73.9

func (args DownloadMainnetSnapshotArgs) Check() error

type LoadSnapshotArgs

type LoadSnapshotArgs struct {
	*SnapshotCompatibilityArgs

	VegacapsuleHome   string
	VegacapsuleBinary string
	VegaBinary        string
	SnapshotLocation  string
}

func (LoadSnapshotArgs) Check

func (args LoadSnapshotArgs) Check() error

type ProduceNewSnapshotArgs

type ProduceNewSnapshotArgs struct {
	*SnapshotCompatibilityArgs

	VegacapsuleHome   string
	VegacapsuleBinary string
}

type SnapshotCompatibilityArgs

type SnapshotCompatibilityArgs struct {
	*rootCmd.RootArgs
}

Jump to

Keyboard shortcuts

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