package
2.0.0-alpha+incompatible
Repository: https://github.com/rkcloudchain/fabric.git
Documentation: pkg.go.dev
# Packages
Code generated by counterfeiter.
# Functions
ApproveForMyOrgCmd returns the cobra command for chaincode ApproveForMyOrg.
Cmd returns the cobra command for Chaincode.
CommitCmd returns the cobra command for chaincode Commit.
InstallCmd returns the cobra command for chaincode install.
NewClientConnections creates a new set of client connections based on the input parameters.
PackageCmd returns the cobra command for packaging chaincode.
QueryCommittedCmd returns the cobra command for querying a committed chaincode definition given the chaincode name.
QueryInstalledCmd returns the cobra command for listing the installed chaincodes.
ResetFlags resets the values of these flags to facilitate tests.
# Structs
No description provided by the author
ApproveForMyOrgInput holds all of the input parameters for approving a chaincode definition for an organization.
ApproverForMyOrg holds the dependencies needed to approve a chaincode definition for an organization.
ClientConnections holds the clients for connecting to the various endpoints in a Fabric network.
ClientConnectionsInput holds the input parameters for creating client connections.
CommitInput holds all of the input parameters for committing a chaincode definition.
CommittedQuerier holds the dependencies needed to query the committed chaincode definitions.
No description provided by the author
Committer holds the dependencies needed to commit a chaincode.
InstalledQuerier holds the dependencies needed to query the installed chaincodes.
Installer holds the dependencies needed to install a chaincode.
InstallInput holds the input parameters for installing a chaincode.
PackageInput holds the input parameters for packaging a ChaincodeInstallPackage.
PackageMetadata holds the path and type for a chaincode package.
Packager holds the dependencies needed to package a chaincode and write it.
QueryApprovalStatus holds the dependencies needed to approve a chaincode definition for an organization.
QueryApprovalStatusInput holds all of the input parameters for committing a chaincode definition.
# Interfaces
EndorserClient defines the interface for sending a proposal to an endorser.
PeerDeliverClient defines the interface for a peer deliver client.
PlatformRegistry defines the interface to get the code bytes for a chaincode given the type and path.
Reader defines the interface needed for reading a file.
Signer defines the interface needed for signing messages.
Writer defines the interface needed for writing a file.