subnet

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: BSD-3-Clause Imports: 15 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 SubnetDeployer

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

func NewLocalSubnetDeployer

func NewLocalSubnetDeployer(log logging.Logger, baseDir string) *SubnetDeployer

func (*SubnetDeployer) BackendStartedHere

func (d *SubnetDeployer) BackendStartedHere() bool

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

func (*SubnetDeployer) DeployToLocalNetwork

func (d *SubnetDeployer) DeployToLocalNetwork(chain string, chain_genesis string) error

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

func (*SubnetDeployer) WaitForHealthy

func (d *SubnetDeployer) 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