Documentation ¶
Index ¶
- type CAKeyGen
- type ChaincodeApproveForMyOrg
- type ChaincodeCheckCommitReadiness
- type ChaincodeCommit
- type ChaincodeGetInstalledPackage
- type ChaincodeInstall
- type ChaincodeInstallLegacy
- type ChaincodeInstantiateLegacy
- type ChaincodeInvoke
- type ChaincodeListCommitted
- type ChaincodeListInstalledLegacy
- type ChaincodeListInstantiatedLegacy
- type ChaincodePackage
- type ChaincodePackageLegacy
- type ChaincodeQuery
- type ChaincodeQueryApproved
- type ChaincodeQueryInstalled
- type ChaincodeUpgradeLegacy
- type ChannelCreate
- type ChannelFetch
- type ChannelInfo
- type ChannelJoin
- type ChannelUpdate
- type Config
- type CreateChannelTx
- type Endorsers
- type Extend
- type Generate
- type NodePause
- type NodeReset
- type NodeResume
- type NodeRollback
- type NodeStart
- type OutputAnchorPeersUpdate
- type OutputBlock
- type Peers
- type PrintOrg
- type SignConfigTx
- type SignerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAKeyGen ¶ added in v1.5.6
type CAKeyGen struct {
Output string
}
func (CAKeyGen) SessionName ¶ added in v1.5.6
type ChaincodeApproveForMyOrg ¶ added in v1.5.6
type ChaincodeApproveForMyOrg struct { ChannelID string Orderer string Name string Version string PackageID string Sequence string EndorsementPlugin string ValidationPlugin string SignaturePolicy string ChannelConfigPolicy string InitRequired bool CollectionsConfig string PeerAddresses []string WaitForEvent bool ClientAuth bool }
func (ChaincodeApproveForMyOrg) Args ¶ added in v1.5.6
func (c ChaincodeApproveForMyOrg) Args() []string
func (ChaincodeApproveForMyOrg) SessionName ¶ added in v1.5.6
func (c ChaincodeApproveForMyOrg) SessionName() string
type ChaincodeCheckCommitReadiness ¶ added in v1.5.6
type ChaincodeCheckCommitReadiness struct { ChannelID string Name string Version string Sequence string EndorsementPlugin string ValidationPlugin string SignaturePolicy string ChannelConfigPolicy string InitRequired bool CollectionsConfig string PeerAddresses []string ClientAuth bool }
func (ChaincodeCheckCommitReadiness) Args ¶ added in v1.5.6
func (c ChaincodeCheckCommitReadiness) Args() []string
func (ChaincodeCheckCommitReadiness) SessionName ¶ added in v1.5.6
func (c ChaincodeCheckCommitReadiness) SessionName() string
type ChaincodeCommit ¶ added in v1.5.6
type ChaincodeCommit struct { ChannelID string Orderer string Name string Version string Sequence string EndorsementPlugin string ValidationPlugin string SignaturePolicy string ChannelConfigPolicy string InitRequired bool CollectionsConfig string PeerAddresses []string WaitForEvent bool ClientAuth bool }
func (ChaincodeCommit) Args ¶ added in v1.5.6
func (c ChaincodeCommit) Args() []string
func (ChaincodeCommit) SessionName ¶ added in v1.5.6
func (c ChaincodeCommit) SessionName() string
type ChaincodeGetInstalledPackage ¶ added in v1.5.6
type ChaincodeGetInstalledPackage struct { PackageID string OutputDirectory string ClientAuth bool }
func (ChaincodeGetInstalledPackage) Args ¶ added in v1.5.6
func (c ChaincodeGetInstalledPackage) Args() []string
func (ChaincodeGetInstalledPackage) SessionName ¶ added in v1.5.6
func (c ChaincodeGetInstalledPackage) SessionName() string
type ChaincodeInstall ¶
func (ChaincodeInstall) Args ¶
func (c ChaincodeInstall) Args() []string
func (ChaincodeInstall) SessionName ¶
func (c ChaincodeInstall) SessionName() string
type ChaincodeInstallLegacy ¶ added in v1.5.6
type ChaincodeInstallLegacy struct { Name string Version string Path string Lang string PackageFile string ClientAuth bool }
func (ChaincodeInstallLegacy) Args ¶ added in v1.5.6
func (c ChaincodeInstallLegacy) Args() []string
func (ChaincodeInstallLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodeInstallLegacy) SessionName() string
type ChaincodeInstantiateLegacy ¶ added in v1.5.6
type ChaincodeInstantiateLegacy struct { ChannelID string Orderer string Name string Version string Ctor string Policy string Lang string CollectionsConfig string ClientAuth bool }
func (ChaincodeInstantiateLegacy) Args ¶ added in v1.5.6
func (c ChaincodeInstantiateLegacy) Args() []string
func (ChaincodeInstantiateLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodeInstantiateLegacy) SessionName() string
type ChaincodeInvoke ¶
type ChaincodeInvoke struct { ChannelID string Orderer string Name string Ctor string Transient string PeerAddresses []string WaitForEvent bool IsInit bool ClientAuth bool }
func (ChaincodeInvoke) Args ¶
func (c ChaincodeInvoke) Args() []string
func (ChaincodeInvoke) SessionName ¶
func (c ChaincodeInvoke) SessionName() string
type ChaincodeListCommitted ¶ added in v1.5.6
func (ChaincodeListCommitted) Args ¶ added in v1.5.6
func (c ChaincodeListCommitted) Args() []string
func (ChaincodeListCommitted) SessionName ¶ added in v1.5.6
func (c ChaincodeListCommitted) SessionName() string
type ChaincodeListInstalledLegacy ¶ added in v1.5.6
type ChaincodeListInstalledLegacy struct {
ClientAuth bool
}
func (ChaincodeListInstalledLegacy) Args ¶ added in v1.5.6
func (c ChaincodeListInstalledLegacy) Args() []string
func (ChaincodeListInstalledLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodeListInstalledLegacy) SessionName() string
type ChaincodeListInstantiatedLegacy ¶ added in v1.5.6
func (ChaincodeListInstantiatedLegacy) Args ¶ added in v1.5.6
func (c ChaincodeListInstantiatedLegacy) Args() []string
func (ChaincodeListInstantiatedLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodeListInstantiatedLegacy) SessionName() string
type ChaincodePackage ¶ added in v1.3.0
type ChaincodePackage struct { Path string Lang string Label string OutputFile string ClientAuth bool }
func (ChaincodePackage) Args ¶ added in v1.3.0
func (c ChaincodePackage) Args() []string
func (ChaincodePackage) SessionName ¶ added in v1.3.0
func (c ChaincodePackage) SessionName() string
type ChaincodePackageLegacy ¶ added in v1.5.6
type ChaincodePackageLegacy struct { Name string Version string Path string Lang string OutputFile string ClientAuth bool }
func (ChaincodePackageLegacy) Args ¶ added in v1.5.6
func (c ChaincodePackageLegacy) Args() []string
func (ChaincodePackageLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodePackageLegacy) SessionName() string
type ChaincodeQuery ¶
func (ChaincodeQuery) Args ¶
func (c ChaincodeQuery) Args() []string
func (ChaincodeQuery) SessionName ¶
func (c ChaincodeQuery) SessionName() string
type ChaincodeQueryApproved ¶ added in v1.5.6
type ChaincodeQueryApproved struct { ChannelID string Name string Sequence string PeerAddresses []string ClientAuth bool }
func (ChaincodeQueryApproved) Args ¶ added in v1.5.6
func (c ChaincodeQueryApproved) Args() []string
func (ChaincodeQueryApproved) SessionName ¶ added in v1.5.6
func (c ChaincodeQueryApproved) SessionName() string
type ChaincodeQueryInstalled ¶ added in v1.5.6
type ChaincodeQueryInstalled struct {
ClientAuth bool
}
func (ChaincodeQueryInstalled) Args ¶ added in v1.5.6
func (c ChaincodeQueryInstalled) Args() []string
func (ChaincodeQueryInstalled) SessionName ¶ added in v1.5.6
func (c ChaincodeQueryInstalled) SessionName() string
type ChaincodeUpgradeLegacy ¶ added in v1.5.6
type ChaincodeUpgradeLegacy struct { Name string Version string Path string // optional ChannelID string Orderer string Ctor string Policy string CollectionsConfig string // optional ClientAuth bool }
func (ChaincodeUpgradeLegacy) Args ¶ added in v1.5.6
func (c ChaincodeUpgradeLegacy) Args() []string
func (ChaincodeUpgradeLegacy) SessionName ¶ added in v1.5.6
func (c ChaincodeUpgradeLegacy) SessionName() string
type ChannelCreate ¶
type ChannelCreate struct { ChannelID string Orderer string File string OutputBlock string ClientAuth bool }
func (ChannelCreate) Args ¶
func (c ChannelCreate) Args() []string
func (ChannelCreate) SessionName ¶
func (c ChannelCreate) SessionName() string
type ChannelFetch ¶
type ChannelFetch struct { ChannelID string Block string Orderer string OutputFile string ClientAuth bool TLSHandshakeTimeShift time.Duration }
func (ChannelFetch) Args ¶
func (c ChannelFetch) Args() []string
func (ChannelFetch) SessionName ¶
func (c ChannelFetch) SessionName() string
type ChannelInfo ¶ added in v1.4.0
func (ChannelInfo) Args ¶ added in v1.4.0
func (c ChannelInfo) Args() []string
func (ChannelInfo) SessionName ¶ added in v1.4.0
func (c ChannelInfo) SessionName() string
type ChannelJoin ¶
func (ChannelJoin) Args ¶
func (c ChannelJoin) Args() []string
func (ChannelJoin) SessionName ¶
func (c ChannelJoin) SessionName() string
type ChannelUpdate ¶
type ChannelUpdate struct { ChannelID string Orderer string File string ClientAuth bool TLSHandshakeTimeShift time.Duration }
func (ChannelUpdate) Args ¶
func (c ChannelUpdate) Args() []string
func (ChannelUpdate) SessionName ¶
func (c ChannelUpdate) SessionName() string
type Config ¶ added in v1.3.0
type Config struct { UserCert string UserKey string MSPID string Server string Channel string ClientCert string ClientKey string }
func (Config) SessionName ¶ added in v1.3.0
type CreateChannelTx ¶
type CreateChannelTx struct { ChannelID string Profile string ConfigPath string OutputCreateChannelTx string BaseProfile string }
func (CreateChannelTx) Args ¶
func (c CreateChannelTx) Args() []string
func (CreateChannelTx) SessionName ¶
func (c CreateChannelTx) SessionName() string
type Endorsers ¶ added in v1.3.0
type Endorsers struct { UserCert string UserKey string MSPID string Server string Channel string Chaincode string Chaincodes []string Collection string Collections []string ClientCert string ClientKey string NoPrivateReads []string }
func (Endorsers) SessionName ¶ added in v1.3.0
type Extend ¶ added in v1.4.1
func (Extend) SessionName ¶ added in v1.4.1
type Generate ¶
func (Generate) SessionName ¶
type NodePause ¶ added in v1.5.6
type NodePause struct {
ChannelID string
}
func (NodePause) SessionName ¶ added in v1.5.6
type NodeReset ¶ added in v1.4.2
type NodeReset struct { }
func (NodeReset) SessionName ¶ added in v1.4.2
type NodeResume ¶ added in v1.5.6
type NodeResume struct {
ChannelID string
}
func (NodeResume) Args ¶ added in v1.5.6
func (n NodeResume) Args() []string
func (NodeResume) SessionName ¶ added in v1.5.6
func (n NodeResume) SessionName() string
type NodeRollback ¶ added in v1.4.2
func (NodeRollback) Args ¶ added in v1.4.2
func (n NodeRollback) Args() []string
func (NodeRollback) SessionName ¶ added in v1.4.2
func (n NodeRollback) SessionName() string
type NodeStart ¶
func (NodeStart) SessionName ¶
type OutputAnchorPeersUpdate ¶ added in v1.3.0
type OutputAnchorPeersUpdate struct { ChannelID string Profile string ConfigPath string AsOrg string OutputAnchorPeersUpdate string }
func (OutputAnchorPeersUpdate) Args ¶ added in v1.3.0
func (o OutputAnchorPeersUpdate) Args() []string
func (OutputAnchorPeersUpdate) SessionName ¶ added in v1.3.0
func (o OutputAnchorPeersUpdate) SessionName() string
type OutputBlock ¶
func (OutputBlock) Args ¶
func (o OutputBlock) Args() []string
func (OutputBlock) SessionName ¶
func (o OutputBlock) SessionName() string
type Peers ¶ added in v1.3.0
type Peers struct { UserCert string UserKey string MSPID string Server string Channel string ClientCert string ClientKey string }
func (Peers) SessionName ¶ added in v1.3.0
type PrintOrg ¶ added in v1.5.6
func (PrintOrg) SessionName ¶ added in v1.5.6
type SignConfigTx ¶
func (SignConfigTx) Args ¶
func (s SignConfigTx) Args() []string
func (SignConfigTx) SessionName ¶
func (s SignConfigTx) SessionName() string
type SignerConfig ¶ added in v1.5.6
type SignerConfig struct { CAInput string Output string OrgUnit string Admin bool EnrollmentID string RevocationHandle string }
func (SignerConfig) Args ¶ added in v1.5.6
func (c SignerConfig) Args() []string
func (SignerConfig) SessionName ¶ added in v1.5.6
func (c SignerConfig) SessionName() string
Click to show internal directories.
Click to hide internal directories.