subnet

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: BSD-3-Clause Imports: 21 Imported by: 2

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer added in v0.1.3

type Deployer struct {
	// contains filtered or unexported fields
}

func NewLocalDeployer added in v0.1.3

func NewLocalDeployer(app *app.Avalanche) *Deployer

func (*Deployer) BackendStartedHere added in v0.1.3

func (d *Deployer) BackendStartedHere() bool

BackendStartedHere returns true if the backend was started by this run, or false if it found it there already

func (*Deployer) DeployToLocalNetwork added in v0.1.3

func (d *Deployer) DeployToLocalNetwork(chain string, chainGenesis string) error

DeployToLocalNetwork does the heavy lifting: * it checks the gRPC is running, if not, it starts it * kicks off the actual deployment

func (*Deployer) WaitForHealthy added in v0.1.3

func (d *Deployer) WaitForHealthy(ctx context.Context, cli client.Client, healthCheckInterval time.Duration) ([]string, error)

WaitForHealthy polls continuously until the network is ready to be used

Jump to

Keyboard shortcuts

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