Documentation ¶
Index ¶
- type ConnProfile
- func (c ConnProfile) GenerateConnProfilePerOrg(orgName string) error
- func (c ConnProfile) GetCertificateFromFile(certPath string) (string, error)
- func (c ConnProfile) Organization(peerorg networkspec.PeerOrganizations, caList []string) (networkspec.Organization, error)
- func (c ConnProfile) UpdateConnectionProfiles(configObjects []interface{}, organizations []inputStructs.Organization, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnProfile ¶
type ConnProfile struct { Peers map[string]networkspec.Peer Orderers map[string]networkspec.Orderer CA map[string]networkspec.CertificateAuthority Organizations map[string]networkspec.Organization Config networkspec.Config }
func (ConnProfile) GenerateConnProfilePerOrg ¶
func (c ConnProfile) GenerateConnProfilePerOrg(orgName string) error
func (ConnProfile) GetCertificateFromFile ¶
func (c ConnProfile) GetCertificateFromFile(certPath string) (string, error)
GetCertificateFromFile -- to get the certificate data from the file
func (ConnProfile) Organization ¶
func (c ConnProfile) Organization(peerorg networkspec.PeerOrganizations, caList []string) (networkspec.Organization, error)
func (ConnProfile) UpdateConnectionProfiles ¶
func (c ConnProfile) UpdateConnectionProfiles(configObjects []interface{}, organizations []inputStructs.Organization, action string) error
UpdateConnectionProfiles -- To update connection profiles
Click to show internal directories.
Click to hide internal directories.