networkclient

package
v0.0.0-...-8793a30 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

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

func ExecuteCommand(name string, args []string, printLogs bool) (string, error)

ExecuteCommand - to execute the cli commands

func ExecuteK8sCommand

func ExecuteK8sCommand(args []string, printLogs bool) (string, error)

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

func UpgradeDB

func UpgradeDB(config networkspec.Config, kubeConfigPath string) error

UpgradeDB - to upgrade db

Types

type Cryptogen

type Cryptogen struct {
	ConfigPath string
	Output     string
}

func (Cryptogen) Args

func (c Cryptogen) Args(action string) []string

Jump to

Keyboard shortcuts

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