membershipmanager

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLocalMembership

func CreateLocalMembership(walletPath, userName, connectionProfilePath, securityDomain, channelId, weaverCCId string, mspIds []string) error

func DeleteLocalMembership

func DeleteLocalMembership(walletPath, userName, connectionProfilePath, channelId, weaverCCId string, mspIds []string) error

func GetAllMSPConfigurations

func GetAllMSPConfigurations(walletPath, userName, connectionProfilePath, channelId string, ordererMspIds []string) (*cactiprotos.Membership, error)

func GetConfigBlockFromChannel

func GetConfigBlockFromChannel(walletPath, userName, connectionProfilePath, channelId string) (*common.Block, error)

func GetMSPConfigurations

func GetMSPConfigurations(walletPath, userName, connectionProfilePath, channelId string, mspIds []string) (*cactiprotos.Membership, error)

func GetMembershipForAllMspIdsFromBlock

func GetMembershipForAllMspIdsFromBlock(block *common.Block, ordererMspIds []string) (*cactiprotos.Membership, error)

func GetMembershipForMspIdFromBlock

func GetMembershipForMspIdFromBlock(block *common.Block, mspId string) (*cactiprotos.Member, error)

func GetMembershipForMspIdsFromBlock

func GetMembershipForMspIdsFromBlock(block *common.Block, mspIds []string) (*cactiprotos.Membership, error)

func GetMembershipUnit

func GetMembershipUnit(walletPath, userName, connectionProfilePath, channelId, mspId string) (*cactiprotos.Member, error)

func ReadMembership

func ReadMembership(walletPath, userName, connectionProfilePath, channelId, weaverCCId, securityDomain string, mspIds []string) (string, error)

func UpdateLocalMembership

func UpdateLocalMembership(walletPath, userName, connectionProfilePath, securityDomain, channelId, weaverCCId string, mspIds []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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