Documentation ¶
Index ¶
- Constants
- type Configtxgen
- type CouchDB
- type Cryptogen
- type Idemixgen
- type Kafka
- type NameFunc
- type Orderer
- type Peer
- func (p *Peer) ChaincodeListInstalled() *ginkgomon.Runner
- func (p *Peer) ChaincodeListInstantiated(channel string) *ginkgomon.Runner
- func (p *Peer) CreateChannel(channel string, filename string, orderer string) *ginkgomon.Runner
- func (p *Peer) FetchChannel(channel string, filename string, block string, orderer string) *ginkgomon.Runner
- func (p *Peer) GetChannelInfo(channel string) *ginkgomon.Runner
- func (p *Peer) InstallChaincode(name, version, path string)
- func (p *Peer) InstantiateChaincode(name, version, orderer, channel, args, policy string)
- func (p *Peer) InvokeChaincode(name string, channel string, args string, orderer string, extraArgs ...string) *ginkgomon.Runner
- func (p *Peer) JoinChannel(transactionFile string) *ginkgomon.Runner
- func (p *Peer) NodeStart(index int) *ginkgomon.Runner
- func (p *Peer) QueryChaincode(name string, channel string, args string) *ginkgomon.Runner
- func (p *Peer) SetLogLevel(moduleRegExp string, level string) *ginkgomon.Runner
- func (p *Peer) SignConfigTx(transactionFile string) *ginkgomon.Runner
- func (p *Peer) UpdateChannel(transactionFile string, channel string, orderer string) *ginkgomon.Runner
- type ZooKeeper
Constants ¶
View Source
const CouchDBDefaultImage = "couchdb:2.3"
View Source
const DefaultStartTimeout = 45 * time.Second
View Source
const KafkaDefaultImage = "mcc-github/blockchain-kafka:latest"
View Source
const ZooKeeperDefaultImage = "mcc-github/blockchain-zookeeper:latest"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configtxgen ¶
type Configtxgen struct { Path string ChannelID string Profile string AsOrg string ConfigDir string EnvConfigDir string Output string }
func (*Configtxgen) OutputAnchorPeersUpdate ¶
func (c *Configtxgen) OutputAnchorPeersUpdate(extraArgs ...string) *ginkgomon.Runner
func (*Configtxgen) OutputBlock ¶
func (c *Configtxgen) OutputBlock(extraArgs ...string) *ginkgomon.Runner
func (*Configtxgen) OutputCreateChannelTx ¶
func (c *Configtxgen) OutputCreateChannelTx(extraArgs ...string) *ginkgomon.Runner
type CouchDB ¶
type CouchDB struct { Client *docker.Client Image string HostIP string HostPort int ContainerPort docker.Port Name string StartTimeout time.Duration ErrorStream io.Writer OutputStream io.Writer // contains filtered or unexported fields }
func (*CouchDB) ContainerAddress ¶
func (*CouchDB) ContainerID ¶
func (*CouchDB) HostAddress ¶
type Idemixgen ¶
type Kafka ¶
type Kafka struct { Client *docker.Client Image string HostIP string HostPort int ContainerPort docker.Port Name string NetworkName string StartTimeout time.Duration MessageMaxBytes int ReplicaFetchMaxBytes int UncleanLeaderElectionEnable bool DefaultReplicationFactor int MinInsyncReplicas int BrokerID int ZooKeeperConnect string ReplicaFetchResponseMaxBytes int AdvertisedListeners string ErrorStream io.Writer OutputStream io.Writer ContainerID string HostAddress string ContainerAddress string Address string // contains filtered or unexported fields }
type Orderer ¶
type Peer ¶
type Peer struct { Path string GoPath string ExecPath string ConfigDir string MSPConfigPath string LogLevel string }
func (*Peer) ChaincodeListInstalled ¶
func (*Peer) ChaincodeListInstantiated ¶
func (*Peer) CreateChannel ¶
func (*Peer) FetchChannel ¶
func (*Peer) InstallChaincode ¶
func (*Peer) InstantiateChaincode ¶
func (*Peer) InvokeChaincode ¶
func (*Peer) QueryChaincode ¶
func (*Peer) SetLogLevel ¶
type ZooKeeper ¶
type ZooKeeper struct { Client *docker.Client Image string HostIP string HostPort []int ContainerPorts []docker.Port Name string StartTimeout time.Duration NetworkName string ClientPort docker.Port LeaderPort docker.Port PeerPort docker.Port ZooMyID int ZooServers string ErrorStream io.Writer OutputStream io.Writer // contains filtered or unexported fields }
func (*ZooKeeper) ContainerAddress ¶
func (*ZooKeeper) ContainerID ¶
Click to show internal directories.
Click to hide internal directories.