mgmt

package
v0.0.0-...-579b097 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeserializers

func GetDeserializers() map[string]msp.IdentityDeserializer

GetManagers returns all the managers registered

func GetIdentityDeserializer

func GetIdentityDeserializer(chainID string, cryptoProvider bccsp.BCCSP) msp.IdentityDeserializer

GetIdentityDeserializer returns the IdentityDeserializer for the given chain

func GetLocalMSP

func GetLocalMSP(cryptoProvider bccsp.BCCSP) msp.MSP

GetLocalMSP returns the local msp (and creates it if it doesn't exist)

func GetManagerForChain

func GetManagerForChain(chainID string) msp.MSPManager

GetManagerForChain returns the msp manager for the supplied chain; if no such manager exists, one is created

func XXXSetMSPManager

func XXXSetMSPManager(chainID string, manager msp.MSPManager)

XXXSetMSPManager is a stopgap solution to transition from the custom MSP config block parsing to the channelconfig.Resources interface, while preserving the problematic singleton nature of the MSP manager

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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