Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- 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 ConfigHistoryRetriever ¶
ConfigHistoryRetriever is an autogenerated mock type for the ConfigHistoryRetriever type
func (*ConfigHistoryRetriever) CollectionConfigAt ¶
func (_m *ConfigHistoryRetriever) CollectionConfigAt(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)
CollectionConfigAt provides a mock function with given fields: blockNum, chaincodeName
func (*ConfigHistoryRetriever) MostRecentCollectionConfigBelow ¶
func (_m *ConfigHistoryRetriever) MostRecentCollectionConfigBelow(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)
MostRecentCollectionConfigBelow provides a mock function with given fields: blockNum, chaincodeName
type DataStore ¶
DataStore is an autogenerated mock type for the DataStore type
func (*DataStore) GetConfigHistoryRetriever ¶
func (_m *DataStore) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
GetConfigHistoryRetriever provides a mock function with given fields:
func (*DataStore) GetPvtDataByNum ¶
func (_m *DataStore) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
GetPvtDataByNum provides a mock function with given fields: blockNum, filter
func (*DataStore) GetTxPvtRWSetByTxid ¶
func (_m *DataStore) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)
GetTxPvtRWSetByTxid provides a mock function with given fields: txid, filter
func (*DataStore) LedgerHeight ¶
LedgerHeight provides a mock function with given fields:
type MissingPvtDataTracker ¶
MissingPvtDataTracker is an autogenerated mock type for the MissingPvtDataTracker type
func (*MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks ¶
func (_m *MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks(maxBlocks int) (ledger.MissingPvtDataInfo, error)
GetMissingPvtDataInfoForMostRecentBlocks provides a mock function with given fields: maxBlocks
type RWSetScanner ¶
RWSetScanner is an autogenerated mock type for the RWSetScanner type
func (*RWSetScanner) Close ¶
func (_m *RWSetScanner) Close()
Close provides a mock function with given fields:
func (*RWSetScanner) Next ¶
func (_m *RWSetScanner) Next() (*transientstore.EndorserPvtSimulationResults, error)
Next provides a mock function with given fields:
func (*RWSetScanner) NextWithConfig ¶
func (_m *RWSetScanner) NextWithConfig() (*transientstore.EndorserPvtSimulationResultsWithConfig, error)
NextWithConfig provides a mock function with given fields:
type ReconciliationFetcher ¶
ReconciliationFetcher is an autogenerated mock type for the ReconciliationFetcher type
func (*ReconciliationFetcher) FetchReconciledItems ¶
func (_m *ReconciliationFetcher) FetchReconciledItems(dig2collectionConfig privdata_common.Dig2CollectionConfig) (*privdata_common.FetchedPvtDataContainer, error)
FetchReconciledItems provides a mock function with given fields: dig2collectionConfig