Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
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 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 ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfo(chaincodeName string, qe ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall(i int) (string, ledger.SimpleQueryExecutor)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoCallCount ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCallCount() int
func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturns ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)
func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)
func (*DeployedChaincodeInfoProvider) CollectionInfo ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) CollectionInfo(chaincodeName string, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)
func (*DeployedChaincodeInfoProvider) CollectionInfoArgsForCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) CollectionInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)
func (*DeployedChaincodeInfoProvider) CollectionInfoCallCount ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) CollectionInfoCallCount() int
func (*DeployedChaincodeInfoProvider) CollectionInfoReturns ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)
func (*DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)
func (*DeployedChaincodeInfoProvider) Invocations ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) Invocations() map[string][][]interface{}
func (*DeployedChaincodeInfoProvider) Namespaces ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) Namespaces() []string
func (*DeployedChaincodeInfoProvider) NamespacesCallCount ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) NamespacesCallCount() int
func (*DeployedChaincodeInfoProvider) NamespacesReturns ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) NamespacesReturns(result1 []string)
func (*DeployedChaincodeInfoProvider) NamespacesReturnsOnCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) NamespacesReturnsOnCall(i int, result1 []string)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodes ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodes(stateUpdates map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall(i int) map[string][]*kvrwset.KVWrite
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount() int
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturns ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturns(result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall ¶ added in v1.3.0
func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall(i int, result1 []*ledger.ChaincodeLifecycleInfo, result2 error)
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
Click to show internal directories.
Click to hide internal directories.