Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Constants
- func ApplyUpgradeLocal(subnetName string) (string, error)
- func CleanNetwork()
- func CleanNetworkHard()
- func ConfigureChainConfig(subnetName string, genesisPath string)
- func ConfigurePerNodeChainConfig(subnetName string, perNodeChainConfigPath string)
- func CreateCustomVMConfig(subnetName string, genesisPath string, vmPath string)
- func CreateKey(keyName string) (string, error)
- func CreateKeyForce(keyName string) (string, error)
- func CreateKeyFromPath(keyName string, keyPath string) (string, error)
- func CreateSpacesVMConfig(subnetName string, genesisPath string)
- func CreateSpacesVMConfigWithVersion(subnetName string, genesisPath string, version string)
- func CreateSubnetEvmConfig(subnetName string, genesisPath string)
- func CreateSubnetEvmConfigWithVersion(subnetName string, genesisPath string, version string)
- func DeleteKey(keyName string) (string, error)
- func DeleteSubnetConfig(subnetName string)
- func DeploySubnetLocally(subnetName string) string
- func DeploySubnetLocallyExpectError(subnetName string)
- func DeploySubnetLocallyWithArgs(subnetName string, version string, confPath string) string
- func DeploySubnetLocallyWithArgsExpectError(subnetName string, version string, confPath string)
- func DeploySubnetLocallyWithVersion(subnetName string, version string) string
- func DeploySubnetLocallyWithViperConf(subnetName string, confPath string) string
- func DescribeSubnet(subnetName string) (string, error)
- func ExportKey(keyName string) (string, error)
- func ExportKeyToFile(keyName string, outputPath string) (string, error)
- func GetVersion() string
- func ImportSubnetConfig(repoAlias string, subnetName string)
- func ImportSubnetConfigFromURL(repoURL string, branch string, subnetName string)
- func ImportUpgradeBytes(subnetName, filepath string) (string, error)
- func ListKeys() (string, error)
- func SimulateFujiAddValidator(subnetName string, key string, nodeID string, start string, period string, ...) string
- func SimulateFujiDeploy(subnetName string, key string, controlKeys string) string
- func SimulateFujiJoin(subnetName string, avalanchegoConfig string, pluginDir string, nodeID string) string
- func SimulateGetSubnetStatsFuji(subnetName, subnetID string) string
- func SimulateMainnetAddValidator(subnetName string, nodeID string, start string, period string, weight string) string
- func SimulateMainnetDeploy(subnetName string) string
- func SimulateMainnetJoin(subnetName string, avalanchegoConfig string, pluginDir string, nodeID string) string
- func StartNetwork() string
- func StartNetworkWithVersion(version string) string
- func StopNetwork()
- func UpgradeCustomVM(subnetName string, binaryPath string) (string, error)
- func UpgradeVMConfig(subnetName string, targetVersion string) (string, error)
- func UpgradeVMPublic(subnetName string, targetVersion string, pluginDir string) (string, error)
Constants ¶
View Source
const ( CLIBinary = "./bin/dijets" SubnetCmd = "subnet" NetworkCmd = "network" KeyCmd = "key" UpgradeCmd = "upgrade" )
Variables ¶
This section is empty.
Functions ¶
func ApplyUpgradeLocal ¶
func ConfigureChainConfig ¶
#nosec G204
func ConfigurePerNodeChainConfig ¶
#nosec G204
func CreateCustomVMConfig ¶
#nosec G204
func CreateKeyFromPath ¶
#nosec G204
func CreateSpacesVMConfig ¶
#nosec G204
func CreateSpacesVMConfigWithVersion ¶
#nosec G204
func CreateSubnetEvmConfig ¶
#nosec G204
func CreateSubnetEvmConfigWithVersion ¶
#nosec G204
func DeploySubnetLocallyExpectError ¶
func DeploySubnetLocallyExpectError(subnetName string)
#nosec G204
func DeploySubnetLocallyWithArgsExpectError ¶
#nosec G204
func ExportKeyToFile ¶
#nosec G204
func GetVersion ¶
func GetVersion() string
func ImportSubnetConfigFromURL ¶
#nosec G204
func ImportUpgradeBytes ¶
func SimulateFujiAddValidator ¶
func SimulateFujiAddValidator( subnetName string, key string, nodeID string, start string, period string, weight string, ) string
simulates fuji add validator execution path on a local network
func SimulateFujiDeploy ¶
simulates fuji deploy execution path on a local network
func SimulateFujiJoin ¶
func SimulateFujiJoin( subnetName string, avalanchegoConfig string, pluginDir string, nodeID string, ) string
simulates fuji join execution path on a local network
func SimulateMainnetAddValidator ¶
func SimulateMainnetAddValidator( subnetName string, nodeID string, start string, period string, weight string, ) string
simulates mainnet add validator execution path on a local network
func SimulateMainnetDeploy ¶
simulates mainnet deploy execution path on a local network
func SimulateMainnetJoin ¶
func SimulateMainnetJoin( subnetName string, avalanchegoConfig string, pluginDir string, nodeID string, ) string
simulates mainnet join execution path on a local network
func UpgradeCustomVM ¶
#nosec G204
func UpgradeVMConfig ¶
#nosec G204
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.