Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Constants
- type Avalanche
- func (app *Avalanche) CopyGenesisFile(inputFilename string, subnetName string) error
- func (app *Avalanche) CopyKeyFile(inputFilename string, keyName string) error
- func (app *Avalanche) CopyVMBinary(inputFilename string, subnetName string) error
- func (app *Avalanche) CreateSidecar(sc *models.Sidecar) error
- func (app *Avalanche) GenesisExists(subnetName string) bool
- func (app *Avalanche) GetAPMBaseDir() string
- func (app *Avalanche) GetAPMLog() string
- func (app *Avalanche) GetAPMPluginDir() string
- func (app *Avalanche) GetAPMVMPath(vmid string) string
- func (app *Avalanche) GetAvalanchegoBinDir() string
- func (app *Avalanche) GetBaseDir() string
- func (app *Avalanche) GetCustomVMDir() string
- func (app *Avalanche) GetCustomVMPath(subnetName string) string
- func (app *Avalanche) GetGenesisPath(subnetName string) string
- func (app *Avalanche) GetKeyDir() string
- func (app *Avalanche) GetKeyPath(keyName string) string
- func (app *Avalanche) GetReposDir() string
- func (app *Avalanche) GetRunDir() string
- func (app *Avalanche) GetRunFile() string
- func (app *Avalanche) GetSidecarNames() ([]string, error)
- func (app *Avalanche) GetSidecarPath(subnetName string) string
- func (app *Avalanche) GetSnapshotsDir() string
- func (app *Avalanche) GetSpacesVMBinDir() string
- func (app *Avalanche) GetSubnetEVMBinDir() string
- func (app *Avalanche) GetTmpPluginDir() string
- func (app *Avalanche) GetTokenName(subnetName string) string
- func (app *Avalanche) KeyExists(keyName string) bool
- func (app *Avalanche) LoadEvmGenesis(subnetName string) (core.Genesis, error)
- func (app *Avalanche) LoadRawGenesis(subnetName string) ([]byte, error)
- func (app *Avalanche) LoadSidecar(subnetName string) (models.Sidecar, error)
- func (app *Avalanche) Setup(baseDir string, log logging.Logger, conf *config.Config, ...)
- func (app *Avalanche) SubnetEvmChainIDExists(chainID string) (bool, error)
- func (app *Avalanche) UpdateSidecar(sc *models.Sidecar) error
- func (app *Avalanche) WriteGenesisFile(subnetName string, genesisBytes []byte) error
Constants ¶
View Source
const (
WriteReadReadPerms = 0o644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Avalanche ¶
type Avalanche struct { Log logging.Logger Conf *config.Config Prompt prompts.Prompter Apm *apm.APM ApmDir string // contains filtered or unexported fields }
func (*Avalanche) CopyGenesisFile ¶
func (*Avalanche) CopyKeyFile ¶ added in v0.2.0
func (*Avalanche) CopyVMBinary ¶ added in v0.2.1
func (*Avalanche) GenesisExists ¶
func (*Avalanche) GetAPMBaseDir ¶ added in v0.2.3
func (*Avalanche) GetAPMPluginDir ¶ added in v0.2.3
func (*Avalanche) GetAPMVMPath ¶ added in v0.2.3
func (*Avalanche) GetAvalanchegoBinDir ¶ added in v0.2.2
func (*Avalanche) GetBaseDir ¶
func (*Avalanche) GetCustomVMDir ¶ added in v0.2.1
func (*Avalanche) GetCustomVMPath ¶ added in v0.2.1
func (*Avalanche) GetGenesisPath ¶
func (*Avalanche) GetKeyPath ¶ added in v0.2.0
func (*Avalanche) GetReposDir ¶ added in v0.2.3
func (*Avalanche) GetRunFile ¶
func (*Avalanche) GetSidecarNames ¶ added in v0.2.0
func (*Avalanche) GetSidecarPath ¶
func (*Avalanche) GetSnapshotsDir ¶
func (*Avalanche) GetSpacesVMBinDir ¶ added in v0.2.3
func (*Avalanche) GetSubnetEVMBinDir ¶ added in v0.2.2
func (*Avalanche) GetTmpPluginDir ¶ added in v0.2.0
func (*Avalanche) GetTokenName ¶
func (*Avalanche) LoadEvmGenesis ¶
func (*Avalanche) LoadRawGenesis ¶ added in v0.2.0
func (*Avalanche) LoadSidecar ¶
func (*Avalanche) SubnetEvmChainIDExists ¶ added in v0.2.3
func (*Avalanche) UpdateSidecar ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.