mock

package
v0.0.0-...-e295948 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaincodeInfoProvider

type ChaincodeInfoProvider struct {
	AllCollectionsConfigPkgStub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

	ChaincodeInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

	CollectionInfoStub func(string, string, string, ledger.SimpleQueryExecutor) (*peer.StaticCollectionConfig, error)
	// contains filtered or unexported fields
}

func (*ChaincodeInfoProvider) AllCollectionsConfigPkg

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkg(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgArgsForCall

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgCallCount

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgCallCount() int

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgCalls

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error))

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgReturns

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgReturns(result1 *peer.CollectionConfigPackage, result2 error)

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall(i int, result1 *peer.CollectionConfigPackage, result2 error)

func (*ChaincodeInfoProvider) ChaincodeInfo

func (*ChaincodeInfoProvider) ChaincodeInfoArgsForCall

func (fake *ChaincodeInfoProvider) ChaincodeInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*ChaincodeInfoProvider) ChaincodeInfoCallCount

func (fake *ChaincodeInfoProvider) ChaincodeInfoCallCount() int

func (*ChaincodeInfoProvider) ChaincodeInfoCalls

func (*ChaincodeInfoProvider) ChaincodeInfoReturns

func (fake *ChaincodeInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*ChaincodeInfoProvider) ChaincodeInfoReturnsOnCall

func (fake *ChaincodeInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*ChaincodeInfoProvider) CollectionInfo

func (fake *ChaincodeInfoProvider) CollectionInfo(arg1 string, arg2 string, arg3 string, arg4 ledger.SimpleQueryExecutor) (*peer.StaticCollectionConfig, error)

func (*ChaincodeInfoProvider) CollectionInfoArgsForCall

func (fake *ChaincodeInfoProvider) CollectionInfoArgsForCall(i int) (string, string, string, ledger.SimpleQueryExecutor)

func (*ChaincodeInfoProvider) CollectionInfoCallCount

func (fake *ChaincodeInfoProvider) CollectionInfoCallCount() int

func (*ChaincodeInfoProvider) CollectionInfoCalls

func (*ChaincodeInfoProvider) CollectionInfoReturns

func (fake *ChaincodeInfoProvider) CollectionInfoReturns(result1 *peer.StaticCollectionConfig, result2 error)

func (*ChaincodeInfoProvider) CollectionInfoReturnsOnCall

func (fake *ChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *peer.StaticCollectionConfig, result2 error)

func (*ChaincodeInfoProvider) Invocations

func (fake *ChaincodeInfoProvider) Invocations() map[string][][]interface{}

type IdentityDeserializerFactory

type IdentityDeserializerFactory struct {
	GetIdentityDeserializerStub func(string) msp.IdentityDeserializer
	// contains filtered or unexported fields
}

func (*IdentityDeserializerFactory) GetIdentityDeserializer

func (fake *IdentityDeserializerFactory) GetIdentityDeserializer(arg1 string) msp.IdentityDeserializer

func (*IdentityDeserializerFactory) GetIdentityDeserializerArgsForCall

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerArgsForCall(i int) string

func (*IdentityDeserializerFactory) GetIdentityDeserializerCallCount

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerCallCount() int

func (*IdentityDeserializerFactory) GetIdentityDeserializerCalls

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerCalls(stub func(string) msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) GetIdentityDeserializerReturns

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerReturns(result1 msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) GetIdentityDeserializerReturnsOnCall

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerReturnsOnCall(i int, result1 msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) Invocations

func (fake *IdentityDeserializerFactory) Invocations() map[string][][]interface{}

type QueryExecutor

type QueryExecutor struct {
	DoneStub func()

	ExecuteQueryStub func(string, string) (ledger.ResultsIterator, error)

	ExecuteQueryOnPrivateDataStub func(string, string, string) (ledger.ResultsIterator, error)

	ExecuteQueryWithPaginationStub func(string, string, string, int32) (ledgera.QueryResultsIterator, 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)

	GetStateRangeScanIteratorWithPaginationStub func(string, string, string, int32) (ledgera.QueryResultsIterator, error)
	// contains filtered or unexported fields
}

func (*QueryExecutor) Done

func (fake *QueryExecutor) Done()

func (*QueryExecutor) DoneCallCount

func (fake *QueryExecutor) DoneCallCount() int

func (*QueryExecutor) DoneCalls

func (fake *QueryExecutor) DoneCalls(stub func())

func (*QueryExecutor) ExecuteQuery

func (fake *QueryExecutor) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)

func (*QueryExecutor) ExecuteQueryArgsForCall

func (fake *QueryExecutor) ExecuteQueryArgsForCall(i int) (string, string)

func (*QueryExecutor) ExecuteQueryCallCount

func (fake *QueryExecutor) ExecuteQueryCallCount() int

func (*QueryExecutor) ExecuteQueryCalls

func (fake *QueryExecutor) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))

func (*QueryExecutor) ExecuteQueryOnPrivateData

func (fake *QueryExecutor) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)

func (*QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)

func (*QueryExecutor) ExecuteQueryOnPrivateDataCallCount

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int

func (*QueryExecutor) ExecuteQueryOnPrivateDataCalls

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturns

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryReturns

func (fake *QueryExecutor) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryReturnsOnCall

func (fake *QueryExecutor) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryWithPagination

func (fake *QueryExecutor) ExecuteQueryWithPagination(arg1 string, arg2 string, arg3 string, arg4 int32) (ledgera.QueryResultsIterator, error)

func (*QueryExecutor) ExecuteQueryWithPaginationArgsForCall

func (fake *QueryExecutor) ExecuteQueryWithPaginationArgsForCall(i int) (string, string, string, int32)

func (*QueryExecutor) ExecuteQueryWithPaginationCallCount

func (fake *QueryExecutor) ExecuteQueryWithPaginationCallCount() int

func (*QueryExecutor) ExecuteQueryWithPaginationCalls

func (fake *QueryExecutor) ExecuteQueryWithPaginationCalls(stub func(string, string, string, int32) (ledgera.QueryResultsIterator, error))

func (*QueryExecutor) ExecuteQueryWithPaginationReturns

func (fake *QueryExecutor) ExecuteQueryWithPaginationReturns(result1 ledgera.QueryResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryWithPaginationReturnsOnCall

func (fake *QueryExecutor) ExecuteQueryWithPaginationReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)

func (*QueryExecutor) GetPrivateData

func (fake *QueryExecutor) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)

func (*QueryExecutor) GetPrivateDataArgsForCall

func (fake *QueryExecutor) GetPrivateDataArgsForCall(i int) (string, string, string)

func (*QueryExecutor) GetPrivateDataCallCount

func (fake *QueryExecutor) GetPrivateDataCallCount() int

func (*QueryExecutor) GetPrivateDataCalls

func (fake *QueryExecutor) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))

func (*QueryExecutor) GetPrivateDataHash

func (fake *QueryExecutor) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) ([]byte, error)

func (*QueryExecutor) GetPrivateDataHashArgsForCall

func (fake *QueryExecutor) GetPrivateDataHashArgsForCall(i int) (string, string, string)

func (*QueryExecutor) GetPrivateDataHashCallCount

func (fake *QueryExecutor) GetPrivateDataHashCallCount() int

func (*QueryExecutor) GetPrivateDataHashCalls

func (fake *QueryExecutor) GetPrivateDataHashCalls(stub func(string, string, string) ([]byte, error))

func (*QueryExecutor) GetPrivateDataHashReturns

func (fake *QueryExecutor) GetPrivateDataHashReturns(result1 []byte, result2 error)

func (*QueryExecutor) GetPrivateDataHashReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)

func (*QueryExecutor) GetPrivateDataMetadata

func (fake *QueryExecutor) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)

func (*QueryExecutor) GetPrivateDataMetadataArgsForCall

func (fake *QueryExecutor) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)

func (*QueryExecutor) GetPrivateDataMetadataByHash

func (fake *QueryExecutor) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)

func (*QueryExecutor) GetPrivateDataMetadataByHashArgsForCall

func (fake *QueryExecutor) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)

func (*QueryExecutor) GetPrivateDataMetadataByHashCallCount

func (fake *QueryExecutor) GetPrivateDataMetadataByHashCallCount() int

func (*QueryExecutor) GetPrivateDataMetadataByHashCalls

func (fake *QueryExecutor) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))

func (*QueryExecutor) GetPrivateDataMetadataByHashReturns

func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataMetadataCallCount

func (fake *QueryExecutor) GetPrivateDataMetadataCallCount() int

func (*QueryExecutor) GetPrivateDataMetadataCalls

func (fake *QueryExecutor) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))

func (*QueryExecutor) GetPrivateDataMetadataReturns

func (fake *QueryExecutor) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataMetadataReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataMultipleKeys

func (fake *QueryExecutor) GetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 []string) ([][]byte, error)

func (*QueryExecutor) GetPrivateDataMultipleKeysArgsForCall

func (fake *QueryExecutor) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)

func (*QueryExecutor) GetPrivateDataMultipleKeysCallCount

func (fake *QueryExecutor) GetPrivateDataMultipleKeysCallCount() int

func (*QueryExecutor) GetPrivateDataMultipleKeysCalls

func (fake *QueryExecutor) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))

func (*QueryExecutor) GetPrivateDataMultipleKeysReturns

func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*QueryExecutor) GetPrivateDataRangeScanIterator

func (fake *QueryExecutor) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)

func (*QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)

func (*QueryExecutor) GetPrivateDataRangeScanIteratorCallCount

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int

func (*QueryExecutor) GetPrivateDataRangeScanIteratorCalls

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturns

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) GetPrivateDataReturns

func (fake *QueryExecutor) GetPrivateDataReturns(result1 []byte, result2 error)

func (*QueryExecutor) GetPrivateDataReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)

func (*QueryExecutor) GetState

func (fake *QueryExecutor) GetState(arg1 string, arg2 string) ([]byte, error)

func (*QueryExecutor) GetStateArgsForCall

func (fake *QueryExecutor) GetStateArgsForCall(i int) (string, string)

func (*QueryExecutor) GetStateCallCount

func (fake *QueryExecutor) GetStateCallCount() int

func (*QueryExecutor) GetStateCalls

func (fake *QueryExecutor) GetStateCalls(stub func(string, string) ([]byte, error))

func (*QueryExecutor) GetStateMetadata

func (fake *QueryExecutor) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)

func (*QueryExecutor) GetStateMetadataArgsForCall

func (fake *QueryExecutor) GetStateMetadataArgsForCall(i int) (string, string)

func (*QueryExecutor) GetStateMetadataCallCount

func (fake *QueryExecutor) GetStateMetadataCallCount() int

func (*QueryExecutor) GetStateMetadataCalls

func (fake *QueryExecutor) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))

func (*QueryExecutor) GetStateMetadataReturns

func (fake *QueryExecutor) GetStateMetadataReturns(result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetStateMetadataReturnsOnCall

func (fake *QueryExecutor) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*QueryExecutor) GetStateMultipleKeys

func (fake *QueryExecutor) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)

func (*QueryExecutor) GetStateMultipleKeysArgsForCall

func (fake *QueryExecutor) GetStateMultipleKeysArgsForCall(i int) (string, []string)

func (*QueryExecutor) GetStateMultipleKeysCallCount

func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int

func (*QueryExecutor) GetStateMultipleKeysCalls

func (fake *QueryExecutor) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))

func (*QueryExecutor) GetStateMultipleKeysReturns

func (fake *QueryExecutor) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)

func (*QueryExecutor) GetStateMultipleKeysReturnsOnCall

func (fake *QueryExecutor) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*QueryExecutor) GetStateRangeScanIterator

func (fake *QueryExecutor) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)

func (*QueryExecutor) GetStateRangeScanIteratorArgsForCall

func (fake *QueryExecutor) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)

func (*QueryExecutor) GetStateRangeScanIteratorCallCount

func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int

func (*QueryExecutor) GetStateRangeScanIteratorCalls

func (fake *QueryExecutor) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))

func (*QueryExecutor) GetStateRangeScanIteratorReturns

func (fake *QueryExecutor) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) GetStateRangeScanIteratorReturnsOnCall

func (fake *QueryExecutor) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)

func (*QueryExecutor) GetStateRangeScanIteratorWithPagination

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPagination(arg1 string, arg2 string, arg3 string, arg4 int32) (ledgera.QueryResultsIterator, error)

func (*QueryExecutor) GetStateRangeScanIteratorWithPaginationArgsForCall

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPaginationArgsForCall(i int) (string, string, string, int32)

func (*QueryExecutor) GetStateRangeScanIteratorWithPaginationCallCount

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPaginationCallCount() int

func (*QueryExecutor) GetStateRangeScanIteratorWithPaginationCalls

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPaginationCalls(stub func(string, string, string, int32) (ledgera.QueryResultsIterator, error))

func (*QueryExecutor) GetStateRangeScanIteratorWithPaginationReturns

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPaginationReturns(result1 ledgera.QueryResultsIterator, result2 error)

func (*QueryExecutor) GetStateRangeScanIteratorWithPaginationReturnsOnCall

func (fake *QueryExecutor) GetStateRangeScanIteratorWithPaginationReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)

func (*QueryExecutor) GetStateReturns

func (fake *QueryExecutor) GetStateReturns(result1 []byte, result2 error)

func (*QueryExecutor) GetStateReturnsOnCall

func (fake *QueryExecutor) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*QueryExecutor) Invocations

func (fake *QueryExecutor) Invocations() map[string][][]interface{}

type QueryExecutorFactory

type QueryExecutorFactory struct {
	NewQueryExecutorStub func() (ledger.QueryExecutor, error)
	// contains filtered or unexported fields
}

func (*QueryExecutorFactory) Invocations

func (fake *QueryExecutorFactory) Invocations() map[string][][]interface{}

func (*QueryExecutorFactory) NewQueryExecutor

func (fake *QueryExecutorFactory) NewQueryExecutor() (ledger.QueryExecutor, error)

func (*QueryExecutorFactory) NewQueryExecutorCallCount

func (fake *QueryExecutorFactory) NewQueryExecutorCallCount() int

func (*QueryExecutorFactory) NewQueryExecutorCalls

func (fake *QueryExecutorFactory) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))

func (*QueryExecutorFactory) NewQueryExecutorReturns

func (fake *QueryExecutorFactory) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)

func (*QueryExecutorFactory) NewQueryExecutorReturnsOnCall

func (fake *QueryExecutorFactory) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)

Jump to

Keyboard shortcuts

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