client

package
v0.0.0-...-25f9ec5 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(orgAdmin, newChannelID, channelConfigPath, configPath, ordererUrl, orderer string) error

func CreateDSClientCtx

func CreateDSClientCtx(configPath string, org, adminUser string) *dsClientCtx

func E2eModifyChannel

func E2eModifyChannel(channelID string, configPath string, orderer, ordererName, txPath string) error

func GetConfigUpdate

func GetConfigUpdate(ctx *dsClientCtx, ordererName, channelID string, proposedConfigJSONByte string) (*common.ConfigUpdate, error)

func GetCurrentChannelConfig

func GetCurrentChannelConfig(ctx *dsClientCtx, ordererName, channelID string) (*common.Config, error)

func IsJoin

func IsJoin(channelID, configPath, orgName, peer string)

func JoinChannel

func JoinChannel(newChannelID, orderer, orgName, configPath string)

func SignConfigUpdate

func SignConfigUpdate(ctx *dsClientCtx, orderer, channelID string, proposedConfigJSON string) (*common.ConfigSignature, error)

func Update

func Update(configPath string, org, ordererName, output, channelID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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