networksavalanche

package
v0.0.0-...-91837a0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvalancheNetwork

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

func Cast

func Cast(network networks.Network) *AvalancheNetwork

func NewAvalancheNetwork

func NewAvalancheNetwork(networkCtx *networks.NetworkContext, apiServiceImage string) *AvalancheNetwork

func (*AvalancheNetwork) CreateNode

func (network *AvalancheNetwork) CreateNode(definedNetwork *networkbuilder.Network, node *networkbuilder.Node) (services.ServiceID, error)

func (*AvalancheNetwork) CreateNodeNoCheck

func (network *AvalancheNetwork) CreateNodeNoCheck(definedNetwork *networkbuilder.Network, node *networkbuilder.Node) (services.ServiceID, *services.DefaultAvailabilityChecker, error)

func (*AvalancheNetwork) GetClient

func (network *AvalancheNetwork) GetClient() string

func (*AvalancheNetwork) GetIPAddress

func (network *AvalancheNetwork) GetIPAddress(nodeID string) (string, error)

func (*AvalancheNetwork) GetNodeClient

func (network *AvalancheNetwork) GetNodeClient(nodeID string) (*avalanchegoclient.Client, error)

func (*AvalancheNetwork) RemoveNode

func (network *AvalancheNetwork) RemoveNode(definedNetwork *networkbuilder.Network, node *networkbuilder.Node) error

Jump to

Keyboard shortcuts

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