Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ACLProvider
- func (fake *ACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error
- func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
- func (fake *ACLProvider) CheckACLCallCount() int
- func (fake *ACLProvider) CheckACLReturns(result1 error)
- func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)
- func (fake *ACLProvider) Invocations() map[string][][]interface{}
- type CertGenerator
- func (fake *CertGenerator) Generate(ccName string) (*accesscontrol.CertAndPrivKeyPair, error)
- func (fake *CertGenerator) GenerateArgsForCall(i int) string
- func (fake *CertGenerator) GenerateCallCount() int
- func (fake *CertGenerator) GenerateReturns(result1 *accesscontrol.CertAndPrivKeyPair, result2 error)
- func (fake *CertGenerator) GenerateReturnsOnCall(i int, result1 *accesscontrol.CertAndPrivKeyPair, result2 error)
- func (fake *CertGenerator) Invocations() map[string][][]interface{}
- type ChaincodeDefinitionGetter
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinition(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCallCount() int
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *ChaincodeDefinitionGetter) Invocations() map[string][][]interface{}
- type ChaincodeStream
- func (fake *ChaincodeStream) Invocations() map[string][][]interface{}
- func (fake *ChaincodeStream) Recv() (*pb.ChaincodeMessage, error)
- func (fake *ChaincodeStream) RecvCallCount() int
- func (fake *ChaincodeStream) RecvReturns(result1 *pb.ChaincodeMessage, result2 error)
- func (fake *ChaincodeStream) RecvReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
- func (fake *ChaincodeStream) Send(arg1 *pb.ChaincodeMessage) error
- func (fake *ChaincodeStream) SendArgsForCall(i int) *pb.ChaincodeMessage
- func (fake *ChaincodeStream) SendCallCount() int
- func (fake *ChaincodeStream) SendReturns(result1 error)
- func (fake *ChaincodeStream) SendReturnsOnCall(i int, result1 error)
- type HistoryQueryExecutor
- func (fake *HistoryQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyArgsForCall(i int) (string, string)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int
- func (fake *HistoryQueryExecutor) GetHistoryForKeyReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *HistoryQueryExecutor) Invocations() map[string][][]interface{}
- type InstantiationPolicyChecker
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicy(name string, version string, cd *ccprovider.ChaincodeData) error
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall(i int) (string, string, *ccprovider.ChaincodeData)
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCallCount() int
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturns(result1 error)
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
- func (fake *InstantiationPolicyChecker) Invocations() map[string][][]interface{}
- type Invoker
- func (fake *Invoker) Invocations() map[string][][]interface{}
- func (fake *Invoker) Invoke(txParams *ccprovider.TransactionParams, cccid *ccprovider.CCContext, ...) (*pb.ChaincodeMessage, error)
- func (fake *Invoker) InvokeArgsForCall(i int) (*ccprovider.TransactionParams, *ccprovider.CCContext, *pb.ChaincodeInput)
- func (fake *Invoker) InvokeCallCount() int
- func (fake *Invoker) InvokeReturns(result1 *pb.ChaincodeMessage, result2 error)
- func (fake *Invoker) InvokeReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
- type LedgerGetter
- func (fake *LedgerGetter) GetLedger(cid string) ledger.PeerLedger
- func (fake *LedgerGetter) GetLedgerArgsForCall(i int) string
- func (fake *LedgerGetter) GetLedgerCallCount() int
- func (fake *LedgerGetter) GetLedgerReturns(result1 ledger.PeerLedger)
- func (fake *LedgerGetter) GetLedgerReturnsOnCall(i int, result1 ledger.PeerLedger)
- func (fake *LedgerGetter) Invocations() map[string][][]interface{}
- type Lifecycle
- func (fake *Lifecycle) ChaincodeContainerInfo(chainID string, chaincodeID string) (*ccprovider.ChaincodeContainerInfo, error)
- func (fake *Lifecycle) ChaincodeContainerInfoArgsForCall(i int) (string, string)
- func (fake *Lifecycle) ChaincodeContainerInfoCallCount() int
- func (fake *Lifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)
- func (fake *Lifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)
- func (fake *Lifecycle) ChaincodeDefinition(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (fake *Lifecycle) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
- func (fake *Lifecycle) ChaincodeDefinitionCallCount() int
- func (fake *Lifecycle) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *Lifecycle) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
- func (fake *Lifecycle) Invocations() map[string][][]interface{}
- type PackageProvider
- func (fake *PackageProvider) GetChaincodeCodePackage(ccname string, ccversion string) ([]byte, error)
- func (fake *PackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
- func (fake *PackageProvider) GetChaincodeCodePackageCallCount() int
- func (fake *PackageProvider) GetChaincodeCodePackageReturns(result1 []byte, result2 error)
- func (fake *PackageProvider) GetChaincodeCodePackageReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *PackageProvider) Invocations() map[string][][]interface{}
- type PeerLedger
- func (fake *PeerLedger) Close()
- func (fake *PeerLedger) CloseCallCount() int
- func (fake *PeerLedger) CommitPvtData(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
- func (fake *PeerLedger) CommitPvtDataArgsForCall(i int) []*ledger.BlockPvtData
- func (fake *PeerLedger) CommitPvtDataCallCount() int
- func (fake *PeerLedger) CommitPvtDataReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) CommitPvtDataReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) CommitWithPvtData(blockAndPvtdata *ledger.BlockAndPvtData) error
- func (fake *PeerLedger) CommitWithPvtDataArgsForCall(i int) *ledger.BlockAndPvtData
- func (fake *PeerLedger) CommitWithPvtDataCallCount() int
- func (fake *PeerLedger) CommitWithPvtDataReturns(result1 error)
- func (fake *PeerLedger) CommitWithPvtDataReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) GetBlockByHash(blockHash []byte) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
- func (fake *PeerLedger) GetBlockByHashCallCount() int
- func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumber(blockNumber uint64) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlockByNumberCallCount() int
- func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByTxID(txID string) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetBlockByTxIDCallCount() int
- func (fake *PeerLedger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockchainInfo() (*common.BlockchainInfo, error)
- func (fake *PeerLedger) GetBlockchainInfoCallCount() int
- func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlocksIterator(startBlockNumber uint64) (commonledger.ResultsIterator, error)
- func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlocksIteratorCallCount() int
- func (fake *PeerLedger) GetBlocksIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
- func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
- func (fake *PeerLedger) GetConfigHistoryRetrieverReturns(result1 ledger.ConfigHistoryRetriever, result2 error)
- func (fake *PeerLedger) GetConfigHistoryRetrieverReturnsOnCall(i int, result1 ledger.ConfigHistoryRetriever, result2 error)
- func (fake *PeerLedger) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
- func (fake *PeerLedger) GetMissingPvtDataTrackerCallCount() int
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNum(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
- func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error)
- func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTransactionByIDCallCount() int
- func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTxValidationCodeByTxID(txID string) (peer.TxValidationCode, error)
- func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
- func (fake *PeerLedger) GetTxValidationCodeByTxIDReturns(result1 peer.TxValidationCode, result2 error)
- func (fake *PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peer.TxValidationCode, result2 error)
- func (fake *PeerLedger) Invocations() map[string][][]interface{}
- func (fake *PeerLedger) NewHistoryQueryExecutor() (ledger.HistoryQueryExecutor, error)
- func (fake *PeerLedger) NewHistoryQueryExecutorCallCount() int
- func (fake *PeerLedger) NewHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *PeerLedger) NewHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *PeerLedger) NewQueryExecutor() (ledger.QueryExecutor, error)
- func (fake *PeerLedger) NewQueryExecutorCallCount() int
- func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewTxSimulator(txid string) (ledger.TxSimulator, error)
- func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
- func (fake *PeerLedger) NewTxSimulatorCallCount() int
- func (fake *PeerLedger) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
- func (fake *PeerLedger) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
- func (fake *PeerLedger) PrivateDataMinBlockNum() (uint64, error)
- func (fake *PeerLedger) PrivateDataMinBlockNumCallCount() int
- func (fake *PeerLedger) PrivateDataMinBlockNumReturns(result1 uint64, result2 error)
- func (fake *PeerLedger) PrivateDataMinBlockNumReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *PeerLedger) Prune(policy commonledger.PrunePolicy) error
- func (fake *PeerLedger) PruneArgsForCall(i int) commonledger.PrunePolicy
- func (fake *PeerLedger) PruneCallCount() int
- func (fake *PeerLedger) PruneReturns(result1 error)
- func (fake *PeerLedger) PruneReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) PurgePrivateData(maxBlockNumToRetain uint64) error
- func (fake *PeerLedger) PurgePrivateDataArgsForCall(i int) uint64
- func (fake *PeerLedger) PurgePrivateDataCallCount() int
- func (fake *PeerLedger) PurgePrivateDataReturns(result1 error)
- func (fake *PeerLedger) PurgePrivateDataReturnsOnCall(i int, result1 error)
- type Processor
- func (fake *Processor) Invocations() map[string][][]interface{}
- func (fake *Processor) Process(vmtype string, req container.VMCReq) error
- func (fake *Processor) ProcessArgsForCall(i int) (string, container.VMCReq)
- func (fake *Processor) ProcessCallCount() int
- func (fake *Processor) ProcessReturns(result1 error)
- func (fake *Processor) ProcessReturnsOnCall(i int, result1 error)
- type QueryResultsIterator
- func (fake *QueryResultsIterator) Close()
- func (fake *QueryResultsIterator) CloseCallCount() int
- func (fake *QueryResultsIterator) GetBookmarkAndClose() string
- func (fake *QueryResultsIterator) GetBookmarkAndCloseCallCount() int
- func (fake *QueryResultsIterator) GetBookmarkAndCloseReturns(result1 string)
- func (fake *QueryResultsIterator) GetBookmarkAndCloseReturnsOnCall(i int, result1 string)
- func (fake *QueryResultsIterator) Invocations() map[string][][]interface{}
- func (fake *QueryResultsIterator) Next() (ledger.QueryResult, error)
- func (fake *QueryResultsIterator) NextCallCount() int
- func (fake *QueryResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)
- func (fake *QueryResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)
- type Runtime
- func (fake *Runtime) Invocations() map[string][][]interface{}
- func (fake *Runtime) Start(ccci *ccprovider.ChaincodeContainerInfo, codePackage []byte) error
- func (fake *Runtime) StartArgsForCall(i int) (*ccprovider.ChaincodeContainerInfo, []byte)
- func (fake *Runtime) StartCallCount() int
- func (fake *Runtime) StartReturns(result1 error)
- func (fake *Runtime) StartReturnsOnCall(i int, result1 error)
- func (fake *Runtime) Stop(ccci *ccprovider.ChaincodeContainerInfo) error
- func (fake *Runtime) StopArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
- func (fake *Runtime) StopCallCount() int
- func (fake *Runtime) StopReturns(result1 error)
- func (fake *Runtime) StopReturnsOnCall(i int, result1 error)
- type SystemCCProvider
- func (fake *SystemCCProvider) Invocations() map[string][][]interface{}
- func (fake *SystemCCProvider) IsSysCC(name string) bool
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CC(name string) bool
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)
- func (fake *SystemCCProvider) IsSysCCArgsForCall(i int) string
- func (fake *SystemCCProvider) IsSysCCCallCount() int
- func (fake *SystemCCProvider) IsSysCCReturns(result1 bool)
- func (fake *SystemCCProvider) IsSysCCReturnsOnCall(i int, result1 bool)
- type TransactionRegistry
- func (fake *TransactionRegistry) Add(channelID string, txID string) bool
- func (fake *TransactionRegistry) AddArgsForCall(i int) (string, string)
- func (fake *TransactionRegistry) AddCallCount() int
- func (fake *TransactionRegistry) AddReturns(result1 bool)
- func (fake *TransactionRegistry) AddReturnsOnCall(i int, result1 bool)
- func (fake *TransactionRegistry) Invocations() map[string][][]interface{}
- func (fake *TransactionRegistry) Remove(channelID string, txID string)
- func (fake *TransactionRegistry) RemoveArgsForCall(i int) (string, string)
- func (fake *TransactionRegistry) RemoveCallCount() int
- type TxSimulator
- func (fake *TxSimulator) DeletePrivateData(namespace string, collection string, key string) error
- func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataMetadata(namespace string, collection string, key string) error
- func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)
- func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)
- func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeleteState(namespace string, key string) error
- func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateCallCount() int
- func (fake *TxSimulator) DeleteStateMetadata(namespace string, key string) error
- func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateMetadataCallCount() int
- func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)
- func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeleteStateReturns(result1 error)
- func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) Done()
- func (fake *TxSimulator) DoneCallCount() int
- func (fake *TxSimulator) ExecuteQuery(namespace string, query string) (commonledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
- func (fake *TxSimulator) ExecuteQueryCallCount() int
- func (fake *TxSimulator) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (commonledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteUpdate(query string) error
- func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
- func (fake *TxSimulator) ExecuteUpdateCallCount() int
- func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
- func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) GetPrivateData(namespace string, collection string, key string) ([]byte, error)
- func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataMetadataByHash(namespace string, collection string, keyhash []byte) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (commonledger.ResultsIterator, error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetState(namespace string, key string) ([]byte, error)
- func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateCallCount() int
- func (fake *TxSimulator) GetStateMetadata(namespace string, key string) (map[string][]byte, error)
- func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateMetadataCallCount() int
- func (fake *TxSimulator) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
- func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
- func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, ...) (ledger.QueryResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetTxSimulationResults() (*ledger.TxSimulationResults, error)
- func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
- func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledger.TxSimulationResults, result2 error)
- func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledger.TxSimulationResults, result2 error)
- func (fake *TxSimulator) Invocations() map[string][][]interface{}
- func (fake *TxSimulator) SetPrivateData(namespace string, collection string, key string, value []byte) error
- func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)
- func (fake *TxSimulator) SetPrivateDataCallCount() int
- func (fake *TxSimulator) SetPrivateDataMetadata(namespace string, collection string, key string, metadata map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
- func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeys(namespace string, collection string, kvs map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetPrivateDataReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetState(namespace string, key string, value []byte) error
- func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) SetStateCallCount() int
- func (fake *TxSimulator) SetStateMetadata(namespace string, key string, metadata map[string][]byte) error
- func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetStateMetadataCallCount() int
- func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
- func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetStateMultipleKeys(namespace string, kvs map[string][]byte) error
- func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
- func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)
- func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetStateReturns(result1 error)
- func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLProvider ¶
type ACLProvider struct { CheckACLStub func(resName string, channelID string, idinfo interface{}) error // contains filtered or unexported fields }
func (*ACLProvider) CheckACL ¶
func (fake *ACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error
func (*ACLProvider) CheckACLArgsForCall ¶
func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
func (*ACLProvider) CheckACLCallCount ¶
func (fake *ACLProvider) CheckACLCallCount() int
func (*ACLProvider) CheckACLReturns ¶
func (fake *ACLProvider) CheckACLReturns(result1 error)
func (*ACLProvider) CheckACLReturnsOnCall ¶
func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)
func (*ACLProvider) Invocations ¶
func (fake *ACLProvider) Invocations() map[string][][]interface{}
type CertGenerator ¶
type CertGenerator struct { GenerateStub func(ccName string) (*accesscontrol.CertAndPrivKeyPair, error) // contains filtered or unexported fields }
func (*CertGenerator) Generate ¶
func (fake *CertGenerator) Generate(ccName string) (*accesscontrol.CertAndPrivKeyPair, error)
func (*CertGenerator) GenerateArgsForCall ¶
func (fake *CertGenerator) GenerateArgsForCall(i int) string
func (*CertGenerator) GenerateCallCount ¶
func (fake *CertGenerator) GenerateCallCount() int
func (*CertGenerator) GenerateReturns ¶
func (fake *CertGenerator) GenerateReturns(result1 *accesscontrol.CertAndPrivKeyPair, result2 error)
func (*CertGenerator) GenerateReturnsOnCall ¶
func (fake *CertGenerator) GenerateReturnsOnCall(i int, result1 *accesscontrol.CertAndPrivKeyPair, result2 error)
func (*CertGenerator) Invocations ¶
func (fake *CertGenerator) Invocations() map[string][][]interface{}
type ChaincodeDefinitionGetter ¶ added in v1.2.0
type ChaincodeDefinitionGetter struct { ChaincodeDefinitionStub func(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) // contains filtered or unexported fields }
func (*ChaincodeDefinitionGetter) ChaincodeDefinition ¶ added in v1.3.0
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinition(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (*ChaincodeDefinitionGetter) ChaincodeDefinitionArgsForCall ¶ added in v1.3.0
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
func (*ChaincodeDefinitionGetter) ChaincodeDefinitionCallCount ¶ added in v1.3.0
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCallCount() int
func (*ChaincodeDefinitionGetter) ChaincodeDefinitionReturns ¶ added in v1.3.0
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
func (*ChaincodeDefinitionGetter) ChaincodeDefinitionReturnsOnCall ¶ added in v1.3.0
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
func (*ChaincodeDefinitionGetter) Invocations ¶ added in v1.2.0
func (fake *ChaincodeDefinitionGetter) Invocations() map[string][][]interface{}
type ChaincodeStream ¶
type ChaincodeStream struct { SendStub func(*pb.ChaincodeMessage) error RecvStub func() (*pb.ChaincodeMessage, error) // contains filtered or unexported fields }
func (*ChaincodeStream) Invocations ¶
func (fake *ChaincodeStream) Invocations() map[string][][]interface{}
func (*ChaincodeStream) Recv ¶
func (fake *ChaincodeStream) Recv() (*pb.ChaincodeMessage, error)
func (*ChaincodeStream) RecvCallCount ¶
func (fake *ChaincodeStream) RecvCallCount() int
func (*ChaincodeStream) RecvReturns ¶
func (fake *ChaincodeStream) RecvReturns(result1 *pb.ChaincodeMessage, result2 error)
func (*ChaincodeStream) RecvReturnsOnCall ¶
func (fake *ChaincodeStream) RecvReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
func (*ChaincodeStream) Send ¶
func (fake *ChaincodeStream) Send(arg1 *pb.ChaincodeMessage) error
func (*ChaincodeStream) SendArgsForCall ¶
func (fake *ChaincodeStream) SendArgsForCall(i int) *pb.ChaincodeMessage
func (*ChaincodeStream) SendCallCount ¶
func (fake *ChaincodeStream) SendCallCount() int
func (*ChaincodeStream) SendReturns ¶
func (fake *ChaincodeStream) SendReturns(result1 error)
func (*ChaincodeStream) SendReturnsOnCall ¶
func (fake *ChaincodeStream) SendReturnsOnCall(i int, result1 error)
type HistoryQueryExecutor ¶
type HistoryQueryExecutor struct { GetHistoryForKeyStub func(namespace string, key string) (commonledger.ResultsIterator, error) // contains filtered or unexported fields }
func (*HistoryQueryExecutor) GetHistoryForKey ¶
func (fake *HistoryQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)
func (*HistoryQueryExecutor) GetHistoryForKeyArgsForCall ¶
func (fake *HistoryQueryExecutor) GetHistoryForKeyArgsForCall(i int) (string, string)
func (*HistoryQueryExecutor) GetHistoryForKeyCallCount ¶
func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int
func (*HistoryQueryExecutor) GetHistoryForKeyReturns ¶
func (fake *HistoryQueryExecutor) GetHistoryForKeyReturns(result1 commonledger.ResultsIterator, result2 error)
func (*HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall ¶
func (fake *HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*HistoryQueryExecutor) Invocations ¶
func (fake *HistoryQueryExecutor) Invocations() map[string][][]interface{}
type InstantiationPolicyChecker ¶ added in v1.2.0
type InstantiationPolicyChecker struct { CheckInstantiationPolicyStub func(name, version string, cd *ccprovider.ChaincodeData) error // contains filtered or unexported fields }
func (*InstantiationPolicyChecker) CheckInstantiationPolicy ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicy(name string, version string, cd *ccprovider.ChaincodeData) error
func (*InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall(i int) (string, string, *ccprovider.ChaincodeData)
func (*InstantiationPolicyChecker) CheckInstantiationPolicyCallCount ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCallCount() int
func (*InstantiationPolicyChecker) CheckInstantiationPolicyReturns ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturns(result1 error)
func (*InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
func (*InstantiationPolicyChecker) Invocations ¶ added in v1.2.0
func (fake *InstantiationPolicyChecker) Invocations() map[string][][]interface{}
type Invoker ¶
type Invoker struct { InvokeStub func(txParams *ccprovider.TransactionParams, cccid *ccprovider.CCContext, spec *pb.ChaincodeInput) (*pb.ChaincodeMessage, error) // contains filtered or unexported fields }
func (*Invoker) Invocations ¶
func (*Invoker) Invoke ¶
func (fake *Invoker) Invoke(txParams *ccprovider.TransactionParams, cccid *ccprovider.CCContext, spec *pb.ChaincodeInput) (*pb.ChaincodeMessage, error)
func (*Invoker) InvokeArgsForCall ¶
func (fake *Invoker) InvokeArgsForCall(i int) (*ccprovider.TransactionParams, *ccprovider.CCContext, *pb.ChaincodeInput)
func (*Invoker) InvokeCallCount ¶
func (*Invoker) InvokeReturns ¶
func (fake *Invoker) InvokeReturns(result1 *pb.ChaincodeMessage, result2 error)
func (*Invoker) InvokeReturnsOnCall ¶
func (fake *Invoker) InvokeReturnsOnCall(i int, result1 *pb.ChaincodeMessage, result2 error)
type LedgerGetter ¶
type LedgerGetter struct { GetLedgerStub func(cid string) ledger.PeerLedger // contains filtered or unexported fields }
func (*LedgerGetter) GetLedger ¶
func (fake *LedgerGetter) GetLedger(cid string) ledger.PeerLedger
func (*LedgerGetter) GetLedgerArgsForCall ¶
func (fake *LedgerGetter) GetLedgerArgsForCall(i int) string
func (*LedgerGetter) GetLedgerCallCount ¶
func (fake *LedgerGetter) GetLedgerCallCount() int
func (*LedgerGetter) GetLedgerReturns ¶
func (fake *LedgerGetter) GetLedgerReturns(result1 ledger.PeerLedger)
func (*LedgerGetter) GetLedgerReturnsOnCall ¶
func (fake *LedgerGetter) GetLedgerReturnsOnCall(i int, result1 ledger.PeerLedger)
func (*LedgerGetter) Invocations ¶
func (fake *LedgerGetter) Invocations() map[string][][]interface{}
type Lifecycle ¶
type Lifecycle struct { ChaincodeDefinitionStub func(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) ChaincodeContainerInfoStub func(chainID string, chaincodeID string) (*ccprovider.ChaincodeContainerInfo, error) // contains filtered or unexported fields }
func (*Lifecycle) ChaincodeContainerInfo ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeContainerInfo(chainID string, chaincodeID string) (*ccprovider.ChaincodeContainerInfo, error)
func (*Lifecycle) ChaincodeContainerInfoArgsForCall ¶ added in v1.3.0
func (*Lifecycle) ChaincodeContainerInfoCallCount ¶ added in v1.3.0
func (*Lifecycle) ChaincodeContainerInfoReturns ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)
func (*Lifecycle) ChaincodeContainerInfoReturnsOnCall ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)
func (*Lifecycle) ChaincodeDefinition ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeDefinition(chaincodeName string, txSim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (*Lifecycle) ChaincodeDefinitionArgsForCall ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
func (*Lifecycle) ChaincodeDefinitionCallCount ¶ added in v1.3.0
func (*Lifecycle) ChaincodeDefinitionReturns ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
func (*Lifecycle) ChaincodeDefinitionReturnsOnCall ¶ added in v1.3.0
func (fake *Lifecycle) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
func (*Lifecycle) Invocations ¶
type PackageProvider ¶ added in v1.2.0
type PackageProvider struct { GetChaincodeCodePackageStub func(ccname string, ccversion string) ([]byte, error) // contains filtered or unexported fields }
func (*PackageProvider) GetChaincodeCodePackage ¶ added in v1.3.0
func (fake *PackageProvider) GetChaincodeCodePackage(ccname string, ccversion string) ([]byte, error)
func (*PackageProvider) GetChaincodeCodePackageArgsForCall ¶ added in v1.3.0
func (fake *PackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
func (*PackageProvider) GetChaincodeCodePackageCallCount ¶ added in v1.3.0
func (fake *PackageProvider) GetChaincodeCodePackageCallCount() int
func (*PackageProvider) GetChaincodeCodePackageReturns ¶ added in v1.3.0
func (fake *PackageProvider) GetChaincodeCodePackageReturns(result1 []byte, result2 error)
func (*PackageProvider) GetChaincodeCodePackageReturnsOnCall ¶ added in v1.3.0
func (fake *PackageProvider) GetChaincodeCodePackageReturnsOnCall(i int, result1 []byte, result2 error)
func (*PackageProvider) Invocations ¶ added in v1.2.0
func (fake *PackageProvider) Invocations() map[string][][]interface{}
type PeerLedger ¶
type PeerLedger struct { GetBlockchainInfoStub func() (*common.BlockchainInfo, error) GetBlockByNumberStub func(blockNumber uint64) (*common.Block, error) GetBlocksIteratorStub func(startBlockNumber uint64) (commonledger.ResultsIterator, error) CloseStub func() GetTransactionByIDStub func(txID string) (*peer.ProcessedTransaction, error) GetBlockByHashStub func(blockHash []byte) (*common.Block, error) GetBlockByTxIDStub func(txID string) (*common.Block, error) GetTxValidationCodeByTxIDStub func(txID string) (peer.TxValidationCode, error) NewTxSimulatorStub func(txid string) (ledger.TxSimulator, error) NewQueryExecutorStub func() (ledger.QueryExecutor, error) NewHistoryQueryExecutorStub func() (ledger.HistoryQueryExecutor, error) GetPvtDataAndBlockByNumStub func(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error) GetPvtDataByNumStub func(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error) CommitWithPvtDataStub func(blockAndPvtdata *ledger.BlockAndPvtData) error PurgePrivateDataStub func(maxBlockNumToRetain uint64) error PrivateDataMinBlockNumStub func() (uint64, error) PruneStub func(policy commonledger.PrunePolicy) error GetConfigHistoryRetrieverStub func() (ledger.ConfigHistoryRetriever, error) CommitPvtDataStub func(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error) GetMissingPvtDataTrackerStub func() (ledger.MissingPvtDataTracker, error) // contains filtered or unexported fields }
func (*PeerLedger) Close ¶
func (fake *PeerLedger) Close()
func (*PeerLedger) CloseCallCount ¶
func (fake *PeerLedger) CloseCallCount() int
func (*PeerLedger) CommitPvtData ¶ added in v1.3.0
func (fake *PeerLedger) CommitPvtData(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
func (*PeerLedger) CommitPvtDataArgsForCall ¶ added in v1.3.0
func (fake *PeerLedger) CommitPvtDataArgsForCall(i int) []*ledger.BlockPvtData
func (*PeerLedger) CommitPvtDataCallCount ¶ added in v1.3.0
func (fake *PeerLedger) CommitPvtDataCallCount() int
func (*PeerLedger) CommitPvtDataReturns ¶ added in v1.3.0
func (fake *PeerLedger) CommitPvtDataReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
func (*PeerLedger) CommitPvtDataReturnsOnCall ¶ added in v1.3.0
func (fake *PeerLedger) CommitPvtDataReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
func (*PeerLedger) CommitWithPvtData ¶ added in v1.2.0
func (fake *PeerLedger) CommitWithPvtData(blockAndPvtdata *ledger.BlockAndPvtData) error
func (*PeerLedger) CommitWithPvtDataArgsForCall ¶ added in v1.2.0
func (fake *PeerLedger) CommitWithPvtDataArgsForCall(i int) *ledger.BlockAndPvtData
func (*PeerLedger) CommitWithPvtDataCallCount ¶ added in v1.2.0
func (fake *PeerLedger) CommitWithPvtDataCallCount() int
func (*PeerLedger) CommitWithPvtDataReturns ¶ added in v1.2.0
func (fake *PeerLedger) CommitWithPvtDataReturns(result1 error)
func (*PeerLedger) CommitWithPvtDataReturnsOnCall ¶ added in v1.2.0
func (fake *PeerLedger) CommitWithPvtDataReturnsOnCall(i int, result1 error)
func (*PeerLedger) GetBlockByHash ¶
func (fake *PeerLedger) GetBlockByHash(blockHash []byte) (*common.Block, error)
func (*PeerLedger) GetBlockByHashArgsForCall ¶
func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
func (*PeerLedger) GetBlockByHashCallCount ¶
func (fake *PeerLedger) GetBlockByHashCallCount() int
func (*PeerLedger) GetBlockByHashReturns ¶
func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByHashReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByNumber ¶
func (fake *PeerLedger) GetBlockByNumber(blockNumber uint64) (*common.Block, error)
func (*PeerLedger) GetBlockByNumberArgsForCall ¶
func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
func (*PeerLedger) GetBlockByNumberCallCount ¶
func (fake *PeerLedger) GetBlockByNumberCallCount() int
func (*PeerLedger) GetBlockByNumberReturns ¶
func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByNumberReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByTxID ¶
func (fake *PeerLedger) GetBlockByTxID(txID string) (*common.Block, error)
func (*PeerLedger) GetBlockByTxIDArgsForCall ¶
func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
func (*PeerLedger) GetBlockByTxIDCallCount ¶
func (fake *PeerLedger) GetBlockByTxIDCallCount() int
func (*PeerLedger) GetBlockByTxIDReturns ¶
func (fake *PeerLedger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByTxIDReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockchainInfo ¶
func (fake *PeerLedger) GetBlockchainInfo() (*common.BlockchainInfo, error)
func (*PeerLedger) GetBlockchainInfoCallCount ¶
func (fake *PeerLedger) GetBlockchainInfoCallCount() int
func (*PeerLedger) GetBlockchainInfoReturns ¶
func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
func (*PeerLedger) GetBlockchainInfoReturnsOnCall ¶
func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
func (*PeerLedger) GetBlocksIterator ¶
func (fake *PeerLedger) GetBlocksIterator(startBlockNumber uint64) (commonledger.ResultsIterator, error)
func (*PeerLedger) GetBlocksIteratorArgsForCall ¶
func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
func (*PeerLedger) GetBlocksIteratorCallCount ¶
func (fake *PeerLedger) GetBlocksIteratorCallCount() int
func (*PeerLedger) GetBlocksIteratorReturns ¶
func (fake *PeerLedger) GetBlocksIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
func (*PeerLedger) GetBlocksIteratorReturnsOnCall ¶
func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*PeerLedger) GetConfigHistoryRetriever ¶
func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
func (*PeerLedger) GetConfigHistoryRetrieverCallCount ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
func (*PeerLedger) GetConfigHistoryRetrieverReturns ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverReturns(result1 ledger.ConfigHistoryRetriever, result2 error)
func (*PeerLedger) GetConfigHistoryRetrieverReturnsOnCall ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverReturnsOnCall(i int, result1 ledger.ConfigHistoryRetriever, result2 error)
func (*PeerLedger) GetMissingPvtDataTracker ¶
func (fake *PeerLedger) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
func (*PeerLedger) GetMissingPvtDataTrackerCallCount ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerCallCount() int
func (*PeerLedger) GetMissingPvtDataTrackerReturns ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
func (*PeerLedger) GetMissingPvtDataTrackerReturnsOnCall ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
func (*PeerLedger) GetPvtDataAndBlockByNum ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNum(blockNum uint64, filter ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
func (*PeerLedger) GetPvtDataAndBlockByNumArgsForCall ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (*PeerLedger) GetPvtDataAndBlockByNumCallCount ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
func (*PeerLedger) GetPvtDataAndBlockByNumReturns ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
func (*PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
func (*PeerLedger) GetPvtDataByNum ¶
func (fake *PeerLedger) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
func (*PeerLedger) GetPvtDataByNumArgsForCall ¶
func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (*PeerLedger) GetPvtDataByNumCallCount ¶
func (fake *PeerLedger) GetPvtDataByNumCallCount() int
func (*PeerLedger) GetPvtDataByNumReturns ¶
func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
func (*PeerLedger) GetPvtDataByNumReturnsOnCall ¶
func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
func (*PeerLedger) GetTransactionByID ¶
func (fake *PeerLedger) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error)
func (*PeerLedger) GetTransactionByIDArgsForCall ¶
func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
func (*PeerLedger) GetTransactionByIDCallCount ¶
func (fake *PeerLedger) GetTransactionByIDCallCount() int
func (*PeerLedger) GetTransactionByIDReturns ¶
func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
func (*PeerLedger) GetTransactionByIDReturnsOnCall ¶
func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
func (*PeerLedger) GetTxValidationCodeByTxID ¶
func (fake *PeerLedger) GetTxValidationCodeByTxID(txID string) (peer.TxValidationCode, error)
func (*PeerLedger) GetTxValidationCodeByTxIDArgsForCall ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
func (*PeerLedger) GetTxValidationCodeByTxIDCallCount ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
func (*PeerLedger) GetTxValidationCodeByTxIDReturns ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDReturns(result1 peer.TxValidationCode, result2 error)
func (*PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peer.TxValidationCode, result2 error)
func (*PeerLedger) Invocations ¶
func (fake *PeerLedger) Invocations() map[string][][]interface{}
func (*PeerLedger) NewHistoryQueryExecutor ¶
func (fake *PeerLedger) NewHistoryQueryExecutor() (ledger.HistoryQueryExecutor, error)
func (*PeerLedger) NewHistoryQueryExecutorCallCount ¶
func (fake *PeerLedger) NewHistoryQueryExecutorCallCount() int
func (*PeerLedger) NewHistoryQueryExecutorReturns ¶
func (fake *PeerLedger) NewHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
func (*PeerLedger) NewHistoryQueryExecutorReturnsOnCall ¶
func (fake *PeerLedger) NewHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
func (*PeerLedger) NewQueryExecutor ¶
func (fake *PeerLedger) NewQueryExecutor() (ledger.QueryExecutor, error)
func (*PeerLedger) NewQueryExecutorCallCount ¶
func (fake *PeerLedger) NewQueryExecutorCallCount() int
func (*PeerLedger) NewQueryExecutorReturns ¶
func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
func (*PeerLedger) NewQueryExecutorReturnsOnCall ¶
func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
func (*PeerLedger) NewTxSimulator ¶
func (fake *PeerLedger) NewTxSimulator(txid string) (ledger.TxSimulator, error)
func (*PeerLedger) NewTxSimulatorArgsForCall ¶
func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
func (*PeerLedger) NewTxSimulatorCallCount ¶
func (fake *PeerLedger) NewTxSimulatorCallCount() int
func (*PeerLedger) NewTxSimulatorReturns ¶
func (fake *PeerLedger) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
func (*PeerLedger) NewTxSimulatorReturnsOnCall ¶
func (fake *PeerLedger) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
func (*PeerLedger) PrivateDataMinBlockNum ¶ added in v1.2.0
func (fake *PeerLedger) PrivateDataMinBlockNum() (uint64, error)
func (*PeerLedger) PrivateDataMinBlockNumCallCount ¶ added in v1.2.0
func (fake *PeerLedger) PrivateDataMinBlockNumCallCount() int
func (*PeerLedger) PrivateDataMinBlockNumReturns ¶ added in v1.2.0
func (fake *PeerLedger) PrivateDataMinBlockNumReturns(result1 uint64, result2 error)
func (*PeerLedger) PrivateDataMinBlockNumReturnsOnCall ¶ added in v1.2.0
func (fake *PeerLedger) PrivateDataMinBlockNumReturnsOnCall(i int, result1 uint64, result2 error)
func (*PeerLedger) Prune ¶ added in v1.2.0
func (fake *PeerLedger) Prune(policy commonledger.PrunePolicy) error
func (*PeerLedger) PruneArgsForCall ¶ added in v1.2.0
func (fake *PeerLedger) PruneArgsForCall(i int) commonledger.PrunePolicy
func (*PeerLedger) PruneCallCount ¶ added in v1.2.0
func (fake *PeerLedger) PruneCallCount() int
func (*PeerLedger) PruneReturns ¶ added in v1.2.0
func (fake *PeerLedger) PruneReturns(result1 error)
func (*PeerLedger) PruneReturnsOnCall ¶ added in v1.2.0
func (fake *PeerLedger) PruneReturnsOnCall(i int, result1 error)
func (*PeerLedger) PurgePrivateData ¶ added in v1.2.0
func (fake *PeerLedger) PurgePrivateData(maxBlockNumToRetain uint64) error
func (*PeerLedger) PurgePrivateDataArgsForCall ¶ added in v1.2.0
func (fake *PeerLedger) PurgePrivateDataArgsForCall(i int) uint64
func (*PeerLedger) PurgePrivateDataCallCount ¶ added in v1.2.0
func (fake *PeerLedger) PurgePrivateDataCallCount() int
func (*PeerLedger) PurgePrivateDataReturns ¶ added in v1.2.0
func (fake *PeerLedger) PurgePrivateDataReturns(result1 error)
func (*PeerLedger) PurgePrivateDataReturnsOnCall ¶ added in v1.2.0
func (fake *PeerLedger) PurgePrivateDataReturnsOnCall(i int, result1 error)
type Processor ¶ added in v1.2.0
type Processor struct { ProcessStub func(vmtype string, req container.VMCReq) error // contains filtered or unexported fields }
func (*Processor) Invocations ¶ added in v1.2.0
func (*Processor) ProcessArgsForCall ¶ added in v1.2.0
func (*Processor) ProcessCallCount ¶ added in v1.2.0
func (*Processor) ProcessReturns ¶ added in v1.2.0
func (*Processor) ProcessReturnsOnCall ¶ added in v1.2.0
type QueryResultsIterator ¶
type QueryResultsIterator struct { NextStub func() (ledger.QueryResult, error) CloseStub func() GetBookmarkAndCloseStub func() string // contains filtered or unexported fields }
func (*QueryResultsIterator) Close ¶
func (fake *QueryResultsIterator) Close()
func (*QueryResultsIterator) CloseCallCount ¶
func (fake *QueryResultsIterator) CloseCallCount() int
func (*QueryResultsIterator) GetBookmarkAndClose ¶
func (fake *QueryResultsIterator) GetBookmarkAndClose() string
func (*QueryResultsIterator) GetBookmarkAndCloseCallCount ¶
func (fake *QueryResultsIterator) GetBookmarkAndCloseCallCount() int
func (*QueryResultsIterator) GetBookmarkAndCloseReturns ¶
func (fake *QueryResultsIterator) GetBookmarkAndCloseReturns(result1 string)
func (*QueryResultsIterator) GetBookmarkAndCloseReturnsOnCall ¶
func (fake *QueryResultsIterator) GetBookmarkAndCloseReturnsOnCall(i int, result1 string)
func (*QueryResultsIterator) Invocations ¶
func (fake *QueryResultsIterator) Invocations() map[string][][]interface{}
func (*QueryResultsIterator) Next ¶
func (fake *QueryResultsIterator) Next() (ledger.QueryResult, error)
func (*QueryResultsIterator) NextCallCount ¶
func (fake *QueryResultsIterator) NextCallCount() int
func (*QueryResultsIterator) NextReturns ¶
func (fake *QueryResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)
func (*QueryResultsIterator) NextReturnsOnCall ¶
func (fake *QueryResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)
type Runtime ¶
type Runtime struct { StartStub func(ccci *ccprovider.ChaincodeContainerInfo, codePackage []byte) error StopStub func(ccci *ccprovider.ChaincodeContainerInfo) error // contains filtered or unexported fields }
func (*Runtime) Invocations ¶
func (*Runtime) Start ¶
func (fake *Runtime) Start(ccci *ccprovider.ChaincodeContainerInfo, codePackage []byte) error
func (*Runtime) StartArgsForCall ¶
func (fake *Runtime) StartArgsForCall(i int) (*ccprovider.ChaincodeContainerInfo, []byte)
func (*Runtime) StartCallCount ¶
func (*Runtime) StartReturns ¶
func (*Runtime) StartReturnsOnCall ¶
func (*Runtime) Stop ¶
func (fake *Runtime) Stop(ccci *ccprovider.ChaincodeContainerInfo) error
func (*Runtime) StopArgsForCall ¶
func (fake *Runtime) StopArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
func (*Runtime) StopCallCount ¶
func (*Runtime) StopReturns ¶
func (*Runtime) StopReturnsOnCall ¶
type SystemCCProvider ¶ added in v1.2.0
type SystemCCProvider struct { IsSysCCStub func(name string) bool IsSysCCAndNotInvokableCC2CCStub func(name string) bool // contains filtered or unexported fields }
func (*SystemCCProvider) Invocations ¶ added in v1.2.0
func (fake *SystemCCProvider) Invocations() map[string][][]interface{}
func (*SystemCCProvider) IsSysCC ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCC(name string) bool
func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CC ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CC(name string) bool
func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturns ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturns(result1 bool)
func (*SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCReturnsOnCall(i int, result1 bool)
func (*SystemCCProvider) IsSysCCArgsForCall ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCArgsForCall(i int) string
func (*SystemCCProvider) IsSysCCCallCount ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCCallCount() int
func (*SystemCCProvider) IsSysCCReturns ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCReturns(result1 bool)
func (*SystemCCProvider) IsSysCCReturnsOnCall ¶ added in v1.2.0
func (fake *SystemCCProvider) IsSysCCReturnsOnCall(i int, result1 bool)
type TransactionRegistry ¶
type TransactionRegistry struct { AddStub func(channelID, txID string) bool RemoveStub func(channelID, txID string) // contains filtered or unexported fields }
func (*TransactionRegistry) Add ¶
func (fake *TransactionRegistry) Add(channelID string, txID string) bool
func (*TransactionRegistry) AddArgsForCall ¶
func (fake *TransactionRegistry) AddArgsForCall(i int) (string, string)
func (*TransactionRegistry) AddCallCount ¶
func (fake *TransactionRegistry) AddCallCount() int
func (*TransactionRegistry) AddReturns ¶
func (fake *TransactionRegistry) AddReturns(result1 bool)
func (*TransactionRegistry) AddReturnsOnCall ¶
func (fake *TransactionRegistry) AddReturnsOnCall(i int, result1 bool)
func (*TransactionRegistry) Invocations ¶
func (fake *TransactionRegistry) Invocations() map[string][][]interface{}
func (*TransactionRegistry) Remove ¶
func (fake *TransactionRegistry) Remove(channelID string, txID string)
func (*TransactionRegistry) RemoveArgsForCall ¶
func (fake *TransactionRegistry) RemoveArgsForCall(i int) (string, string)
func (*TransactionRegistry) RemoveCallCount ¶
func (fake *TransactionRegistry) RemoveCallCount() int
type TxSimulator ¶
type TxSimulator struct { GetStateStub func(namespace string, key string) ([]byte, error) GetStateRangeScanIteratorStub func(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error) GetStateMetadataStub func(namespace, key string) (map[string][]byte, error) GetStateMultipleKeysStub func(namespace string, keys []string) ([][]byte, error) GetStateRangeScanIteratorWithMetadataStub func(namespace string, startKey, endKey string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error) ExecuteQueryStub func(namespace, query string) (commonledger.ResultsIterator, error) ExecuteQueryWithMetadataStub func(namespace, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error) GetPrivateDataStub func(namespace, collection, key string) ([]byte, error) GetPrivateDataMetadataStub func(namespace, collection, key string) (map[string][]byte, error) GetPrivateDataMetadataByHashStub func(namespace, collection string, keyhash []byte) (map[string][]byte, error) GetPrivateDataMultipleKeysStub func(namespace, collection string, keys []string) ([][]byte, error) GetPrivateDataRangeScanIteratorStub func(namespace, collection, startKey, endKey string) (commonledger.ResultsIterator, error) ExecuteQueryOnPrivateDataStub func(namespace, collection, query string) (commonledger.ResultsIterator, error) DoneStub func() SetStateStub func(namespace string, key string, value []byte) error DeleteStateStub func(namespace string, key string) error SetStateMultipleKeysStub func(namespace string, kvs map[string][]byte) error SetStateMetadataStub func(namespace, key string, metadata map[string][]byte) error DeleteStateMetadataStub func(namespace, key string) error ExecuteUpdateStub func(query string) error SetPrivateDataStub func(namespace, collection, key string, value []byte) error SetPrivateDataMultipleKeysStub func(namespace, collection string, kvs map[string][]byte) error DeletePrivateDataStub func(namespace, collection, key string) error SetPrivateDataMetadataStub func(namespace, collection, key string, metadata map[string][]byte) error DeletePrivateDataMetadataStub func(namespace, collection, key string) error GetTxSimulationResultsStub func() (*ledger.TxSimulationResults, error) // contains filtered or unexported fields }
func (*TxSimulator) DeletePrivateData ¶
func (fake *TxSimulator) DeletePrivateData(namespace string, collection string, key string) error
func (*TxSimulator) DeletePrivateDataArgsForCall ¶
func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) DeletePrivateDataCallCount ¶
func (fake *TxSimulator) DeletePrivateDataCallCount() int
func (*TxSimulator) DeletePrivateDataMetadata ¶
func (fake *TxSimulator) DeletePrivateDataMetadata(namespace string, collection string, key string) error
func (*TxSimulator) DeletePrivateDataMetadataArgsForCall ¶
func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
func (*TxSimulator) DeletePrivateDataMetadataCallCount ¶
func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
func (*TxSimulator) DeletePrivateDataMetadataReturns ¶
func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)
func (*TxSimulator) DeletePrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeletePrivateDataReturns ¶
func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)
func (*TxSimulator) DeletePrivateDataReturnsOnCall ¶
func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeleteState ¶
func (fake *TxSimulator) DeleteState(namespace string, key string) error
func (*TxSimulator) DeleteStateArgsForCall ¶
func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
func (*TxSimulator) DeleteStateCallCount ¶
func (fake *TxSimulator) DeleteStateCallCount() int
func (*TxSimulator) DeleteStateMetadata ¶
func (fake *TxSimulator) DeleteStateMetadata(namespace string, key string) error
func (*TxSimulator) DeleteStateMetadataArgsForCall ¶
func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
func (*TxSimulator) DeleteStateMetadataCallCount ¶
func (fake *TxSimulator) DeleteStateMetadataCallCount() int
func (*TxSimulator) DeleteStateMetadataReturns ¶
func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)
func (*TxSimulator) DeleteStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeleteStateReturns ¶
func (fake *TxSimulator) DeleteStateReturns(result1 error)
func (*TxSimulator) DeleteStateReturnsOnCall ¶
func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)
func (*TxSimulator) Done ¶
func (fake *TxSimulator) Done()
func (*TxSimulator) DoneCallCount ¶
func (fake *TxSimulator) DoneCallCount() int
func (*TxSimulator) ExecuteQuery ¶
func (fake *TxSimulator) ExecuteQuery(namespace string, query string) (commonledger.ResultsIterator, error)
func (*TxSimulator) ExecuteQueryArgsForCall ¶
func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
func (*TxSimulator) ExecuteQueryCallCount ¶
func (fake *TxSimulator) ExecuteQueryCallCount() int
func (*TxSimulator) ExecuteQueryOnPrivateData ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (commonledger.ResultsIterator, error)
func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
func (*TxSimulator) ExecuteQueryOnPrivateDataReturns ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryReturns ¶
func (fake *TxSimulator) ExecuteQueryReturns(result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryReturnsOnCall ¶
func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryWithMetadata ¶ added in v1.3.0
func (fake *TxSimulator) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
func (*TxSimulator) ExecuteQueryWithMetadataArgsForCall ¶ added in v1.3.0
func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
func (*TxSimulator) ExecuteQueryWithMetadataCallCount ¶ added in v1.3.0
func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
func (*TxSimulator) ExecuteQueryWithMetadataReturns ¶ added in v1.3.0
func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryWithMetadataReturnsOnCall ¶ added in v1.3.0
func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)
func (*TxSimulator) ExecuteUpdate ¶
func (fake *TxSimulator) ExecuteUpdate(query string) error
func (*TxSimulator) ExecuteUpdateArgsForCall ¶
func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
func (*TxSimulator) ExecuteUpdateCallCount ¶
func (fake *TxSimulator) ExecuteUpdateCallCount() int
func (*TxSimulator) ExecuteUpdateReturns ¶
func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
func (*TxSimulator) ExecuteUpdateReturnsOnCall ¶
func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
func (*TxSimulator) GetPrivateData ¶
func (*TxSimulator) GetPrivateDataArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetPrivateDataCallCount ¶
func (fake *TxSimulator) GetPrivateDataCallCount() int
func (*TxSimulator) GetPrivateDataMetadata ¶
func (*TxSimulator) GetPrivateDataMetadataArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetPrivateDataMetadataByHash ¶
func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
func (*TxSimulator) GetPrivateDataMetadataByHashCallCount ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
func (*TxSimulator) GetPrivateDataMetadataByHashReturns ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataCallCount ¶
func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int
func (*TxSimulator) GetPrivateDataMetadataReturns ¶
func (fake *TxSimulator) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMultipleKeys ¶
func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
func (*TxSimulator) GetPrivateDataMultipleKeysCallCount ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
func (*TxSimulator) GetPrivateDataMultipleKeysReturns ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*TxSimulator) GetPrivateDataRangeScanIterator ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (commonledger.ResultsIterator, error)
func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall ¶
func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) GetPrivateDataReturns ¶
func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)
func (*TxSimulator) GetPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetState ¶
func (fake *TxSimulator) GetState(namespace string, key string) ([]byte, error)
func (*TxSimulator) GetStateArgsForCall ¶
func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
func (*TxSimulator) GetStateCallCount ¶
func (fake *TxSimulator) GetStateCallCount() int
func (*TxSimulator) GetStateMetadata ¶
func (*TxSimulator) GetStateMetadataArgsForCall ¶
func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
func (*TxSimulator) GetStateMetadataCallCount ¶
func (fake *TxSimulator) GetStateMetadataCallCount() int
func (*TxSimulator) GetStateMetadataReturns ¶
func (fake *TxSimulator) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetStateMultipleKeys ¶
func (fake *TxSimulator) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
func (*TxSimulator) GetStateMultipleKeysArgsForCall ¶
func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
func (*TxSimulator) GetStateMultipleKeysCallCount ¶
func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
func (*TxSimulator) GetStateMultipleKeysReturns ¶
func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
func (*TxSimulator) GetStateMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*TxSimulator) GetStateRangeScanIterator ¶
func (fake *TxSimulator) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (commonledger.ResultsIterator, error)
func (*TxSimulator) GetStateRangeScanIteratorArgsForCall ¶
func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetStateRangeScanIteratorCallCount ¶
func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
func (*TxSimulator) GetStateRangeScanIteratorReturns ¶
func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadata ¶ added in v1.3.0
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall ¶ added in v1.3.0
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount ¶ added in v1.3.0
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturns ¶ added in v1.3.0
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall ¶ added in v1.3.0
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)
func (*TxSimulator) GetStateReturns ¶
func (fake *TxSimulator) GetStateReturns(result1 []byte, result2 error)
func (*TxSimulator) GetStateReturnsOnCall ¶
func (fake *TxSimulator) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetTxSimulationResults ¶
func (fake *TxSimulator) GetTxSimulationResults() (*ledger.TxSimulationResults, error)
func (*TxSimulator) GetTxSimulationResultsCallCount ¶
func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
func (*TxSimulator) GetTxSimulationResultsReturns ¶
func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledger.TxSimulationResults, result2 error)
func (*TxSimulator) GetTxSimulationResultsReturnsOnCall ¶
func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledger.TxSimulationResults, result2 error)
func (*TxSimulator) Invocations ¶
func (fake *TxSimulator) Invocations() map[string][][]interface{}
func (*TxSimulator) SetPrivateData ¶
func (*TxSimulator) SetPrivateDataArgsForCall ¶
func (*TxSimulator) SetPrivateDataCallCount ¶
func (fake *TxSimulator) SetPrivateDataCallCount() int
func (*TxSimulator) SetPrivateDataMetadata ¶
func (*TxSimulator) SetPrivateDataMetadataArgsForCall ¶
func (*TxSimulator) SetPrivateDataMetadataCallCount ¶
func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
func (*TxSimulator) SetPrivateDataMetadataReturns ¶
func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetPrivateDataMultipleKeys ¶
func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall ¶
func (*TxSimulator) SetPrivateDataMultipleKeysCallCount ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
func (*TxSimulator) SetPrivateDataMultipleKeysReturns ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)
func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetPrivateDataReturns ¶
func (fake *TxSimulator) SetPrivateDataReturns(result1 error)
func (*TxSimulator) SetPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetState ¶
func (fake *TxSimulator) SetState(namespace string, key string, value []byte) error
func (*TxSimulator) SetStateArgsForCall ¶
func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
func (*TxSimulator) SetStateCallCount ¶
func (fake *TxSimulator) SetStateCallCount() int
func (*TxSimulator) SetStateMetadata ¶
func (*TxSimulator) SetStateMetadataArgsForCall ¶
func (*TxSimulator) SetStateMetadataCallCount ¶
func (fake *TxSimulator) SetStateMetadataCallCount() int
func (*TxSimulator) SetStateMetadataReturns ¶
func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
func (*TxSimulator) SetStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetStateMultipleKeys ¶
func (fake *TxSimulator) SetStateMultipleKeys(namespace string, kvs map[string][]byte) error
func (*TxSimulator) SetStateMultipleKeysArgsForCall ¶
func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
func (*TxSimulator) SetStateMultipleKeysCallCount ¶
func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
func (*TxSimulator) SetStateMultipleKeysReturns ¶
func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)
func (*TxSimulator) SetStateMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetStateReturns ¶
func (fake *TxSimulator) SetStateReturns(result1 error)
func (*TxSimulator) SetStateReturnsOnCall ¶
func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)
Source Files ¶
- acl_provider.go
- cert_generator.go
- chaincode_definition_getter.go
- chaincode_stream.go
- history_query_executor.go
- instantiation_policy_checker.go
- invoker.go
- ledger_getter.go
- lifecycle.go
- package_provider.go
- peer_ledger.go
- processor.go
- results_iterator.go
- runtime.go
- system_chaincode_provider.go
- transaction_registry.go
- tx_simulator.go