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 ¶
func (*Avalanche) CopyVMBinary ¶
func (*Avalanche) GenesisExists ¶
func (*Avalanche) GetAPMBaseDir ¶
func (*Avalanche) GetAPMPluginDir ¶
func (*Avalanche) GetAPMVMPath ¶
func (*Avalanche) GetAvalanchegoBinDir ¶
func (*Avalanche) GetBaseDir ¶
func (*Avalanche) GetCustomVMDir ¶
func (*Avalanche) GetCustomVMPath ¶
func (*Avalanche) GetGenesisPath ¶
func (*Avalanche) GetKeyPath ¶
func (*Avalanche) GetReposDir ¶
func (*Avalanche) GetRunFile ¶
func (*Avalanche) GetSidecarNames ¶
func (*Avalanche) GetSidecarPath ¶
func (*Avalanche) GetSnapshotsDir ¶
func (*Avalanche) GetSpacesVMBinDir ¶
func (*Avalanche) GetSubnetEVMBinDir ¶
func (*Avalanche) GetTmpPluginDir ¶
func (*Avalanche) GetTokenName ¶
func (*Avalanche) LoadEvmGenesis ¶
func (*Avalanche) LoadRawGenesis ¶
func (*Avalanche) LoadSidecar ¶
func (*Avalanche) SubnetEvmChainIDExists ¶
Click to show internal directories.
Click to hide internal directories.