Documentation ¶
Index ¶
- func GenerateDockerServiceDefinitions(s *types.Stack) []*docker.ServiceDefinition
- func WriteCryptogenConfig(memberCount int, path string) error
- func WriteNetworkConfig(outputPath string) error
- type BCCSP
- type BCCSPSecurity
- type CA
- type Channel
- type ChannelPeer
- type Client
- type CredentialStore
- type CryptogenConfig
- type FabricNetworkConfig
- type FabricProvider
- func (p *FabricProvider) DeploySmartContracts() error
- func (p *FabricProvider) FirstTimeSetup() error
- func (p *FabricProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition
- func (p *FabricProvider) GetFireflyConfig(m *types.Member) (blockchainConfig *core.BlockchainConfig, orgConfig *core.OrgConfig)
- func (p *FabricProvider) PostStart() error
- func (p *FabricProvider) PreStart() error
- func (p *FabricProvider) Reset() error
- func (p *FabricProvider) WriteConfig() error
- type InstalledChaincode
- type Logging
- type NetworkEntity
- type Org
- type Organization
- type Path
- type Provider
- type QueryInstalledResponse
- type Registrar
- type Spec
- type TLSCerts
- type TLSCertsClient
- type Template
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDockerServiceDefinitions ¶
func GenerateDockerServiceDefinitions(s *types.Stack) []*docker.ServiceDefinition
func WriteCryptogenConfig ¶
func WriteNetworkConfig ¶
Types ¶
type BCCSP ¶
type BCCSP struct {
Security *BCCSPSecurity `yaml:"security,omitempty"`
}
type BCCSPSecurity ¶
type Channel ¶
type Channel struct { Orderers []string `yaml:"orderers,omitempty"` Peers map[string]*ChannelPeer `yaml:"peers,omitempty"` }
type ChannelPeer ¶
type Client ¶
type Client struct { BCCSP *BCCSP `yaml:"BCCSP,omitempty"` CredentialStore *CredentialStore `yaml:"credentialStore"` CryptoConfig *Path `yaml:"cryptoconfig,omitempty"` Logging *Logging `yaml:"logging,omitempty"` Organization string `yaml:"organization,omitempty"` TLSCerts *TLSCerts `yaml:"tlsCerts,omitempty"` }
type CredentialStore ¶
type CryptogenConfig ¶
type FabricNetworkConfig ¶
type FabricNetworkConfig struct { CertificateAuthorities map[string]*NetworkEntity `yaml:"certificateAuthorities,omitempty"` Channels map[string]*Channel `yaml:"channels,omitempty"` Client *Client `yaml:"client,omitempty"` Organization string `yaml:"organization,omitempty"` Orderers map[string]*NetworkEntity `yaml:"orderers,omitempty"` Organizations map[string]*Organization `yaml:"organizations,omitempty"` Peers map[string]*NetworkEntity `yaml:"peers,omitempty"` Version string `yaml:"version,omitempty"` }
type FabricProvider ¶
func (*FabricProvider) DeploySmartContracts ¶
func (p *FabricProvider) DeploySmartContracts() error
func (*FabricProvider) FirstTimeSetup ¶
func (p *FabricProvider) FirstTimeSetup() error
func (*FabricProvider) GetDockerServiceDefinitions ¶
func (p *FabricProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition
func (*FabricProvider) GetFireflyConfig ¶
func (p *FabricProvider) GetFireflyConfig(m *types.Member) (blockchainConfig *core.BlockchainConfig, orgConfig *core.OrgConfig)
func (*FabricProvider) PostStart ¶
func (p *FabricProvider) PostStart() error
func (*FabricProvider) PreStart ¶
func (p *FabricProvider) PreStart() error
func (*FabricProvider) Reset ¶
func (p *FabricProvider) Reset() error
func (*FabricProvider) WriteConfig ¶
func (p *FabricProvider) WriteConfig() error
type InstalledChaincode ¶
type NetworkEntity ¶
type Organization ¶
type QueryInstalledResponse ¶
type QueryInstalledResponse struct {
InstalledChaincodes []*InstalledChaincode `json:"installed_chaincodes"`
}
type TLSCerts ¶
type TLSCerts struct {
Client *TLSCertsClient `yaml:"client,omitempty"`
}
type TLSCertsClient ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.