Documentation
¶
Index ¶
- func CreateConfigTxYaml() error
- func ExecuteCommand(name string, args []string, printLogs bool) (string, error)
- func ExecuteK8sCommand(args []string, printLogs bool) (string, error)
- func GenerateChannelTransaction(config networkspec.Config, configtxPath string) error
- func MigrateToRaft(config networkspec.Config, kubeConfigPath string) error
- type Configtxgen
- type Cryptogen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigTxYaml ¶
func CreateConfigTxYaml() error
CreateConfigTxYaml - to check if the configtx.yaml exists and generates one if not exists
func ExecuteCommand ¶
ExecuteCommand - to execute the cli commands
func ExecuteK8sCommand ¶
ExecuteK8sCommand - to execute the k8s commands
func GenerateChannelTransaction ¶
func GenerateChannelTransaction(config networkspec.Config, configtxPath string) error
GenerateChannelTransaction - to generate channel transactions
func MigrateToRaft ¶
func MigrateToRaft(config networkspec.Config, kubeConfigPath string) error
MigrateToRaft - to migrate from solo or kafka to raft
Types ¶
type Configtxgen ¶
func (Configtxgen) AnchorPeersUpdateTxArgs ¶
func (cfg Configtxgen) AnchorPeersUpdateTxArgs(channelName, orgName string) []string
func (Configtxgen) Args ¶
func (cfg Configtxgen) Args() []string
func (Configtxgen) ChanTxArgs ¶
func (cfg Configtxgen) ChanTxArgs(channelName string) []string
Click to show internal directories.
Click to hide internal directories.