Package mock
import "github.com/hyperledger/fabric/core/chaincode/mock"
- Overview
- Index
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.
Code generated by counterfeiter. DO NOT EDIT.
- type ACLProvider
- func (fake *ACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
- func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
- func (fake *ACLProvider) CheckACLCallCount() int
- func (fake *ACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
- 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(arg1 string) (*accesscontrol.CertAndPrivKeyPair, error)
- func (fake *CertGenerator) GenerateArgsForCall(i int) string
- func (fake *CertGenerator) GenerateCallCount() int
- func (fake *CertGenerator) GenerateCalls(stub func(string) (*accesscontrol.CertAndPrivKeyPair, error))
- 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(arg1 string, arg2 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCallCount() int
- func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCalls(stub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error))
- 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() (*peer.ChaincodeMessage, error)
- func (fake *ChaincodeStream) RecvCallCount() int
- func (fake *ChaincodeStream) RecvCalls(stub func() (*peer.ChaincodeMessage, error))
- func (fake *ChaincodeStream) RecvReturns(result1 *peer.ChaincodeMessage, result2 error)
- func (fake *ChaincodeStream) RecvReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)
- func (fake *ChaincodeStream) Send(arg1 *peer.ChaincodeMessage) error
- func (fake *ChaincodeStream) SendArgsForCall(i int) *peer.ChaincodeMessage
- func (fake *ChaincodeStream) SendCallCount() int
- func (fake *ChaincodeStream) SendCalls(stub func(*peer.ChaincodeMessage) error)
- func (fake *ChaincodeStream) SendReturns(result1 error)
- func (fake *ChaincodeStream) SendReturnsOnCall(i int, result1 error)
- type CollectionStore
- func (fake *CollectionStore) AccessFilter(arg1 string, arg2 *common.CollectionPolicyConfig) (privdata.Filter, error)
- func (fake *CollectionStore) AccessFilterArgsForCall(i int) (string, *common.CollectionPolicyConfig)
- func (fake *CollectionStore) AccessFilterCallCount() int
- func (fake *CollectionStore) AccessFilterCalls(stub func(string, *common.CollectionPolicyConfig) (privdata.Filter, error))
- func (fake *CollectionStore) AccessFilterReturns(result1 privdata.Filter, result2 error)
- func (fake *CollectionStore) AccessFilterReturnsOnCall(i int, result1 privdata.Filter, result2 error)
- func (fake *CollectionStore) HasReadAccess(arg1 common.CollectionCriteria, arg2 *peer.SignedProposal, arg3 ledger.QueryExecutor) (bool, error)
- func (fake *CollectionStore) HasReadAccessArgsForCall(i int) (common.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor)
- func (fake *CollectionStore) HasReadAccessCallCount() int
- func (fake *CollectionStore) HasReadAccessCalls(stub func(common.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor) (bool, error))
- func (fake *CollectionStore) HasReadAccessReturns(result1 bool, result2 error)
- func (fake *CollectionStore) HasReadAccessReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *CollectionStore) Invocations() map[string][][]interface{}
- func (fake *CollectionStore) RetrieveCollection(arg1 common.CollectionCriteria) (privdata.Collection, error)
- func (fake *CollectionStore) RetrieveCollectionAccessPolicy(arg1 common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)
- func (fake *CollectionStore) RetrieveCollectionAccessPolicyArgsForCall(i int) common.CollectionCriteria
- func (fake *CollectionStore) RetrieveCollectionAccessPolicyCallCount() int
- func (fake *CollectionStore) RetrieveCollectionAccessPolicyCalls(stub func(common.CollectionCriteria) (privdata.CollectionAccessPolicy, error))
- func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturns(result1 privdata.CollectionAccessPolicy, result2 error)
- func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturnsOnCall(i int, result1 privdata.CollectionAccessPolicy, result2 error)
- func (fake *CollectionStore) RetrieveCollectionArgsForCall(i int) common.CollectionCriteria
- func (fake *CollectionStore) RetrieveCollectionCallCount() int
- func (fake *CollectionStore) RetrieveCollectionCalls(stub func(common.CollectionCriteria) (privdata.Collection, error))
- func (fake *CollectionStore) RetrieveCollectionConfigPackage(arg1 common.CollectionCriteria) (*common.CollectionConfigPackage, error)
- func (fake *CollectionStore) RetrieveCollectionConfigPackageArgsForCall(i int) common.CollectionCriteria
- func (fake *CollectionStore) RetrieveCollectionConfigPackageCallCount() int
- func (fake *CollectionStore) RetrieveCollectionConfigPackageCalls(stub func(common.CollectionCriteria) (*common.CollectionConfigPackage, error))
- func (fake *CollectionStore) RetrieveCollectionConfigPackageReturns(result1 *common.CollectionConfigPackage, result2 error)
- func (fake *CollectionStore) RetrieveCollectionConfigPackageReturnsOnCall(i int, result1 *common.CollectionConfigPackage, result2 error)
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigs(arg1 common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsArgsForCall(i int) common.CollectionCriteria
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCallCount() int
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCalls(stub func(common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error))
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturns(result1 privdata.CollectionPersistenceConfigs, result2 error)
- func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturnsOnCall(i int, result1 privdata.CollectionPersistenceConfigs, result2 error)
- func (fake *CollectionStore) RetrieveCollectionReturns(result1 privdata.Collection, result2 error)
- func (fake *CollectionStore) RetrieveCollectionReturnsOnCall(i int, result1 privdata.Collection, result2 error)
- type HistoryQueryExecutor
- func (fake *HistoryQueryExecutor) GetHistoryForKey(arg1 string, arg2 string) (ledger.ResultsIterator, error)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyArgsForCall(i int) (string, string)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int
- func (fake *HistoryQueryExecutor) GetHistoryForKeyCalls(stub func(string, string) (ledger.ResultsIterator, error))
- func (fake *HistoryQueryExecutor) GetHistoryForKeyReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *HistoryQueryExecutor) Invocations() map[string][][]interface{}
- type InstantiationPolicyChecker
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicy(arg1 string, arg2 string, arg3 *ccprovider.ChaincodeData) error
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall(i int) (string, string, *ccprovider.ChaincodeData)
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCallCount() int
- func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCalls(stub func(string, string, *ccprovider.ChaincodeData) error)
- 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(arg1 *ccprovider.TransactionParams, arg2 *ccprovider.CCContext, arg3 *peer.ChaincodeInput) (*peer.ChaincodeMessage, error)
- func (fake *Invoker) InvokeArgsForCall(i int) (*ccprovider.TransactionParams, *ccprovider.CCContext, *peer.ChaincodeInput)
- func (fake *Invoker) InvokeCallCount() int
- func (fake *Invoker) InvokeCalls(stub func(*ccprovider.TransactionParams, *ccprovider.CCContext, *peer.ChaincodeInput) (*peer.ChaincodeMessage, error))
- func (fake *Invoker) InvokeReturns(result1 *peer.ChaincodeMessage, result2 error)
- func (fake *Invoker) InvokeReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)
- type LedgerGetter
- func (fake *LedgerGetter) GetLedger(arg1 string) ledger.PeerLedger
- func (fake *LedgerGetter) GetLedgerArgsForCall(i int) string
- func (fake *LedgerGetter) GetLedgerCallCount() int
- func (fake *LedgerGetter) GetLedgerCalls(stub func(string) ledger.PeerLedger)
- 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(arg1 string, arg2 ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)
- func (fake *Lifecycle) ChaincodeContainerInfoArgsForCall(i int) (string, ledger.QueryExecutor)
- func (fake *Lifecycle) ChaincodeContainerInfoCallCount() int
- func (fake *Lifecycle) ChaincodeContainerInfoCalls(stub func(string, ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error))
- func (fake *Lifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)
- func (fake *Lifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)
- func (fake *Lifecycle) ChaincodeDefinition(arg1 string, arg2 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
- func (fake *Lifecycle) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
- func (fake *Lifecycle) ChaincodeDefinitionCallCount() int
- func (fake *Lifecycle) ChaincodeDefinitionCalls(stub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error))
- 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(arg1 string, arg2 string) ([]byte, error)
- func (fake *PackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
- func (fake *PackageProvider) GetChaincodeCodePackageCallCount() int
- func (fake *PackageProvider) GetChaincodeCodePackageCalls(stub func(string, string) ([]byte, error))
- 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) CloseCalls(stub func())
- func (fake *PeerLedger) CommitPvtDataOfOldBlocks(arg1 []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksArgsForCall(i int) []*ledger.BlockPvtData
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksCallCount() int
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksCalls(stub func([]*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error))
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) CommitWithPvtData(arg1 *ledger.BlockAndPvtData, arg2 *ledger.CommitOptions) error
- func (fake *PeerLedger) CommitWithPvtDataArgsForCall(i int) (*ledger.BlockAndPvtData, *ledger.CommitOptions)
- func (fake *PeerLedger) CommitWithPvtDataCallCount() int
- func (fake *PeerLedger) CommitWithPvtDataCalls(stub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error)
- func (fake *PeerLedger) CommitWithPvtDataReturns(result1 error)
- func (fake *PeerLedger) CommitWithPvtDataReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) DoesPvtDataInfoExist(arg1 uint64) (bool, error)
- func (fake *PeerLedger) DoesPvtDataInfoExistArgsForCall(i int) uint64
- func (fake *PeerLedger) DoesPvtDataInfoExistCallCount() int
- func (fake *PeerLedger) DoesPvtDataInfoExistCalls(stub func(uint64) (bool, error))
- func (fake *PeerLedger) DoesPvtDataInfoExistReturns(result1 bool, result2 error)
- func (fake *PeerLedger) DoesPvtDataInfoExistReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *PeerLedger) GetBlockByHash(arg1 []byte) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
- func (fake *PeerLedger) GetBlockByHashCallCount() int
- func (fake *PeerLedger) GetBlockByHashCalls(stub func([]byte) (*common.Block, error))
- func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumber(arg1 uint64) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlockByNumberCallCount() int
- func (fake *PeerLedger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))
- func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByTxID(arg1 string) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetBlockByTxIDCallCount() int
- func (fake *PeerLedger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))
- 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) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
- func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlocksIterator(arg1 uint64) (ledgera.ResultsIterator, error)
- func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlocksIteratorCallCount() int
- func (fake *PeerLedger) GetBlocksIteratorCalls(stub func(uint64) (ledgera.ResultsIterator, error))
- func (fake *PeerLedger) GetBlocksIteratorReturns(result1 ledgera.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
- func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
- func (fake *PeerLedger) GetConfigHistoryRetrieverCalls(stub func() (ledger.ConfigHistoryRetriever, error))
- 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) GetMissingPvtDataTrackerCalls(stub func() (ledger.MissingPvtDataTracker, error))
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataAndBlockByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error))
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
- func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error))
- func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetTransactionByID(arg1 string) (*peer.ProcessedTransaction, error)
- func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTransactionByIDCallCount() int
- func (fake *PeerLedger) GetTransactionByIDCalls(stub func(string) (*peer.ProcessedTransaction, error))
- func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTxValidationCodeByTxID(arg1 string) (peer.TxValidationCode, error)
- func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
- func (fake *PeerLedger) GetTxValidationCodeByTxIDCalls(stub func(string) (peer.TxValidationCode, error))
- 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) NewHistoryQueryExecutorCalls(stub func() (ledger.HistoryQueryExecutor, error))
- 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) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))
- func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
- func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
- func (fake *PeerLedger) NewTxSimulatorCallCount() int
- func (fake *PeerLedger) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
- 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) PrivateDataMinBlockNumCalls(stub func() (uint64, error))
- func (fake *PeerLedger) PrivateDataMinBlockNumReturns(result1 uint64, result2 error)
- func (fake *PeerLedger) PrivateDataMinBlockNumReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *PeerLedger) Prune(arg1 ledgera.PrunePolicy) error
- func (fake *PeerLedger) PruneArgsForCall(i int) ledgera.PrunePolicy
- func (fake *PeerLedger) PruneCallCount() int
- func (fake *PeerLedger) PruneCalls(stub func(ledgera.PrunePolicy) error)
- func (fake *PeerLedger) PruneReturns(result1 error)
- func (fake *PeerLedger) PruneReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) PurgePrivateData(arg1 uint64) error
- func (fake *PeerLedger) PurgePrivateDataArgsForCall(i int) uint64
- func (fake *PeerLedger) PurgePrivateDataCallCount() int
- func (fake *PeerLedger) PurgePrivateDataCalls(stub func(uint64) error)
- 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(arg1 string, arg2 container.VMCReq) error
- func (fake *Processor) ProcessArgsForCall(i int) (string, container.VMCReq)
- func (fake *Processor) ProcessCallCount() int
- func (fake *Processor) ProcessCalls(stub func(string, container.VMCReq) error)
- 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) CloseCalls(stub func())
- func (fake *QueryResultsIterator) GetBookmarkAndClose() string
- func (fake *QueryResultsIterator) GetBookmarkAndCloseCallCount() int
- func (fake *QueryResultsIterator) GetBookmarkAndCloseCalls(stub func() string)
- 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) NextCalls(stub func() (ledger.QueryResult, error))
- 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(arg1 *ccprovider.ChaincodeContainerInfo, arg2 []byte) error
- func (fake *Runtime) StartArgsForCall(i int) (*ccprovider.ChaincodeContainerInfo, []byte)
- func (fake *Runtime) StartCallCount() int
- func (fake *Runtime) StartCalls(stub func(*ccprovider.ChaincodeContainerInfo, []byte) error)
- func (fake *Runtime) StartReturns(result1 error)
- func (fake *Runtime) StartReturnsOnCall(i int, result1 error)
- func (fake *Runtime) Stop(arg1 *ccprovider.ChaincodeContainerInfo) error
- func (fake *Runtime) StopArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
- func (fake *Runtime) StopCallCount() int
- func (fake *Runtime) StopCalls(stub func(*ccprovider.ChaincodeContainerInfo) error)
- func (fake *Runtime) StopReturns(result1 error)
- func (fake *Runtime) StopReturnsOnCall(i int, result1 error)
- func (fake *Runtime) Wait(arg1 *ccprovider.ChaincodeContainerInfo) (int, error)
- func (fake *Runtime) WaitArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
- func (fake *Runtime) WaitCallCount() int
- func (fake *Runtime) WaitCalls(stub func(*ccprovider.ChaincodeContainerInfo) (int, error))
- func (fake *Runtime) WaitReturns(result1 int, result2 error)
- func (fake *Runtime) WaitReturnsOnCall(i int, result1 int, result2 error)
- type SystemCCProvider
- func (fake *SystemCCProvider) Invocations() map[string][][]interface{}
- func (fake *SystemCCProvider) IsSysCC(arg1 string) bool
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CC(arg1 string) bool
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
- func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCalls(stub func(string) bool)
- 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) IsSysCCCalls(stub func(string) bool)
- func (fake *SystemCCProvider) IsSysCCReturns(result1 bool)
- func (fake *SystemCCProvider) IsSysCCReturnsOnCall(i int, result1 bool)
- type TransactionRegistry
- func (fake *TransactionRegistry) Add(arg1 string, arg2 string) bool
- func (fake *TransactionRegistry) AddArgsForCall(i int) (string, string)
- func (fake *TransactionRegistry) AddCallCount() int
- func (fake *TransactionRegistry) AddCalls(stub func(string, string) bool)
- 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(arg1 string, arg2 string)
- func (fake *TransactionRegistry) RemoveArgsForCall(i int) (string, string)
- func (fake *TransactionRegistry) RemoveCallCount() int
- func (fake *TransactionRegistry) RemoveCalls(stub func(string, string))
- type TxSimulator
- func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error
- func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)
- func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error
- func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)
- 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(arg1 string, arg2 string) error
- func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateCallCount() int
- func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)
- func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error
- func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateMetadataCallCount() int
- func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)
- 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) DoneCalls(stub func())
- func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
- func (fake *TxSimulator) ExecuteQueryCallCount() int
- func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
- func (fake *TxSimulator) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteUpdate(arg1 string) error
- func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
- func (fake *TxSimulator) ExecuteUpdateCallCount() int
- func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)
- func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
- func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)
- func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataCallCount() int
- func (fake *TxSimulator) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))
- func (fake *TxSimulator) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) ([]byte, error)
- func (fake *TxSimulator) GetPrivateDataHashArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataHashCallCount() int
- func (fake *TxSimulator) GetPrivateDataHashCalls(stub func(string, string, string) ([]byte, error))
- func (fake *TxSimulator) GetPrivateDataHashReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))
- 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) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))
- 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(arg1 string, arg2 string, arg3 []string) ([][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.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(arg1 string, arg2 string) ([]byte, error)
- func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateCallCount() int
- func (fake *TxSimulator) GetStateCalls(stub func(string, string) ([]byte, error))
- func (fake *TxSimulator) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)
- func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateMetadataCallCount() int
- func (fake *TxSimulator) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))
- 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(arg1 string, arg2 []string) ([][]byte, error)
- func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
- func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
- func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.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() (*ledgera.TxSimulationResults, error)
- func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
- func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledgera.TxSimulationResults, error))
- func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledgera.TxSimulationResults, result2 error)
- func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledgera.TxSimulationResults, result2 error)
- func (fake *TxSimulator) Invocations() map[string][][]interface{}
- func (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []byte) error
- func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)
- func (fake *TxSimulator) SetPrivateDataCallCount() int
- func (fake *TxSimulator) SetPrivateDataCalls(stub func(string, string, string, []byte) error)
- func (fake *TxSimulator) SetPrivateDataMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
- func (fake *TxSimulator) SetPrivateDataMetadataCalls(stub func(string, string, string, map[string][]byte) error)
- func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) SetPrivateDataMultipleKeysCalls(stub func(string, string, map[string][]byte) error)
- 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(arg1 string, arg2 string, arg3 []byte) error
- func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) SetStateCallCount() int
- func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)
- func (fake *TxSimulator) SetStateMetadata(arg1 string, arg2 string, arg3 map[string][]byte) error
- func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetStateMetadataCallCount() int
- func (fake *TxSimulator) SetStateMetadataCalls(stub func(string, string, map[string][]byte) error)
- func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
- func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetStateMultipleKeys(arg1 string, arg2 map[string][]byte) error
- func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
- func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)
- 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)
Package files
acl_provider.go
cert_generator.go
chaincode_definition_getter.go
chaincode_stream.go
collection_store.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
type ACLProvider struct {
CheckACLStub func(string, string, interface{}) error
}
func (*ACLProvider) CheckACL
¶
func (fake *ACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
func (fake *ACLProvider) CheckACLCallCount() int
func (fake *ACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
func (fake *ACLProvider) CheckACLReturns(result1 error)
func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)
func (fake *ACLProvider) Invocations() map[string][][]interface{}
type CertGenerator struct {
GenerateStub func(string) (*accesscontrol.CertAndPrivKeyPair, error)
}
func (*CertGenerator) Generate
¶
func (fake *CertGenerator) Generate(arg1 string) (*accesscontrol.CertAndPrivKeyPair, error)
func (fake *CertGenerator) GenerateArgsForCall(i int) string
func (fake *CertGenerator) GenerateCallCount() int
func (fake *CertGenerator) GenerateCalls(stub func(string) (*accesscontrol.CertAndPrivKeyPair, error))
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 struct {
ChaincodeDefinitionStub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
}
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinition(arg1 string, arg2 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCallCount() int
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionCalls(stub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error))
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error)
func (fake *ChaincodeDefinitionGetter) ChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error)
func (*ChaincodeDefinitionGetter) Invocations
¶
func (fake *ChaincodeDefinitionGetter) Invocations() map[string][][]interface{}
type ChaincodeStream struct {
RecvStub func() (*peer.ChaincodeMessage, error)
SendStub func(*peer.ChaincodeMessage) error
}
func (*ChaincodeStream) Invocations
¶
func (fake *ChaincodeStream) Invocations() map[string][][]interface{}
func (*ChaincodeStream) Recv
¶
func (fake *ChaincodeStream) Recv() (*peer.ChaincodeMessage, error)
func (fake *ChaincodeStream) RecvCallCount() int
func (*ChaincodeStream) RecvCalls
¶
func (fake *ChaincodeStream) RecvCalls(stub func() (*peer.ChaincodeMessage, error))
func (*ChaincodeStream) RecvReturns
¶
func (fake *ChaincodeStream) RecvReturns(result1 *peer.ChaincodeMessage, result2 error)
func (fake *ChaincodeStream) RecvReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)
func (*ChaincodeStream) Send
¶
func (fake *ChaincodeStream) Send(arg1 *peer.ChaincodeMessage) error
func (fake *ChaincodeStream) SendArgsForCall(i int) *peer.ChaincodeMessage
func (fake *ChaincodeStream) SendCallCount() int
func (*ChaincodeStream) SendCalls
¶
func (fake *ChaincodeStream) SendCalls(stub func(*peer.ChaincodeMessage) error)
func (*ChaincodeStream) SendReturns
¶
func (fake *ChaincodeStream) SendReturns(result1 error)
func (fake *ChaincodeStream) SendReturnsOnCall(i int, result1 error)
type CollectionStore struct {
AccessFilterStub func(string, *common.CollectionPolicyConfig) (privdata.Filter, error)
HasReadAccessStub func(common.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor) (bool, error)
RetrieveCollectionStub func(common.CollectionCriteria) (privdata.Collection, error)
RetrieveCollectionAccessPolicyStub func(common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)
RetrieveCollectionConfigPackageStub func(common.CollectionCriteria) (*common.CollectionConfigPackage, error)
RetrieveCollectionPersistenceConfigsStub func(common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)
}
func (fake *CollectionStore) AccessFilter(arg1 string, arg2 *common.CollectionPolicyConfig) (privdata.Filter, error)
func (fake *CollectionStore) AccessFilterArgsForCall(i int) (string, *common.CollectionPolicyConfig)
func (fake *CollectionStore) AccessFilterCallCount() int
func (fake *CollectionStore) AccessFilterCalls(stub func(string, *common.CollectionPolicyConfig) (privdata.Filter, error))
func (fake *CollectionStore) AccessFilterReturns(result1 privdata.Filter, result2 error)
func (fake *CollectionStore) AccessFilterReturnsOnCall(i int, result1 privdata.Filter, result2 error)
func (fake *CollectionStore) HasReadAccess(arg1 common.CollectionCriteria, arg2 *peer.SignedProposal, arg3 ledger.QueryExecutor) (bool, error)
func (fake *CollectionStore) HasReadAccessArgsForCall(i int) (common.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor)
func (fake *CollectionStore) HasReadAccessCallCount() int
func (fake *CollectionStore) HasReadAccessCalls(stub func(common.CollectionCriteria, *peer.SignedProposal, ledger.QueryExecutor) (bool, error))
func (fake *CollectionStore) HasReadAccessReturns(result1 bool, result2 error)
func (fake *CollectionStore) HasReadAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*CollectionStore) Invocations
¶
func (fake *CollectionStore) Invocations() map[string][][]interface{}
func (fake *CollectionStore) RetrieveCollection(arg1 common.CollectionCriteria) (privdata.Collection, error)
func (fake *CollectionStore) RetrieveCollectionAccessPolicy(arg1 common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)
func (fake *CollectionStore) RetrieveCollectionAccessPolicyArgsForCall(i int) common.CollectionCriteria
func (fake *CollectionStore) RetrieveCollectionAccessPolicyCallCount() int
func (fake *CollectionStore) RetrieveCollectionAccessPolicyCalls(stub func(common.CollectionCriteria) (privdata.CollectionAccessPolicy, error))
func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturns(result1 privdata.CollectionAccessPolicy, result2 error)
func (fake *CollectionStore) RetrieveCollectionAccessPolicyReturnsOnCall(i int, result1 privdata.CollectionAccessPolicy, result2 error)
func (fake *CollectionStore) RetrieveCollectionArgsForCall(i int) common.CollectionCriteria
func (fake *CollectionStore) RetrieveCollectionCallCount() int
func (fake *CollectionStore) RetrieveCollectionCalls(stub func(common.CollectionCriteria) (privdata.Collection, error))
func (fake *CollectionStore) RetrieveCollectionConfigPackage(arg1 common.CollectionCriteria) (*common.CollectionConfigPackage, error)
func (fake *CollectionStore) RetrieveCollectionConfigPackageArgsForCall(i int) common.CollectionCriteria
func (fake *CollectionStore) RetrieveCollectionConfigPackageCallCount() int
func (fake *CollectionStore) RetrieveCollectionConfigPackageCalls(stub func(common.CollectionCriteria) (*common.CollectionConfigPackage, error))
func (fake *CollectionStore) RetrieveCollectionConfigPackageReturns(result1 *common.CollectionConfigPackage, result2 error)
func (fake *CollectionStore) RetrieveCollectionConfigPackageReturnsOnCall(i int, result1 *common.CollectionConfigPackage, result2 error)
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigs(arg1 common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsArgsForCall(i int) common.CollectionCriteria
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCallCount() int
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsCalls(stub func(common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error))
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturns(result1 privdata.CollectionPersistenceConfigs, result2 error)
func (fake *CollectionStore) RetrieveCollectionPersistenceConfigsReturnsOnCall(i int, result1 privdata.CollectionPersistenceConfigs, result2 error)
func (fake *CollectionStore) RetrieveCollectionReturns(result1 privdata.Collection, result2 error)
func (fake *CollectionStore) RetrieveCollectionReturnsOnCall(i int, result1 privdata.Collection, result2 error)
type HistoryQueryExecutor struct {
GetHistoryForKeyStub func(string, string) (ledger.ResultsIterator, error)
}
func (fake *HistoryQueryExecutor) GetHistoryForKey(arg1 string, arg2 string) (ledger.ResultsIterator, error)
func (fake *HistoryQueryExecutor) GetHistoryForKeyArgsForCall(i int) (string, string)
func (fake *HistoryQueryExecutor) GetHistoryForKeyCallCount() int
func (fake *HistoryQueryExecutor) GetHistoryForKeyCalls(stub func(string, string) (ledger.ResultsIterator, error))
func (fake *HistoryQueryExecutor) GetHistoryForKeyReturns(result1 ledger.ResultsIterator, result2 error)
func (fake *HistoryQueryExecutor) GetHistoryForKeyReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*HistoryQueryExecutor) Invocations
¶
func (fake *HistoryQueryExecutor) Invocations() map[string][][]interface{}
type InstantiationPolicyChecker struct {
CheckInstantiationPolicyStub func(string, string, *ccprovider.ChaincodeData) error
}
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicy(arg1 string, arg2 string, arg3 *ccprovider.ChaincodeData) error
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyArgsForCall(i int) (string, string, *ccprovider.ChaincodeData)
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCallCount() int
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyCalls(stub func(string, string, *ccprovider.ChaincodeData) error)
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturns(result1 error)
func (fake *InstantiationPolicyChecker) CheckInstantiationPolicyReturnsOnCall(i int, result1 error)
func (*InstantiationPolicyChecker) Invocations
¶
func (fake *InstantiationPolicyChecker) Invocations() map[string][][]interface{}
type Invoker struct {
InvokeStub func(*ccprovider.TransactionParams, *ccprovider.CCContext, *peer.ChaincodeInput) (*peer.ChaincodeMessage, error)
}
func (fake *Invoker) Invocations() map[string][][]interface{}
func (*Invoker) Invoke
¶
func (fake *Invoker) Invoke(arg1 *ccprovider.TransactionParams, arg2 *ccprovider.CCContext, arg3 *peer.ChaincodeInput) (*peer.ChaincodeMessage, error)
func (fake *Invoker) InvokeArgsForCall(i int) (*ccprovider.TransactionParams, *ccprovider.CCContext, *peer.ChaincodeInput)
func (fake *Invoker) InvokeCallCount() int
func (fake *Invoker) InvokeCalls(stub func(*ccprovider.TransactionParams, *ccprovider.CCContext, *peer.ChaincodeInput) (*peer.ChaincodeMessage, error))
func (fake *Invoker) InvokeReturns(result1 *peer.ChaincodeMessage, result2 error)
func (fake *Invoker) InvokeReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)
type LedgerGetter struct {
GetLedgerStub func(string) ledger.PeerLedger
}
func (*LedgerGetter) GetLedger
¶
func (fake *LedgerGetter) GetLedger(arg1 string) ledger.PeerLedger
func (fake *LedgerGetter) GetLedgerArgsForCall(i int) string
func (fake *LedgerGetter) GetLedgerCallCount() int
func (fake *LedgerGetter) GetLedgerCalls(stub func(string) ledger.PeerLedger)
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 struct {
ChaincodeContainerInfoStub func(string, ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)
ChaincodeDefinitionStub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
}
func (fake *Lifecycle) ChaincodeContainerInfo(arg1 string, arg2 ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error)
func (fake *Lifecycle) ChaincodeContainerInfoArgsForCall(i int) (string, ledger.QueryExecutor)
func (fake *Lifecycle) ChaincodeContainerInfoCallCount() int
func (fake *Lifecycle) ChaincodeContainerInfoCalls(stub func(string, ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error))
func (fake *Lifecycle) ChaincodeContainerInfoReturns(result1 *ccprovider.ChaincodeContainerInfo, result2 error)
func (fake *Lifecycle) ChaincodeContainerInfoReturnsOnCall(i int, result1 *ccprovider.ChaincodeContainerInfo, result2 error)
func (fake *Lifecycle) ChaincodeDefinition(arg1 string, arg2 ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error)
func (fake *Lifecycle) ChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor)
func (fake *Lifecycle) ChaincodeDefinitionCallCount() int
func (fake *Lifecycle) ChaincodeDefinitionCalls(stub func(string, ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error))
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 struct {
GetChaincodeCodePackageStub func(string, string) ([]byte, error)
}
func (fake *PackageProvider) GetChaincodeCodePackage(arg1 string, arg2 string) ([]byte, error)
func (fake *PackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
func (fake *PackageProvider) GetChaincodeCodePackageCallCount() int
func (fake *PackageProvider) GetChaincodeCodePackageCalls(stub func(string, string) ([]byte, error))
func (fake *PackageProvider) GetChaincodeCodePackageReturns(result1 []byte, result2 error)
func (fake *PackageProvider) GetChaincodeCodePackageReturnsOnCall(i int, result1 []byte, result2 error)
func (*PackageProvider) Invocations
¶
func (fake *PackageProvider) Invocations() map[string][][]interface{}
type PeerLedger struct {
CloseStub func()
CommitPvtDataOfOldBlocksStub func([]*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
CommitWithPvtDataStub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error
DoesPvtDataInfoExistStub func(uint64) (bool, error)
GetBlockByHashStub func([]byte) (*common.Block, error)
GetBlockByNumberStub func(uint64) (*common.Block, error)
GetBlockByTxIDStub func(string) (*common.Block, error)
GetBlockchainInfoStub func() (*common.BlockchainInfo, error)
GetBlocksIteratorStub func(uint64) (ledgera.ResultsIterator, error)
GetConfigHistoryRetrieverStub func() (ledger.ConfigHistoryRetriever, error)
GetMissingPvtDataTrackerStub func() (ledger.MissingPvtDataTracker, error)
GetPvtDataAndBlockByNumStub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
GetPvtDataByNumStub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
GetTransactionByIDStub func(string) (*peer.ProcessedTransaction, error)
GetTxValidationCodeByTxIDStub func(string) (peer.TxValidationCode, error)
NewHistoryQueryExecutorStub func() (ledger.HistoryQueryExecutor, error)
NewQueryExecutorStub func() (ledger.QueryExecutor, error)
NewTxSimulatorStub func(string) (ledger.TxSimulator, error)
PrivateDataMinBlockNumStub func() (uint64, error)
PruneStub func(ledgera.PrunePolicy) error
PurgePrivateDataStub func(uint64) error
}
func (*PeerLedger) Close
¶
func (fake *PeerLedger) Close()
func (fake *PeerLedger) CloseCallCount() int
func (fake *PeerLedger) CloseCalls(stub func())
func (fake *PeerLedger) CommitPvtDataOfOldBlocks(arg1 []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
func (fake *PeerLedger) CommitPvtDataOfOldBlocksArgsForCall(i int) []*ledger.BlockPvtData
func (fake *PeerLedger) CommitPvtDataOfOldBlocksCallCount() int
func (fake *PeerLedger) CommitPvtDataOfOldBlocksCalls(stub func([]*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error))
func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
func (fake *PeerLedger) CommitWithPvtData(arg1 *ledger.BlockAndPvtData, arg2 *ledger.CommitOptions) error
func (fake *PeerLedger) CommitWithPvtDataArgsForCall(i int) (*ledger.BlockAndPvtData, *ledger.CommitOptions)
func (fake *PeerLedger) CommitWithPvtDataCallCount() int
func (fake *PeerLedger) CommitWithPvtDataCalls(stub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error)
func (fake *PeerLedger) CommitWithPvtDataReturns(result1 error)
func (fake *PeerLedger) CommitWithPvtDataReturnsOnCall(i int, result1 error)
func (fake *PeerLedger) DoesPvtDataInfoExist(arg1 uint64) (bool, error)
func (fake *PeerLedger) DoesPvtDataInfoExistArgsForCall(i int) uint64
func (fake *PeerLedger) DoesPvtDataInfoExistCallCount() int
func (fake *PeerLedger) DoesPvtDataInfoExistCalls(stub func(uint64) (bool, error))
func (fake *PeerLedger) DoesPvtDataInfoExistReturns(result1 bool, result2 error)
func (fake *PeerLedger) DoesPvtDataInfoExistReturnsOnCall(i int, result1 bool, result2 error)
func (fake *PeerLedger) GetBlockByHash(arg1 []byte) (*common.Block, error)
func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
func (fake *PeerLedger) GetBlockByHashCallCount() int
func (fake *PeerLedger) GetBlockByHashCalls(stub func([]byte) (*common.Block, error))
func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
func (fake *PeerLedger) GetBlockByNumber(arg1 uint64) (*common.Block, error)
func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
func (fake *PeerLedger) GetBlockByNumberCallCount() int
func (fake *PeerLedger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))
func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
func (fake *PeerLedger) GetBlockByTxID(arg1 string) (*common.Block, error)
func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
func (fake *PeerLedger) GetBlockByTxIDCallCount() int
func (fake *PeerLedger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))
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) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
func (fake *PeerLedger) GetBlocksIterator(arg1 uint64) (ledgera.ResultsIterator, error)
func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
func (fake *PeerLedger) GetBlocksIteratorCallCount() int
func (fake *PeerLedger) GetBlocksIteratorCalls(stub func(uint64) (ledgera.ResultsIterator, error))
func (fake *PeerLedger) GetBlocksIteratorReturns(result1 ledgera.ResultsIterator, result2 error)
func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)
func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
func (fake *PeerLedger) GetConfigHistoryRetrieverCalls(stub func() (ledger.ConfigHistoryRetriever, error))
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) GetMissingPvtDataTrackerCalls(stub func() (ledger.MissingPvtDataTracker, error))
func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
func (fake *PeerLedger) GetPvtDataAndBlockByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
func (fake *PeerLedger) GetPvtDataAndBlockByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error))
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
func (fake *PeerLedger) GetPvtDataByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (fake *PeerLedger) GetPvtDataByNumCallCount() int
func (fake *PeerLedger) GetPvtDataByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error))
func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
func (fake *PeerLedger) GetTransactionByID(arg1 string) (*peer.ProcessedTransaction, error)
func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
func (fake *PeerLedger) GetTransactionByIDCallCount() int
func (fake *PeerLedger) GetTransactionByIDCalls(stub func(string) (*peer.ProcessedTransaction, error))
func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peer.ProcessedTransaction, result2 error)
func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
func (fake *PeerLedger) GetTxValidationCodeByTxID(arg1 string) (peer.TxValidationCode, error)
func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
func (fake *PeerLedger) GetTxValidationCodeByTxIDCalls(stub func(string) (peer.TxValidationCode, error))
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) NewHistoryQueryExecutorCalls(stub func() (ledger.HistoryQueryExecutor, error))
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) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))
func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
func (fake *PeerLedger) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
func (fake *PeerLedger) NewTxSimulatorCallCount() int
func (fake *PeerLedger) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
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) PrivateDataMinBlockNumCalls(stub func() (uint64, error))
func (fake *PeerLedger) PrivateDataMinBlockNumReturns(result1 uint64, result2 error)
func (fake *PeerLedger) PrivateDataMinBlockNumReturnsOnCall(i int, result1 uint64, result2 error)
func (*PeerLedger) Prune
¶
func (fake *PeerLedger) Prune(arg1 ledgera.PrunePolicy) error
func (fake *PeerLedger) PruneArgsForCall(i int) ledgera.PrunePolicy
func (fake *PeerLedger) PruneCallCount() int
func (fake *PeerLedger) PruneCalls(stub func(ledgera.PrunePolicy) error)
func (fake *PeerLedger) PruneReturns(result1 error)
func (fake *PeerLedger) PruneReturnsOnCall(i int, result1 error)
func (fake *PeerLedger) PurgePrivateData(arg1 uint64) error
func (fake *PeerLedger) PurgePrivateDataArgsForCall(i int) uint64
func (fake *PeerLedger) PurgePrivateDataCallCount() int
func (fake *PeerLedger) PurgePrivateDataCalls(stub func(uint64) error)
func (fake *PeerLedger) PurgePrivateDataReturns(result1 error)
func (fake *PeerLedger) PurgePrivateDataReturnsOnCall(i int, result1 error)
type Processor struct {
ProcessStub func(string, container.VMCReq) error
}
func (fake *Processor) Invocations() map[string][][]interface{}
func (*Processor) Process
¶
func (fake *Processor) Process(arg1 string, arg2 container.VMCReq) error
func (fake *Processor) ProcessArgsForCall(i int) (string, container.VMCReq)
func (fake *Processor) ProcessCallCount() int
func (fake *Processor) ProcessCalls(stub func(string, container.VMCReq) error)
func (fake *Processor) ProcessReturns(result1 error)
func (fake *Processor) ProcessReturnsOnCall(i int, result1 error)
type QueryResultsIterator struct {
CloseStub func()
GetBookmarkAndCloseStub func() string
NextStub func() (ledger.QueryResult, error)
}
func (*QueryResultsIterator) Close
¶
func (fake *QueryResultsIterator) Close()
func (fake *QueryResultsIterator) CloseCallCount() int
func (*QueryResultsIterator) CloseCalls
¶
func (fake *QueryResultsIterator) CloseCalls(stub func())
func (fake *QueryResultsIterator) GetBookmarkAndClose() string
func (fake *QueryResultsIterator) GetBookmarkAndCloseCallCount() int
func (fake *QueryResultsIterator) GetBookmarkAndCloseCalls(stub func() string)
func (fake *QueryResultsIterator) GetBookmarkAndCloseReturns(result1 string)
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) NextCalls
¶
func (fake *QueryResultsIterator) NextCalls(stub func() (ledger.QueryResult, error))
func (*QueryResultsIterator) NextReturns
¶
func (fake *QueryResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)
func (fake *QueryResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)
type Runtime struct {
StartStub func(*ccprovider.ChaincodeContainerInfo, []byte) error
StopStub func(*ccprovider.ChaincodeContainerInfo) error
WaitStub func(*ccprovider.ChaincodeContainerInfo) (int, error)
}
func (fake *Runtime) Invocations() map[string][][]interface{}
func (*Runtime) Start
¶
func (fake *Runtime) Start(arg1 *ccprovider.ChaincodeContainerInfo, arg2 []byte) error
func (fake *Runtime) StartArgsForCall(i int) (*ccprovider.ChaincodeContainerInfo, []byte)
func (fake *Runtime) StartCallCount() int
func (fake *Runtime) StartCalls(stub func(*ccprovider.ChaincodeContainerInfo, []byte) error)
func (fake *Runtime) StartReturns(result1 error)
func (fake *Runtime) StartReturnsOnCall(i int, result1 error)
func (*Runtime) Stop
¶
func (fake *Runtime) Stop(arg1 *ccprovider.ChaincodeContainerInfo) error
func (fake *Runtime) StopArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
func (fake *Runtime) StopCallCount() int
func (fake *Runtime) StopCalls(stub func(*ccprovider.ChaincodeContainerInfo) error)
func (fake *Runtime) StopReturns(result1 error)
func (fake *Runtime) StopReturnsOnCall(i int, result1 error)
func (*Runtime) Wait
¶
func (fake *Runtime) Wait(arg1 *ccprovider.ChaincodeContainerInfo) (int, error)
func (fake *Runtime) WaitArgsForCall(i int) *ccprovider.ChaincodeContainerInfo
func (fake *Runtime) WaitCallCount() int
func (fake *Runtime) WaitCalls(stub func(*ccprovider.ChaincodeContainerInfo) (int, error))
func (fake *Runtime) WaitReturns(result1 int, result2 error)
func (fake *Runtime) WaitReturnsOnCall(i int, result1 int, result2 error)
type SystemCCProvider struct {
IsSysCCStub func(string) bool
IsSysCCAndNotInvokableCC2CCStub func(string) bool
}
func (*SystemCCProvider) Invocations
¶
func (fake *SystemCCProvider) Invocations() map[string][][]interface{}
func (*SystemCCProvider) IsSysCC
¶
func (fake *SystemCCProvider) IsSysCC(arg1 string) bool
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CC(arg1 string) bool
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCArgsForCall(i int) string
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCallCount() int
func (fake *SystemCCProvider) IsSysCCAndNotInvokableCC2CCCalls(stub func(string) bool)
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) IsSysCCCalls(stub func(string) bool)
func (fake *SystemCCProvider) IsSysCCReturns(result1 bool)
func (fake *SystemCCProvider) IsSysCCReturnsOnCall(i int, result1 bool)
type TransactionRegistry struct {
AddStub func(string, string) bool
RemoveStub func(string, string)
}
func (*TransactionRegistry) Add
¶
func (fake *TransactionRegistry) Add(arg1 string, arg2 string) bool
func (fake *TransactionRegistry) AddArgsForCall(i int) (string, string)
func (*TransactionRegistry) AddCallCount
¶
func (fake *TransactionRegistry) AddCallCount() int
func (*TransactionRegistry) AddCalls
¶
func (fake *TransactionRegistry) AddCalls(stub func(string, string) bool)
func (*TransactionRegistry) AddReturns
¶
func (fake *TransactionRegistry) AddReturns(result1 bool)
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(arg1 string, arg2 string)
func (fake *TransactionRegistry) RemoveArgsForCall(i int) (string, string)
func (fake *TransactionRegistry) RemoveCallCount() int
func (*TransactionRegistry) RemoveCalls
¶
func (fake *TransactionRegistry) RemoveCalls(stub func(string, string))
type TxSimulator struct {
DeletePrivateDataStub func(string, string, string) error
DeletePrivateDataMetadataStub func(string, string, string) error
DeleteStateStub func(string, string) error
DeleteStateMetadataStub func(string, string) error
DoneStub func()
ExecuteQueryStub func(string, string) (ledger.ResultsIterator, error)
ExecuteQueryOnPrivateDataStub func(string, string, string) (ledger.ResultsIterator, error)
ExecuteQueryWithMetadataStub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error)
ExecuteUpdateStub func(string) error
GetPrivateDataStub func(string, string, string) ([]byte, error)
GetPrivateDataHashStub func(string, string, string) ([]byte, error)
GetPrivateDataMetadataStub func(string, string, string) (map[string][]byte, error)
GetPrivateDataMetadataByHashStub func(string, string, []byte) (map[string][]byte, error)
GetPrivateDataMultipleKeysStub func(string, string, []string) ([][]byte, error)
GetPrivateDataRangeScanIteratorStub func(string, string, string, string) (ledger.ResultsIterator, error)
GetStateStub func(string, string) ([]byte, error)
GetStateMetadataStub func(string, string) (map[string][]byte, error)
GetStateMultipleKeysStub func(string, []string) ([][]byte, error)
GetStateRangeScanIteratorStub func(string, string, string) (ledger.ResultsIterator, error)
GetStateRangeScanIteratorWithMetadataStub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error)
GetTxSimulationResultsStub func() (*ledgera.TxSimulationResults, error)
SetPrivateDataStub func(string, string, string, []byte) error
SetPrivateDataMetadataStub func(string, string, string, map[string][]byte) error
SetPrivateDataMultipleKeysStub func(string, string, map[string][]byte) error
SetStateStub func(string, string, []byte) error
SetStateMetadataStub func(string, string, map[string][]byte) error
SetStateMultipleKeysStub func(string, map[string][]byte) error
}
func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error
func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) DeletePrivateDataCallCount() int
func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)
func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error
func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)
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(arg1 string, arg2 string) error
func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
func (fake *TxSimulator) DeleteStateCallCount() int
func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)
func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error
func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
func (fake *TxSimulator) DeleteStateMetadataCallCount() int
func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)
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 (*TxSimulator) Done
¶
func (fake *TxSimulator) Done()
func (fake *TxSimulator) DoneCallCount() int
func (*TxSimulator) DoneCalls
¶
func (fake *TxSimulator) DoneCalls(stub func())
func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
func (fake *TxSimulator) ExecuteQueryCallCount() int
func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
func (fake *TxSimulator) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
func (fake *TxSimulator) ExecuteUpdate(arg1 string) error
func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
func (fake *TxSimulator) ExecuteUpdateCallCount() int
func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)
func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
func (fake *TxSimulator) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)
func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) GetPrivateDataCallCount() int
func (fake *TxSimulator) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))
func (fake *TxSimulator) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) ([]byte, error)
func (fake *TxSimulator) GetPrivateDataHashArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) GetPrivateDataHashCallCount() int
func (fake *TxSimulator) GetPrivateDataHashCalls(stub func(string, string, string) ([]byte, error))
func (fake *TxSimulator) GetPrivateDataHashReturns(result1 []byte, result2 error)
func (fake *TxSimulator) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)
func (fake *TxSimulator) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)
func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)
func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
func (fake *TxSimulator) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))
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) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))
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(arg1 string, arg2 string, arg3 []string) ([][]byte, error)
func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
func (fake *TxSimulator) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (fake *TxSimulator) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)
func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetState
¶
func (fake *TxSimulator) GetState(arg1 string, arg2 string) ([]byte, error)
func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
func (fake *TxSimulator) GetStateCallCount() int
func (fake *TxSimulator) GetStateCalls(stub func(string, string) ([]byte, error))
func (fake *TxSimulator) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)
func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
func (fake *TxSimulator) GetStateMetadataCallCount() int
func (fake *TxSimulator) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))
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(arg1 string, arg2 []string) ([][]byte, error)
func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
func (fake *TxSimulator) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.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() (*ledgera.TxSimulationResults, error)
func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledgera.TxSimulationResults, error))
func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledgera.TxSimulationResults, result2 error)
func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledgera.TxSimulationResults, result2 error)
func (fake *TxSimulator) Invocations() map[string][][]interface{}
func (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []byte) error
func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)
func (fake *TxSimulator) SetPrivateDataCallCount() int
func (fake *TxSimulator) SetPrivateDataCalls(stub func(string, string, string, []byte) error)
func (fake *TxSimulator) SetPrivateDataMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string][]byte) error
func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)
func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
func (fake *TxSimulator) SetPrivateDataMetadataCalls(stub func(string, string, string, map[string][]byte) error)
func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
func (fake *TxSimulator) SetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 map[string][]byte) error
func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)
func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
func (fake *TxSimulator) SetPrivateDataMultipleKeysCalls(stub func(string, string, map[string][]byte) error)
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 (*TxSimulator) SetState
¶
func (fake *TxSimulator) SetState(arg1 string, arg2 string, arg3 []byte) error
func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
func (fake *TxSimulator) SetStateCallCount() int
func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)
func (fake *TxSimulator) SetStateMetadata(arg1 string, arg2 string, arg3 map[string][]byte) error
func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)
func (fake *TxSimulator) SetStateMetadataCallCount() int
func (fake *TxSimulator) SetStateMetadataCalls(stub func(string, string, map[string][]byte) error)
func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
func (fake *TxSimulator) SetStateMultipleKeys(arg1 string, arg2 map[string][]byte) error
func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)
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)