{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mocks\n\n## Types\n\n```go\ntype AppCapabilities struct {\n\tmock.Mock\n}\n```\nAppCapabilities is an autogenerated mock type for the AppCapabilities type\n\n```go\nfunc (_m *AppCapabilities) ACLs() bool\n```\nACLs provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) CollectionUpgrade() bool\n```\nCollectionUpgrade provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) FabToken() bool\n```\nFabToken provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) ForbidDuplicateTXIdInBlock() bool\n```\nForbidDuplicateTXIdInBlock provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) KeyLevelEndorsement() bool\n```\nKeyLevelEndorsement provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) MetadataLifecycle() bool\n```\nMetadataLifecycle provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) PrivateChannelData() bool\n```\nPrivateChannelData provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) StorePvtDataOfInvalidTx() bool\n```\nStorePvtDataOfInvalidTx provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) Supported() error\n```\nSupported provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) V1_1Validation() bool\n```\nV1\\_1Validation provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) V1_2Validation() bool\n```\nV1\\_2Validation provides a mock function with given fields:\n\n```go\nfunc (_m *AppCapabilities) V1_3Validation() bool\n```\nV1\\_3Validation provides a mock function with given fields:\n\n```go\ntype CapabilityProvider struct {\n\tmock.Mock\n}\n```\nCapabilityProvider is an autogenerated mock type for the CapabilityProvider type\n\n```go\nfunc (_m *CapabilityProvider) Capabilities() channelconfig.ApplicationCapabilities\n```\nCapabilities provides a mock function with given fields:\n\n```go\ntype CollectionStore struct {\n\tmock.Mock\n}\n```\nCollectionStore is an autogenerated mock type for the CollectionStore type\n\n```go\nfunc (_m *CollectionStore) AccessFilter(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (privdata.Filter, error)\n```\nAccessFilter provides a mock function with given fields: channelName, collectionPolicyConfig\n\n```go\nfunc (_m *CollectionStore) HasReadAccess(_a0 common.CollectionCriteria, _a1 *peer.SignedProposal, _a2 ledger.QueryExecutor) (bool, error)\n```\nHasReadAccess provides a mock function with given fields: \\_a0, \\_a1, \\_a2\n\n```go\nfunc (_m *CollectionStore) RetrieveCollection(_a0 common.CollectionCriteria) (privdata.Collection, error)\n```\nRetrieveCollection provides a mock function with given fields: \\_a0\n\n```go\nfunc (_m *CollectionStore) RetrieveCollectionAccessPolicy(_a0 common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)\n```\nRetrieveCollectionAccessPolicy provides a mock function with given fields: \\_a0\n\n```go\nfunc (_m *CollectionStore) RetrieveCollectionConfigPackage(_a0 common.CollectionCriteria) (*common.CollectionConfigPackage, error)\n```\nRetrieveCollectionConfigPackage provides a mock function with given fields: \\_a0\n\n```go\nfunc (_m *CollectionStore) RetrieveCollectionPersistenceConfigs(_a0 common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)\n```\nRetrieveCollectionPersistenceConfigs provides a mock function with given fields: \\_a0\n\n```go\ntype Committer struct {\n\tmock.Mock\n}\n```\nCommitter is an autogenerated mock type for the Committer type\n\n```go\nfunc (_m *Committer) Close()\n```\nClose provides a mock function with given fields:\n\n```go\nfunc (_m *Committer) CommitPvtDataOfOldBlocks(blockPvtData []*ledger.BlockPvtData) ([]*ledger.PvtdataHashMismatch, error)\n```\nCommitPvtDataOfOldBlocks provides a mock function with given fields: blockPvtData\n\n```go\nfunc (_m *Committer) CommitWithPvtData(blockAndPvtData *ledger.BlockAndPvtData, commitOpts *ledger.CommitOptions) error\n```\nCommitWithPvtData provides a mock function with given fields: blockAndPvtData, commitOpts\n\n```go\nfunc (_m *Committer) DoesPvtDataInfoExistInLedger(blockNum uint64) (bool, error)\n```\nDoesPvtDataInfoExistInLedger provides a mock function with given fields: blockNum\n\n```go\nfunc (_m *Committer) GetBlocks(blockSeqs []uint64) []*common.Block\n```\nGetBlocks provides a mock function with given fields: blockSeqs\n\n```go\nfunc (_m *Committer) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)\n```\nGetConfigHistoryRetriever provides a mock function with given fields:\n\n```go\nfunc (_m *Committer) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)\n```\nGetMissingPvtDataTracker provides a mock function with given fields:\n\n```go\nfunc (_m *Committer) GetPvtDataAndBlockByNum(seqNum uint64) (*ledger.BlockAndPvtData, error)\n```\nGetPvtDataAndBlockByNum provides a mock function with given fields: seqNum\n\n```go\nfunc (_m *Committer) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)\n```\nGetPvtDataByNum provides a mock function with given fields: blockNum, filter\n\n```go\nfunc (_m *Committer) LedgerHeight() (uint64, error)\n```\nLedgerHeight provides a mock function with given fields:\n\n```go\ntype ConfigHistoryRetriever struct {\n\tmock.Mock\n}\n```\nConfigHistoryRetriever is an autogenerated mock type for the ConfigHistoryRetriever type\n\n```go\nfunc (_m *ConfigHistoryRetriever) CollectionConfigAt(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)\n```\nCollectionConfigAt provides a mock function with given fields: blockNum, chaincodeName\n\n```go\nfunc (_m *ConfigHistoryRetriever) MostRecentCollectionConfigBelow(blockNum uint64, chaincodeName string) (*ledger.CollectionConfigInfo, error)\n```\nMostRecentCollectionConfigBelow provides a mock function with given fields: blockNum, chaincodeName\n\n```go\ntype DataStore struct {\n\tmock.Mock\n}\n```\nDataStore is an autogenerated mock type for the DataStore type\n\n```go\nfunc (_m *DataStore) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)\n```\nGetConfigHistoryRetriever provides a mock function with given fields:\n\n```go\nfunc (_m *DataStore) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)\n```\nGetPvtDataByNum provides a mock function with given fields: blockNum, filter\n\n```go\nfunc (_m *DataStore) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error)\n```\nGetTxPvtRWSetByTxid provides a mock function with given fields: txid, filter\n\n```go\nfunc (_m *DataStore) LedgerHeight() (uint64, error)\n```\nLedgerHeight provides a mock function with given fields:\n\n```go\ntype MissingPvtDataTracker struct {\n\tmock.Mock\n}\n```\nMissingPvtDataTracker is an autogenerated mock type for the MissingPvtDataTracker type\n\n```go\nfunc (_m *MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks(maxBlocks int) (ledger.MissingPvtDataInfo, error)\n```\nGetMissingPvtDataInfoForMostRecentBlocks provides a mock function with given fields: maxBlocks\n\n```go\ntype RWSetScanner struct {\n\tmock.Mock\n}\n```\nRWSetScanner is an autogenerated mock type for the RWSetScanner type\n\n```go\nfunc (_m *RWSetScanner) Close()\n```\nClose provides a mock function with given fields:\n\n```go\nfunc (_m *RWSetScanner) Next() (*transientstore.EndorserPvtSimulationResults, error)\n```\nNext provides a mock function with given fields:\n\n```go\nfunc (_m *RWSetScanner) NextWithConfig() (*transientstore.EndorserPvtSimulationResultsWithConfig, error)\n```\nNextWithConfig provides a mock function with given fields:\n\n```go\ntype ReconciliationFetcher struct {\n\tmock.Mock\n}\n```\nReconciliationFetcher is an autogenerated mock type for the ReconciliationFetcher type\n\n```go\nfunc (_m *ReconciliationFetcher) FetchReconciledItems(dig2collectionConfig common.Dig2CollectionConfig) (*common.FetchedPvtDataContainer, error)\n```\nFetchReconciledItems provides a mock function with given fields: dig2collectionConfig\n\n","path":"github.com/eric-erki/https-hyperledger.org/gossip/privdata/mocks","name":"mocks","synopsis":"","isRedistributable":true}
