nl

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	TemplatesDir string
}

func (Network) GenerateConfigurationFiles

func (n Network) GenerateConfigurationFiles() error

GenerateConfigurationFiles - to generate all the configuration files

func (Network) GenerateCryptoCerts

func (n Network) GenerateCryptoCerts(config networkspec.Config) error

GenerateCryptoCerts - to generate the crypto certs

func (Network) GenerateGenesisBlock

func (n Network) GenerateGenesisBlock(config networkspec.Config) error

GenerateGenesisBlock - to generate a genesis block and to create channel transactions

func (Network) GenerateNetworkArtifacts

func (n Network) GenerateNetworkArtifacts(config networkspec.Config) error

func (Network) GetConfigData

func (n Network) GetConfigData(networkSpecPath string) (networkspec.Config, error)

GetConfigData - to read the yaml file and parse the data

func (Network) NetworkCleanUp

func (n Network) NetworkCleanUp(config networkspec.Config) error

NetworkCleanUp - to clean up the network

Jump to

Keyboard shortcuts

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