Documentation
¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved See the file LICENSE for licensing terms.
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func DeployAndFundRelayer(app *application.Avalanche, teleporterVersion string, network models.Network, ...) (bool, string, string, error)
- func DeployRelayer(binDir string, configPath string, logFilePath string, runFilePath string, ...) error
- func FundRelayer(rpcURL string, prefundedPrivateKey string, teleporterRelayerAddress string) error
- func GetRelayerKeyInfo(keyPath string) (string, string, error)
- func GetURIHostAndPort(uri string) (string, uint32, error)
- func InstallRelayer(binDir string) (string, error)
- func RelayerCleanup(runFilePath string, storageDir string) error
- func RelayerIsUp(runFilePath string) (bool, int, *os.Process, error)
- func SetProposerVM(app *application.Avalanche, network models.Network, blockchainID string, ...) error
- func UpdateRelayerConfig(relayerConfigPath string, relayerStorageDir string, relayerAddress string, ...) error
- type Deployer
- func (t *Deployer) Deploy(teleporterInstallDir string, version string, subnetName string, rpcURL string, ...) (bool, string, string, error)
- func (t *Deployer) DeployMessenger(teleporterInstallDir string, version string, subnetName string, rpcURL string, ...) (bool, string, error)
- func (t *Deployer) DeployRegistry(teleporterInstallDir string, version string, subnetName string, rpcURL string, ...) (string, error)
- func (t *Deployer) DownloadAssets(teleporterInstallDir string, version string) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeployAndFundRelayer ¶ added in v1.5.0
func DeployRelayer ¶
func FundRelayer ¶
func GetURIHostAndPort ¶ added in v1.5.0
Get the host and port from a URI. The URI should be in the format http://host:port or https://host:port or host:port
func InstallRelayer ¶ added in v1.5.0
func RelayerCleanup ¶
func RelayerIsUp ¶ added in v1.5.0
func SetProposerVM ¶ added in v1.5.0
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func (*Deployer) DeployMessenger ¶
func (*Deployer) DeployRegistry ¶
Click to show internal directories.
Click to hide internal directories.