Documentation ¶
Index ¶
- func DockerImage(component, dockerOrg, dockerTag, componentImage string) string
- type Network
- func (n Network) ExtendConfigurationFiles(env string) error
- func (n Network) GenerateConfigurationFiles(upgrade bool) error
- func (n Network) GenerateCryptoCerts(config networkspec.Config, cryptoAction string) error
- func (n Network) GenerateGenesisBlock(config networkspec.Config) error
- func (n Network) GenerateNetworkArtifacts(config networkspec.Config) error
- func (n Network) GetConfigData(networkSpecPath string) (networkspec.Config, error)
- func (n Network) NetworkCleanUp(config networkspec.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerImage ¶
DockerImage --
Types ¶
type Network ¶
type Network struct {
TemplatesDir string
}
func (Network) ExtendConfigurationFiles ¶
ExtendConfigurationFiles - to extend all the configuration files
func (Network) GenerateConfigurationFiles ¶
GenerateConfigurationFiles - to generate all the configuration files
func (Network) GenerateCryptoCerts ¶
func (n Network) GenerateCryptoCerts(config networkspec.Config, cryptoAction string) 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
Click to show internal directories.
Click to hide internal directories.