Documentation ¶
Index ¶
- func CheckNetworkInSync(config networkspec.Config, kubeConfigPath string) error
- 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
- func UpdateCapability(config networkspec.Config, kubeConfigPath string) error
- func UpdatePolicy(config networkspec.Config, kubeConfigPath string) error
- func UpgradeDB(config networkspec.Config, kubeConfigPath string) error
- type Cryptogen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNetworkInSync ¶
func CheckNetworkInSync(config networkspec.Config, kubeConfigPath string) error
CheckNetworkInSync - to check whether the network is synced based on block height
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
func UpdateCapability ¶
func UpdateCapability(config networkspec.Config, kubeConfigPath string) error
UpdateCapability - to update capability
func UpdatePolicy ¶
func UpdatePolicy(config networkspec.Config, kubeConfigPath string) error
UpdatePolicy - to update policy
Types ¶
Click to show internal directories.
Click to hide internal directories.