Documentation
      ¶
    
    
  
    
  
    Overview ¶
Copyright IBM Corp All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
 - type Chaincode
 - type Components
 - func (c *Components) Build(args ...string)
 - func (c *Components) Cleanup()
 - func (c *Components) Configtxgen() *runner.Configtxgen
 - func (c *Components) Cryptogen() *runner.Cryptogen
 - func (c *Components) Idemixgen() *runner.Idemixgen
 - func (c *Components) Kafka(id int, network *docker.Network) *runner.Kafka
 - func (c *Components) Orderer() *runner.Orderer
 - func (c *Components) Peer() *runner.Peer
 - func (c *Components) ZooKeeper(id int, network *docker.Network) *runner.ZooKeeper
 
- type Deployment
 - type OrdererConfig
 - type PeerOrgConfig
 - type Profile
 - type Stopper
 - type World
 - func (w *World) BootstrapNetwork(channel string)
 - func (w *World) BuildNetwork()
 - func (w *World) Close(deployments ...Deployment)
 - func (w *World) Construct()
 - func (w *World) CopyPeerConfigs(fixtureDir string)
 - func (w *World) PeerIDs() []string
 - func (w *World) SetupChannel(d Deployment, peers []string)
 - func (w *World) SetupWorld(d Deployment)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var RequiredImages = []string{ "hyperledger/fabric-ccenv:latest", runner.CouchDBDefaultImage, runner.KafkaDefaultImage, runner.ZooKeeperDefaultImage, }
Functions ¶
This section is empty.
Types ¶
type Chaincode ¶
type Components ¶
func (*Components) Build ¶
func (c *Components) Build(args ...string)
func (*Components) Cleanup ¶
func (c *Components) Cleanup()
func (*Components) Configtxgen ¶
func (c *Components) Configtxgen() *runner.Configtxgen
func (*Components) Cryptogen ¶
func (c *Components) Cryptogen() *runner.Cryptogen
func (*Components) Idemixgen ¶
func (c *Components) Idemixgen() *runner.Idemixgen
func (*Components) Kafka ¶
func (*Components) Orderer ¶
func (c *Components) Orderer() *runner.Orderer
func (*Components) Peer ¶
func (c *Components) Peer() *runner.Peer
type Deployment ¶
type OrdererConfig ¶
type PeerOrgConfig ¶
type Profile ¶
type Profile struct {
	Profiles map[string]localconfig.Profile `yaml:"Profiles"`
}
    type World ¶
type World struct {
	Rootpath           string
	Components         *Components
	Network            *docker.Network
	OrdererProfileName string
	ChannelProfileName string
	OrdererOrgs        []OrdererConfig
	PeerOrgs           []PeerOrgConfig
	Profiles           map[string]localconfig.Profile
	Cryptogen          runner.Cryptogen
	Idemixgen          runner.Idemixgen
	SystemChannel      string
	DockerClient  *docker.Client
	LocalStoppers []Stopper
	LocalProcess  []ifrit.Process
}
    func GenerateBasicConfig ¶
func GenerateBasicConfig(ordererType string, numPeers, numPeerOrgs int, testDir string, components *Components) (w *World)
func (*World) Close ¶
func (w *World) Close(deployments ...Deployment)
func (*World) SetupChannel ¶
func (w *World) SetupChannel(d Deployment, peers []string)
func (*World) SetupWorld ¶
func (w *World) SetupWorld(d Deployment)
      
      Source Files
      ¶
    
- components.go
 - config.go
 
 Click to show internal directories. 
   Click to hide internal directories.