Documentation ¶
Overview ¶
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
Index ¶
- type DeployedChaincodeInfoProvider
- func (fake *DeployedChaincodeInfoProvider) ChaincodeInfo(chaincodeName string, qe ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)
- func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall(i int) (string, ledger.SimpleQueryExecutor)
- func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCallCount() int
- func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)
- func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)
- func (fake *DeployedChaincodeInfoProvider) CollectionInfo(chaincodeName string, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)
- func (fake *DeployedChaincodeInfoProvider) CollectionInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)
- func (fake *DeployedChaincodeInfoProvider) CollectionInfoCallCount() int
- func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)
- func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)
- func (fake *DeployedChaincodeInfoProvider) Invocations() map[string][][]interface{}
- func (fake *DeployedChaincodeInfoProvider) Namespaces() []string
- func (fake *DeployedChaincodeInfoProvider) NamespacesCallCount() int
- func (fake *DeployedChaincodeInfoProvider) NamespacesReturns(result1 []string)
- func (fake *DeployedChaincodeInfoProvider) NamespacesReturnsOnCall(i int, result1 []string)
- func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodes(stateUpdates map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)
- func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall(i int) map[string][]*kvrwset.KVWrite
- func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount() int
- func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturns(result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
- func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall(i int, result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
- type HealthCheckRegistry
- func (fake *HealthCheckRegistry) Invocations() map[string][][]interface{}
- func (fake *HealthCheckRegistry) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
- func (fake *HealthCheckRegistry) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
- func (fake *HealthCheckRegistry) RegisterCheckerCallCount() int
- func (fake *HealthCheckRegistry) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
- func (fake *HealthCheckRegistry) RegisterCheckerReturns(result1 error)
- func (fake *HealthCheckRegistry) RegisterCheckerReturnsOnCall(i int, result1 error)
- type MembershipInfoProvider
- func (fake *MembershipInfoProvider) AmMemberOf(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (bool, error)
- func (fake *MembershipInfoProvider) AmMemberOfArgsForCall(i int) (string, *common.CollectionPolicyConfig)
- func (fake *MembershipInfoProvider) AmMemberOfCallCount() int
- func (fake *MembershipInfoProvider) AmMemberOfReturns(result1 bool, result2 error)
- func (fake *MembershipInfoProvider) AmMemberOfReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *MembershipInfoProvider) Invocations() map[string][][]interface{}
- type StateListener
- func (fake *StateListener) HandleStateUpdates(trigger *ledger.StateUpdateTrigger) error
- func (fake *StateListener) HandleStateUpdatesArgsForCall(i int) *ledger.StateUpdateTrigger
- func (fake *StateListener) HandleStateUpdatesCallCount() int
- func (fake *StateListener) HandleStateUpdatesReturns(result1 error)
- func (fake *StateListener) HandleStateUpdatesReturnsOnCall(i int, result1 error)
- func (fake *StateListener) InterestedInNamespaces() []string
- func (fake *StateListener) InterestedInNamespacesCallCount() int
- func (fake *StateListener) InterestedInNamespacesReturns(result1 []string)
- func (fake *StateListener) InterestedInNamespacesReturnsOnCall(i int, result1 []string)
- func (fake *StateListener) Invocations() map[string][][]interface{}
- func (fake *StateListener) StateCommitDone(channelID string)
- func (fake *StateListener) StateCommitDoneArgsForCall(i int) string
- func (fake *StateListener) StateCommitDoneCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployedChaincodeInfoProvider ¶
type DeployedChaincodeInfoProvider struct { NamespacesStub func() []string UpdatedChaincodesStub func(stateUpdates map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error) ChaincodeInfoStub func(chaincodeName string, qe ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error) CollectionInfoStub func(chaincodeName, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error) // contains filtered or unexported fields }
func (*DeployedChaincodeInfoProvider) ChaincodeInfo ¶
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfo(chaincodeName string, qe ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall ¶
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall(i int) (string, ledger.SimpleQueryExecutor)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoCallCount ¶
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCallCount() int
func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturns ¶
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall ¶
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)
func (*DeployedChaincodeInfoProvider) CollectionInfo ¶
func (fake *DeployedChaincodeInfoProvider) CollectionInfo(chaincodeName string, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)
func (*DeployedChaincodeInfoProvider) CollectionInfoArgsForCall ¶
func (fake *DeployedChaincodeInfoProvider) CollectionInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)
func (*DeployedChaincodeInfoProvider) CollectionInfoCallCount ¶
func (fake *DeployedChaincodeInfoProvider) CollectionInfoCallCount() int
func (*DeployedChaincodeInfoProvider) CollectionInfoReturns ¶
func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)
func (*DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall ¶
func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)
func (*DeployedChaincodeInfoProvider) Invocations ¶
func (fake *DeployedChaincodeInfoProvider) Invocations() map[string][][]interface{}
func (*DeployedChaincodeInfoProvider) Namespaces ¶
func (fake *DeployedChaincodeInfoProvider) Namespaces() []string
func (*DeployedChaincodeInfoProvider) NamespacesCallCount ¶
func (fake *DeployedChaincodeInfoProvider) NamespacesCallCount() int
func (*DeployedChaincodeInfoProvider) NamespacesReturns ¶
func (fake *DeployedChaincodeInfoProvider) NamespacesReturns(result1 []string)
func (*DeployedChaincodeInfoProvider) NamespacesReturnsOnCall ¶
func (fake *DeployedChaincodeInfoProvider) NamespacesReturnsOnCall(i int, result1 []string)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodes ¶
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodes(stateUpdates map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall ¶
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall(i int) map[string][]*kvrwset.KVWrite
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount ¶
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount() int
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturns ¶
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturns(result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall ¶
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall(i int, result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
type HealthCheckRegistry ¶
type HealthCheckRegistry struct { RegisterCheckerStub func(string, healthz.HealthChecker) error // contains filtered or unexported fields }
func (*HealthCheckRegistry) Invocations ¶
func (fake *HealthCheckRegistry) Invocations() map[string][][]interface{}
func (*HealthCheckRegistry) RegisterChecker ¶
func (fake *HealthCheckRegistry) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
func (*HealthCheckRegistry) RegisterCheckerArgsForCall ¶
func (fake *HealthCheckRegistry) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
func (*HealthCheckRegistry) RegisterCheckerCallCount ¶
func (fake *HealthCheckRegistry) RegisterCheckerCallCount() int
func (*HealthCheckRegistry) RegisterCheckerCalls ¶
func (fake *HealthCheckRegistry) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
func (*HealthCheckRegistry) RegisterCheckerReturns ¶
func (fake *HealthCheckRegistry) RegisterCheckerReturns(result1 error)
func (*HealthCheckRegistry) RegisterCheckerReturnsOnCall ¶
func (fake *HealthCheckRegistry) RegisterCheckerReturnsOnCall(i int, result1 error)
type MembershipInfoProvider ¶
type MembershipInfoProvider struct { AmMemberOfStub func(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (bool, error) // contains filtered or unexported fields }
func (*MembershipInfoProvider) AmMemberOf ¶
func (fake *MembershipInfoProvider) AmMemberOf(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (bool, error)
func (*MembershipInfoProvider) AmMemberOfArgsForCall ¶
func (fake *MembershipInfoProvider) AmMemberOfArgsForCall(i int) (string, *common.CollectionPolicyConfig)
func (*MembershipInfoProvider) AmMemberOfCallCount ¶
func (fake *MembershipInfoProvider) AmMemberOfCallCount() int
func (*MembershipInfoProvider) AmMemberOfReturns ¶
func (fake *MembershipInfoProvider) AmMemberOfReturns(result1 bool, result2 error)
func (*MembershipInfoProvider) AmMemberOfReturnsOnCall ¶
func (fake *MembershipInfoProvider) AmMemberOfReturnsOnCall(i int, result1 bool, result2 error)
func (*MembershipInfoProvider) Invocations ¶
func (fake *MembershipInfoProvider) Invocations() map[string][][]interface{}
type StateListener ¶
type StateListener struct { InterestedInNamespacesStub func() []string HandleStateUpdatesStub func(trigger *ledger.StateUpdateTrigger) error StateCommitDoneStub func(channelID string) // contains filtered or unexported fields }
func (*StateListener) HandleStateUpdates ¶
func (fake *StateListener) HandleStateUpdates(trigger *ledger.StateUpdateTrigger) error
func (*StateListener) HandleStateUpdatesArgsForCall ¶
func (fake *StateListener) HandleStateUpdatesArgsForCall(i int) *ledger.StateUpdateTrigger
func (*StateListener) HandleStateUpdatesCallCount ¶
func (fake *StateListener) HandleStateUpdatesCallCount() int
func (*StateListener) HandleStateUpdatesReturns ¶
func (fake *StateListener) HandleStateUpdatesReturns(result1 error)
func (*StateListener) HandleStateUpdatesReturnsOnCall ¶
func (fake *StateListener) HandleStateUpdatesReturnsOnCall(i int, result1 error)
func (*StateListener) InterestedInNamespaces ¶
func (fake *StateListener) InterestedInNamespaces() []string
func (*StateListener) InterestedInNamespacesCallCount ¶
func (fake *StateListener) InterestedInNamespacesCallCount() int
func (*StateListener) InterestedInNamespacesReturns ¶
func (fake *StateListener) InterestedInNamespacesReturns(result1 []string)
func (*StateListener) InterestedInNamespacesReturnsOnCall ¶
func (fake *StateListener) InterestedInNamespacesReturnsOnCall(i int, result1 []string)
func (*StateListener) Invocations ¶
func (fake *StateListener) Invocations() map[string][][]interface{}
func (*StateListener) StateCommitDone ¶
func (fake *StateListener) StateCommitDone(channelID string)
func (*StateListener) StateCommitDoneArgsForCall ¶
func (fake *StateListener) StateCommitDoneArgsForCall(i int) string
func (*StateListener) StateCommitDoneCallCount ¶
func (fake *StateListener) StateCommitDoneCallCount() int