package
2.1.1+incompatible
Repository: https://github.com/xiaqingdoc/fabric.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# Functions

ApproveForMyOrgCmd returns the cobra command for chaincode ApproveForMyOrg.
CheckCommitReadinessCmd returns the cobra command for the CheckCommitReadiness lifecycle operation.
Cmd returns the cobra command for Chaincode.
CommitCmd returns the cobra command for chaincode Commit.
GetInstalledPackageCmd returns the cobra command for getting an installed chaincode package from a peer.
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

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.
CommitReadinessChecker holds the dependencies needed to check whether a chaincode definition is ready to be committed on a channel (i.e.
CommitReadinessCheckInput holds all of the input parameters for checking whether a chaincode definition is ready to be committed ValidationParameter bytes is the (marshalled) endorsement policy when using the default endorsement and validation plugins.
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.
GetInstalledPackageInput holds all of the input parameters for getting an installed chaincode package from a peer.
InstalledPackageGetter holds the dependencies needed to retrieve an installed chaincode package from a peer.
InstalledQuerier holds the dependencies needed to query the installed chaincodes.
No description provided by the author
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.

# Interfaces

No description provided by the author
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.