Documentation ¶
Index ¶
- type CollectionStore
- func (_m *CollectionStore) AccessFilter(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (privdata.Filter, error)
- func (_m *CollectionStore) HasReadAccess(_a0 common.CollectionCriteria, _a1 *peer.SignedProposal, ...) (bool, error)
- func (_m *CollectionStore) RetrieveCollection(_a0 common.CollectionCriteria) (privdata.Collection, error)
- func (_m *CollectionStore) RetrieveCollectionAccessPolicy(_a0 common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)
- func (_m *CollectionStore) RetrieveCollectionConfigPackage(_a0 common.CollectionCriteria) (*common.CollectionConfigPackage, error)
- func (_m *CollectionStore) RetrieveCollectionPersistenceConfigs(_a0 common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)
- type Committer
- func (_m *Committer) Close()
- func (_m *Committer) CommitPvtDataOfOldBlocks(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
- func (_m *Committer) CommitWithPvtData(blockAndPvtData *ledger.BlockAndPvtData) error
- func (_m *Committer) GetBlocks(blockSeqs []uint64) []*common.Block
- func (_m *Committer) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
- func (_m *Committer) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
- func (_m *Committer) GetPvtDataAndBlockByNum(seqNum uint64) (*ledger.BlockAndPvtData, error)
- func (_m *Committer) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
- func (_m *Committer) LedgerHeight() (uint64, error)
- type ConfigHistoryRetriever
- type DataStore
- func (_m *DataStore) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
- func (_m *DataStore) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
- func (_m *DataStore) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)
- func (_m *DataStore) LedgerHeight() (uint64, error)
- type MissingPvtDataTracker
- type RWSetScanner
- type ReconciliationFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionStore ¶
CollectionStore是为CollectionStore类型自动生成的模拟类型
func (*CollectionStore) AccessFilter ¶
func (_m *CollectionStore) AccessFilter(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (privdata.Filter, error)
accessfilter提供具有给定字段的模拟函数:channelname、collectionpolicyconfig
func (*CollectionStore) HasReadAccess ¶
func (_m *CollectionStore) HasReadAccess(_a0 common.CollectionCriteria, _a1 *peer.SignedProposal, _a2 ledger.QueryExecutor) (bool, error)
hasreadaccess提供了一个具有给定字段的模拟函数:a0、a1、a2
func (*CollectionStore) RetrieveCollection ¶
func (_m *CollectionStore) RetrieveCollection(_a0 common.CollectionCriteria) (privdata.Collection, error)
RetrieveCollection提供具有给定字段的模拟函数:a0
func (*CollectionStore) RetrieveCollectionAccessPolicy ¶
func (_m *CollectionStore) RetrieveCollectionAccessPolicy(_a0 common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)
RetrieveCollectionAccessPolicy提供具有给定字段的模拟函数:a0
func (*CollectionStore) RetrieveCollectionConfigPackage ¶
func (_m *CollectionStore) RetrieveCollectionConfigPackage(_a0 common.CollectionCriteria) (*common.CollectionConfigPackage, error)
RetrieveCollectionConfigPackage提供具有给定字段的模拟函数:a0
func (*CollectionStore) RetrieveCollectionPersistenceConfigs ¶
func (_m *CollectionStore) RetrieveCollectionPersistenceConfigs(_a0 common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)
RetrieveCollectionPersistenceConfigs提供具有给定字段的模拟函数:a0
type Committer ¶
committer是committer类型的自动生成的模拟类型
func (*Committer) CommitPvtDataOfOldBlocks ¶
func (_m *Committer) CommitPvtDataOfOldBlocks(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)
commitpvtdataofoldblocks为给定字段提供模拟函数:blockpvdtdata
func (*Committer) CommitWithPvtData ¶
func (_m *Committer) CommitWithPvtData(blockAndPvtData *ledger.BlockAndPvtData) error
commitWithPvtData为给定字段提供模拟函数:blockAndPvtData
func (*Committer) GetConfigHistoryRetriever ¶
func (_m *Committer) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
getconfigHistoryRetriever提供具有给定字段的模拟函数:
func (*Committer) GetMissingPvtDataTracker ¶
func (_m *Committer) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
GetMissingPvtDataTracker提供了一个具有给定字段的模拟函数:
func (*Committer) GetPvtDataAndBlockByNum ¶
func (_m *Committer) GetPvtDataAndBlockByNum(seqNum uint64) (*ledger.BlockAndPvtData, error)
getpvtdata和blockbynum提供了一个具有给定字段的模拟函数:seqnum
func (*Committer) GetPvtDataByNum ¶
func (_m *Committer) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
getpvtdatabynum提供了一个具有给定字段的模拟函数:blocknum、filter
func (*Committer) LedgerHeight ¶
LedgerHeight为给定字段提供模拟函数:
type ConfigHistoryRetriever ¶
configHistoryRetriever是为configHistoryRetriever类型自动生成的模拟类型
func (*ConfigHistoryRetriever) CollectionConfigAt ¶
func (_m *ConfigHistoryRetriever) CollectionConfigAt(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)
collectionconfigat提供具有给定字段的模拟函数:blocknum、chaincodename
func (*ConfigHistoryRetriever) MostRecentCollectionConfigBelow ¶
func (_m *ConfigHistoryRetriever) MostRecentCollectionConfigBelow(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)
mostrecentcollectionconfigbelow提供了一个具有给定字段的模拟函数:blocknum、chaincodename
type DataStore ¶
数据存储是数据存储类型的自动生成的模拟类型
func (*DataStore) GetConfigHistoryRetriever ¶
func (_m *DataStore) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
getconfigHistoryRetriever提供具有给定字段的模拟函数:
func (*DataStore) GetPvtDataByNum ¶
func (_m *DataStore) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
getpvtdatabynum提供了一个具有给定字段的模拟函数:blocknum、filter
func (*DataStore) GetTxPvtRWSetByTxid ¶
func (_m *DataStore) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)
gettxpvtrwsetbytxid提供具有给定字段的模拟函数:txid、filter
func (*DataStore) LedgerHeight ¶
LedgerHeight为给定字段提供模拟函数:
type MissingPvtDataTracker ¶
MissingPvtDataTracker是为MissingPvTDataTracker类型自动生成的模拟类型
func (*MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks ¶
func (_m *MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks(maxBlocks int) (ledger.MissingPvtDataInfo, error)
GetMissingPvtDataInfoFormsToRecentBlocks提供具有给定字段的模拟函数:MaxBlocks
type RWSetScanner ¶
rwsetscanner是为rwsetscanner类型自动生成的模拟类型
func (*RWSetScanner) Next ¶
func (_m *RWSetScanner) Next() (*transientstore.EndorserPvtSimulationResults, error)
接下来提供一个具有给定字段的模拟函数:
func (*RWSetScanner) NextWithConfig ¶
func (_m *RWSetScanner) NextWithConfig() (*transientstore.EndorserPvtSimulationResultsWithConfig, error)
NextWithConfig提供了一个具有给定字段的模拟函数:
type ReconciliationFetcher ¶
ReconciliationFetcher是为ReconciliationFetcher类型自动生成的模拟类型。
func (*ReconciliationFetcher) FetchReconciledItems ¶
func (_m *ReconciliationFetcher) FetchReconciledItems(dig2collectionConfig common.Dig2CollectionConfig) (*common.FetchedPvtDataContainer, error)
FetchReconciledItems为给定字段提供模拟函数:dig2collectionconfig