Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + func ApproveForMyOrgCmd(a *ApproverForMyOrg, cryptoProvider bccsp.BCCSP) *cobra.Command + func CheckCommitReadinessCmd(c *CommitReadinessChecker, cryptoProvider bccsp.BCCSP) *cobra.Command + func Cmd(cryptoProvider bccsp.BCCSP) *cobra.Command + func CommitCmd(c *Committer, cryptoProvider bccsp.BCCSP) *cobra.Command + func GetInstalledPackageCmd(i *InstalledPackageGetter, cryptoProvider bccsp.BCCSP) *cobra.Command + func InstallCmd(i *Installer, cryptoProvider bccsp.BCCSP) *cobra.Command + func PackageCmd(p *Packager) *cobra.Command + func QueryApprovedCmd(a *ApprovedQuerier, cryptoProvider bccsp.BCCSP) *cobra.Command + func QueryCommittedCmd(c *CommittedQuerier, cryptoProvider bccsp.BCCSP) *cobra.Command + func QueryInstalledCmd(i *InstalledQuerier, cryptoProvider bccsp.BCCSP) *cobra.Command + func ResetFlags() + type ApproveForMyOrgInput struct + ChannelID string + CollectionConfigPackage *pb.CollectionConfigPackage + EndorsementPlugin string + InitRequired bool + Name string + PackageID string + PeerAddresses []string + Sequence int64 + TxID string + ValidationParameterBytes []byte + ValidationPlugin string + Version string + WaitForEvent bool + WaitForEventTimeout time.Duration + func (a *ApproveForMyOrgInput) Validate() error + type ApprovedQuerier struct + Command *cobra.Command + EndorserClient EndorserClient + Input *ApprovedQueryInput + Signer Signer + Writer io.Writer + func (a *ApprovedQuerier) Query() error + type ApprovedQueryInput struct + ChannelID string + Name string + OutputFormat string + Sequence int64 + type ApproverForMyOrg struct + BroadcastClient common.BroadcastClient + Certificate tls.Certificate + Command *cobra.Command + DeliverClients []pb.DeliverClient + EndorserClients []EndorserClient + Input *ApproveForMyOrgInput + Signer Signer + func (a *ApproverForMyOrg) Approve() error + type ChaincodeDefinition interface + GetEndorsementPlugin func() string + GetSequence func() int64 + GetValidationPlugin func() string + GetVersion func() string + type ClientConnections struct + BroadcastClient common.BroadcastClient + Certificate tls.Certificate + CryptoProvider bccsp.BCCSP + DeliverClients []pb.DeliverClient + EndorserClients []pb.EndorserClient + Signer identity.SignerSerializer + func NewClientConnections(input *ClientConnectionsInput, cryptoProvider bccsp.BCCSP) (*ClientConnections, error) + type ClientConnectionsInput struct + ChannelID string + CommandName string + ConnectionProfilePath string + EndorserRequired bool + OrdererRequired bool + OrderingEndpoint string + PeerAddresses []string + TLSEnabled bool + TLSRootCertFiles []string + TargetPeer string + type CommitInput struct + ChannelID string + CollectionConfigPackage *pb.CollectionConfigPackage + EndorsementPlugin string + Hash []byte + InitRequired bool + Name string + PeerAddresses []string + Sequence int64 + TxID string + ValidationParameterBytes []byte + ValidationPlugin string + Version string + WaitForEvent bool + WaitForEventTimeout time.Duration + func (c *CommitInput) Validate() error + type CommitReadinessCheckInput struct + ChannelID string + CollectionConfigPackage *pb.CollectionConfigPackage + EndorsementPlugin string + InitRequired bool + Name string + OutputFormat string + PackageID string + PeerAddresses []string + Sequence int64 + TxID string + ValidationParameterBytes []byte + ValidationPlugin string + Version string + func (c *CommitReadinessCheckInput) Validate() error + type CommitReadinessChecker struct + Command *cobra.Command + EndorserClient pb.EndorserClient + Input *CommitReadinessCheckInput + Signer identity.SignerSerializer + Writer io.Writer + func (c *CommitReadinessChecker) ReadinessCheck() error + type CommittedQuerier struct + Command *cobra.Command + EndorserClient EndorserClient + Input *CommittedQueryInput + Signer Signer + Writer io.Writer + func (c *CommittedQuerier) Query() error + type CommittedQueryInput struct + ChannelID string + Name string + OutputFormat string + type Committer struct + BroadcastClient common.BroadcastClient + Certificate tls.Certificate + Command *cobra.Command + DeliverClients []pb.DeliverClient + EndorserClients []EndorserClient + Input *CommitInput + Signer Signer + func (c *Committer) Commit() error + type EndorserClient interface + ProcessProposal func(ctx context.Context, in *pb.SignedProposal, opts ...grpc.CallOption) (*pb.ProposalResponse, error) + type GetInstalledPackageInput struct + OutputDirectory string + PackageID string + func (i *GetInstalledPackageInput) Validate() error + type InstallInput struct + PackageFile string + func (i *InstallInput) Validate() error + type InstalledPackageGetter struct + Command *cobra.Command + EndorserClient EndorserClient + Input *GetInstalledPackageInput + Signer Signer + Writer Writer + func (i *InstalledPackageGetter) Get() error + type InstalledQuerier struct + Command *cobra.Command + EndorserClient EndorserClient + Input *InstalledQueryInput + Signer Signer + Writer io.Writer + func (i *InstalledQuerier) Query() error + type InstalledQueryInput struct + OutputFormat string + type Installer struct + Command *cobra.Command + EndorserClient EndorserClient + Input *InstallInput + Reader Reader + Signer Signer + func (i *Installer) Install() error + func (i *Installer) InstallChaincode(args []string) error + type PackageInput struct + Label string + OutputFile string + Path string + Type string + func (p *PackageInput) Validate() error + type PackageMetadata struct + Label string + Path string + Type string + type Packager struct + Command *cobra.Command + Input *PackageInput + PlatformRegistry PlatformRegistry + Writer Writer + func (p *Packager) Package() error + func (p *Packager) PackageChaincode(args []string) error + type PeerDeliverClient interface + Deliver func(ctx context.Context, opts ...grpc.CallOption) (pb.Deliver_DeliverClient, error) + DeliverFiltered func(ctx context.Context, opts ...grpc.CallOption) (pb.Deliver_DeliverClient, error) + type PlatformRegistry interface + GetDeploymentPayload func(ccType, path string) ([]byte, error) + NormalizePath func(ccType, path string) (string, error) + type Reader interface + ReadFile func(string) ([]byte, error) + type Signer interface + Serialize func() ([]byte, error) + Sign func(msg []byte) ([]byte, error) + type Writer interface + WriteFile func(string, string, []byte) error Other modules containing this package github.com/waszqt/fabric