mocks

package
v1.4.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionStore

type CollectionStore struct {
	mock.Mock
}

CollectionStore is an autogenerated mock type for the CollectionStore type

func (*CollectionStore) AccessFilter

func (_m *CollectionStore) AccessFilter(channelName string, collectionPolicyConfig *common.CollectionPolicyConfig) (privdata.Filter, error)

AccessFilter provides a mock function with given fields: channelName, collectionPolicyConfig

func (*CollectionStore) HasReadAccess

func (_m *CollectionStore) HasReadAccess(collCriteria common.CollectionCriteria, signedProposal *peer.SignedProposal, qe ledger.QueryExecutor) (bool, error)

HasReadAccess provides a mock function with given fields: collCriteria, signedProposal, qe

func (*CollectionStore) RetrieveCollection

func (_m *CollectionStore) RetrieveCollection(collCriteria common.CollectionCriteria) (privdata.Collection, error)

RetrieveCollection provides a mock function with given fields: collCriteria

func (*CollectionStore) RetrieveCollectionAccessPolicy

func (_m *CollectionStore) RetrieveCollectionAccessPolicy(collCriteria common.CollectionCriteria) (privdata.CollectionAccessPolicy, error)

RetrieveCollectionAccessPolicy provides a mock function with given fields: collCriteria

func (*CollectionStore) RetrieveCollectionConfigPackage

func (_m *CollectionStore) RetrieveCollectionConfigPackage(collCriteria common.CollectionCriteria) (*common.CollectionConfigPackage, error)

RetrieveCollectionConfigPackage provides a mock function with given fields: collCriteria

func (*CollectionStore) RetrieveCollectionPersistenceConfigs

func (_m *CollectionStore) RetrieveCollectionPersistenceConfigs(collCriteria common.CollectionCriteria) (privdata.CollectionPersistenceConfigs, error)

RetrieveCollectionPersistenceConfigs provides a mock function with given fields: collCriteria

type ConfigHistoryRetriever

type ConfigHistoryRetriever struct {
	mock.Mock
}

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

type DataStore struct {
	mock.Mock
}

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

func (_m *DataStore) LedgerHeight() (uint64, error)

LedgerHeight provides a mock function with given fields:

type MissingPvtDataTracker

type MissingPvtDataTracker struct {
	mock.Mock
}

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

type RWSetScanner struct {
	mock.Mock
}

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

Next provides a mock function with given fields:

func (*RWSetScanner) NextWithConfig

NextWithConfig provides a mock function with given fields:

type ReconciliationFetcher

type ReconciliationFetcher struct {
	mock.Mock
}

ReconciliationFetcher is an autogenerated mock type for the ReconciliationFetcher type

func (*ReconciliationFetcher) FetchReconciledItems

FetchReconciledItems provides a mock function with given fields: dig2collectionConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL