mock

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 7 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.

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.

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 ChaincodeLifecycleEventListener

type ChaincodeLifecycleEventListener struct {
	ChaincodeDeployDoneStub func(bool)

	HandleChaincodeDeployStub func(*ledger.ChaincodeDefinition, []byte) error
	// contains filtered or unexported fields
}

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDone

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDone(arg1 bool)

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneArgsForCall

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDoneArgsForCall(i int) bool

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneCallCount

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDoneCallCount() int

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneCalls

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDoneCalls(stub func(bool))

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeploy

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeploy(arg1 *ledger.ChaincodeDefinition, arg2 []byte) error

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployArgsForCall

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployArgsForCall(i int) (*ledger.ChaincodeDefinition, []byte)

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployCallCount

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployCallCount() int

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployCalls

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployCalls(stub func(*ledger.ChaincodeDefinition, []byte) error)

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployReturns

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployReturns(result1 error)

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployReturnsOnCall

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployReturnsOnCall(i int, result1 error)

func (*ChaincodeLifecycleEventListener) Invocations

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

type ChaincodeLifecycleEventProvider

type ChaincodeLifecycleEventProvider struct {
	RegisterListenerStub func(string, ledger.ChaincodeLifecycleEventListener)
	// contains filtered or unexported fields
}

func (*ChaincodeLifecycleEventProvider) Invocations

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

func (*ChaincodeLifecycleEventProvider) RegisterListener

func (*ChaincodeLifecycleEventProvider) RegisterListenerArgsForCall

func (fake *ChaincodeLifecycleEventProvider) RegisterListenerArgsForCall(i int) (string, ledger.ChaincodeLifecycleEventListener)

func (*ChaincodeLifecycleEventProvider) RegisterListenerCallCount

func (fake *ChaincodeLifecycleEventProvider) RegisterListenerCallCount() int

func (*ChaincodeLifecycleEventProvider) RegisterListenerCalls

func (fake *ChaincodeLifecycleEventProvider) RegisterListenerCalls(stub func(string, ledger.ChaincodeLifecycleEventListener))

type CustomTxProcessor

type CustomTxProcessor struct {
	GenerateSimulationResultsStub func(*common.Envelope, ledger.TxSimulator, bool) error
	// contains filtered or unexported fields
}

func (*CustomTxProcessor) GenerateSimulationResults

func (fake *CustomTxProcessor) GenerateSimulationResults(arg1 *common.Envelope, arg2 ledger.TxSimulator, arg3 bool) error

func (*CustomTxProcessor) GenerateSimulationResultsArgsForCall

func (fake *CustomTxProcessor) GenerateSimulationResultsArgsForCall(i int) (*common.Envelope, ledger.TxSimulator, bool)

func (*CustomTxProcessor) GenerateSimulationResultsCallCount

func (fake *CustomTxProcessor) GenerateSimulationResultsCallCount() int

func (*CustomTxProcessor) GenerateSimulationResultsCalls

func (fake *CustomTxProcessor) GenerateSimulationResultsCalls(stub func(*common.Envelope, ledger.TxSimulator, bool) error)

func (*CustomTxProcessor) GenerateSimulationResultsReturns

func (fake *CustomTxProcessor) GenerateSimulationResultsReturns(result1 error)

func (*CustomTxProcessor) GenerateSimulationResultsReturnsOnCall

func (fake *CustomTxProcessor) GenerateSimulationResultsReturnsOnCall(i int, result1 error)

func (*CustomTxProcessor) Invocations

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

type DeployedChaincodeInfoProvider

type DeployedChaincodeInfoProvider 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)

	ImplicitCollectionsStub func(string, string, ledger.SimpleQueryExecutor) ([]*peer.StaticCollectionConfig, error)

	NamespacesStub func() []string

	UpdatedChaincodesStub func(map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)
	// contains filtered or unexported fields
}

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkg

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgArgsForCall

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCallCount

func (fake *DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCallCount() int

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCalls

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgReturns

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfo

func (*DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfoCallCount

func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCallCount() int

func (*DeployedChaincodeInfoProvider) ChaincodeInfoCalls

func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturns

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall

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

func (*DeployedChaincodeInfoProvider) CollectionInfo

func (*DeployedChaincodeInfoProvider) CollectionInfoArgsForCall

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

func (*DeployedChaincodeInfoProvider) CollectionInfoCallCount

func (fake *DeployedChaincodeInfoProvider) CollectionInfoCallCount() int

func (*DeployedChaincodeInfoProvider) CollectionInfoCalls

func (*DeployedChaincodeInfoProvider) CollectionInfoReturns

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

func (*DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall

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

func (*DeployedChaincodeInfoProvider) ImplicitCollections

func (fake *DeployedChaincodeInfoProvider) ImplicitCollections(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) ([]*peer.StaticCollectionConfig, error)

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsArgsForCall

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsCallCount

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsCallCount() int

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsCalls

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsCalls(stub func(string, string, ledger.SimpleQueryExecutor) ([]*peer.StaticCollectionConfig, error))

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsReturns

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsReturns(result1 []*peer.StaticCollectionConfig, result2 error)

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsReturnsOnCall

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsReturnsOnCall(i int, result1 []*peer.StaticCollectionConfig, result2 error)

func (*DeployedChaincodeInfoProvider) Invocations

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

func (*DeployedChaincodeInfoProvider) Namespaces

func (fake *DeployedChaincodeInfoProvider) Namespaces() []string

func (*DeployedChaincodeInfoProvider) NamespacesCallCount

func (fake *DeployedChaincodeInfoProvider) NamespacesCallCount() int

func (*DeployedChaincodeInfoProvider) NamespacesCalls

func (fake *DeployedChaincodeInfoProvider) NamespacesCalls(stub func() []string)

func (*DeployedChaincodeInfoProvider) NamespacesReturns

func (fake *DeployedChaincodeInfoProvider) NamespacesReturns(result1 []string)

func (*DeployedChaincodeInfoProvider) NamespacesReturnsOnCall

func (fake *DeployedChaincodeInfoProvider) NamespacesReturnsOnCall(i int, result1 []string)

func (*DeployedChaincodeInfoProvider) UpdatedChaincodes

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodes(arg1 map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error)

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall(i int) map[string][]*kvrwset.KVWrite

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount() int

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCalls

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCalls(stub func(map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error))

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturns

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturns(result1 []*ledger.ChaincodeLifecycleInfo, result2 error)

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall(i int, result1 []*ledger.ChaincodeLifecycleInfo, result2 error)

type HealthCheckRegistry

type HealthCheckRegistry struct {
	RegisterCheckerStub func(string, healthz.HealthChecker) error
	// contains filtered or unexported fields
}

func (*HealthCheckRegistry) Invocations

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

func (*HealthCheckRegistry) RegisterChecker

func (fake *HealthCheckRegistry) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error

func (*HealthCheckRegistry) RegisterCheckerArgsForCall

func (fake *HealthCheckRegistry) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)

func (*HealthCheckRegistry) RegisterCheckerCallCount

func (fake *HealthCheckRegistry) RegisterCheckerCallCount() int

func (*HealthCheckRegistry) RegisterCheckerCalls

func (fake *HealthCheckRegistry) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)

func (*HealthCheckRegistry) RegisterCheckerReturns

func (fake *HealthCheckRegistry) RegisterCheckerReturns(result1 error)

func (*HealthCheckRegistry) RegisterCheckerReturnsOnCall

func (fake *HealthCheckRegistry) RegisterCheckerReturnsOnCall(i int, result1 error)

type MembershipInfoProvider

type MembershipInfoProvider struct {
	AmMemberOfStub func(string, *peer.CollectionPolicyConfig) (bool, error)
	// contains filtered or unexported fields
}

func (*MembershipInfoProvider) AmMemberOf

func (fake *MembershipInfoProvider) AmMemberOf(arg1 string, arg2 *peer.CollectionPolicyConfig) (bool, error)

func (*MembershipInfoProvider) AmMemberOfArgsForCall

func (fake *MembershipInfoProvider) AmMemberOfArgsForCall(i int) (string, *peer.CollectionPolicyConfig)

func (*MembershipInfoProvider) AmMemberOfCallCount

func (fake *MembershipInfoProvider) AmMemberOfCallCount() int

func (*MembershipInfoProvider) AmMemberOfCalls

func (fake *MembershipInfoProvider) AmMemberOfCalls(stub func(string, *peer.CollectionPolicyConfig) (bool, error))

func (*MembershipInfoProvider) AmMemberOfReturns

func (fake *MembershipInfoProvider) AmMemberOfReturns(result1 bool, result2 error)

func (*MembershipInfoProvider) AmMemberOfReturnsOnCall

func (fake *MembershipInfoProvider) AmMemberOfReturnsOnCall(i int, result1 bool, result2 error)

func (*MembershipInfoProvider) Invocations

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

type QueryExecutor

type QueryExecutor struct {
	DoneStub func()

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

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

	ExecuteQueryWithMetadataStub func(string, string, map[string]interface{}) (ledger.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) (ledgera.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) (ledgera.ResultsIterator, error)

	GetStateRangeScanIteratorWithMetadataStub func(string, string, string, map[string]interface{}) (ledger.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) (ledgera.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) (ledgera.ResultsIterator, error))

func (*QueryExecutor) ExecuteQueryOnPrivateData

func (fake *QueryExecutor) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledgera.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) (ledgera.ResultsIterator, error))

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturns

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

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall

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

func (*QueryExecutor) ExecuteQueryReturns

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

func (*QueryExecutor) ExecuteQueryReturnsOnCall

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

func (*QueryExecutor) ExecuteQueryWithMetadata

func (fake *QueryExecutor) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledger.QueryResultsIterator, error)

func (*QueryExecutor) ExecuteQueryWithMetadataArgsForCall

func (fake *QueryExecutor) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})

func (*QueryExecutor) ExecuteQueryWithMetadataCallCount

func (fake *QueryExecutor) ExecuteQueryWithMetadataCallCount() int

func (*QueryExecutor) ExecuteQueryWithMetadataCalls

func (fake *QueryExecutor) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledger.QueryResultsIterator, error))

func (*QueryExecutor) ExecuteQueryWithMetadataReturns

func (fake *QueryExecutor) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)

func (*QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall

func (fake *QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.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) (ledgera.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) (ledgera.ResultsIterator, error))

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturns

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

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledgera.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) (ledgera.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) (ledgera.ResultsIterator, error))

func (*QueryExecutor) GetStateRangeScanIteratorReturns

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

func (*QueryExecutor) GetStateRangeScanIteratorReturnsOnCall

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledger.QueryResultsIterator, error)

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledger.QueryResultsIterator, error))

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.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 StateListener

type StateListener struct {
	HandleStateUpdatesStub func(*ledger.StateUpdateTrigger) error

	InitializeStub func(string, ledger.SimpleQueryExecutor) error

	InterestedInNamespacesStub func() []string

	StateCommitDoneStub func(string)
	// contains filtered or unexported fields
}

func (*StateListener) HandleStateUpdates

func (fake *StateListener) HandleStateUpdates(arg1 *ledger.StateUpdateTrigger) error

func (*StateListener) HandleStateUpdatesArgsForCall

func (fake *StateListener) HandleStateUpdatesArgsForCall(i int) *ledger.StateUpdateTrigger

func (*StateListener) HandleStateUpdatesCallCount

func (fake *StateListener) HandleStateUpdatesCallCount() int

func (*StateListener) HandleStateUpdatesCalls

func (fake *StateListener) HandleStateUpdatesCalls(stub func(*ledger.StateUpdateTrigger) error)

func (*StateListener) HandleStateUpdatesReturns

func (fake *StateListener) HandleStateUpdatesReturns(result1 error)

func (*StateListener) HandleStateUpdatesReturnsOnCall

func (fake *StateListener) HandleStateUpdatesReturnsOnCall(i int, result1 error)

func (*StateListener) Initialize

func (fake *StateListener) Initialize(arg1 string, arg2 ledger.SimpleQueryExecutor) error

func (*StateListener) InitializeArgsForCall

func (fake *StateListener) InitializeArgsForCall(i int) (string, ledger.SimpleQueryExecutor)

func (*StateListener) InitializeCallCount

func (fake *StateListener) InitializeCallCount() int

func (*StateListener) InitializeCalls

func (fake *StateListener) InitializeCalls(stub func(string, ledger.SimpleQueryExecutor) error)

func (*StateListener) InitializeReturns

func (fake *StateListener) InitializeReturns(result1 error)

func (*StateListener) InitializeReturnsOnCall

func (fake *StateListener) InitializeReturnsOnCall(i int, result1 error)

func (*StateListener) InterestedInNamespaces

func (fake *StateListener) InterestedInNamespaces() []string

func (*StateListener) InterestedInNamespacesCallCount

func (fake *StateListener) InterestedInNamespacesCallCount() int

func (*StateListener) InterestedInNamespacesCalls

func (fake *StateListener) InterestedInNamespacesCalls(stub func() []string)

func (*StateListener) InterestedInNamespacesReturns

func (fake *StateListener) InterestedInNamespacesReturns(result1 []string)

func (*StateListener) InterestedInNamespacesReturnsOnCall

func (fake *StateListener) InterestedInNamespacesReturnsOnCall(i int, result1 []string)

func (*StateListener) Invocations

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

func (*StateListener) StateCommitDone

func (fake *StateListener) StateCommitDone(arg1 string)

func (*StateListener) StateCommitDoneArgsForCall

func (fake *StateListener) StateCommitDoneArgsForCall(i int) string

func (*StateListener) StateCommitDoneCallCount

func (fake *StateListener) StateCommitDoneCallCount() int

func (*StateListener) StateCommitDoneCalls

func (fake *StateListener) StateCommitDoneCalls(stub func(string))

type TxSimulator

type TxSimulator struct {
	DeletePrivateDataStub func(string, string, string) error

	DeletePrivateDataMetadataStub func(string, string, string) error

	DeleteStateStub func(string, string) error

	DeleteStateMetadataStub func(string, string) error

	DoneStub func()

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

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

	ExecuteQueryWithMetadataStub func(string, string, map[string]interface{}) (ledger.QueryResultsIterator, error)

	ExecuteUpdateStub func(string) 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) (ledgera.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) (ledgera.ResultsIterator, error)

	GetStateRangeScanIteratorWithMetadataStub func(string, string, string, map[string]interface{}) (ledger.QueryResultsIterator, error)

	GetTxSimulationResultsStub func() (*ledger.TxSimulationResults, error)

	SetPrivateDataStub func(string, string, string, []byte) error

	SetPrivateDataMetadataStub func(string, string, string, map[string][]byte) error

	SetPrivateDataMultipleKeysStub func(string, string, map[string][]byte) error

	SetStateStub func(string, string, []byte) error

	SetStateMetadataStub func(string, string, map[string][]byte) error

	SetStateMultipleKeysStub func(string, map[string][]byte) error
	// contains filtered or unexported fields
}

func (*TxSimulator) DeletePrivateData

func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error

func (*TxSimulator) DeletePrivateDataArgsForCall

func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)

func (*TxSimulator) DeletePrivateDataCallCount

func (fake *TxSimulator) DeletePrivateDataCallCount() int

func (*TxSimulator) DeletePrivateDataCalls

func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)

func (*TxSimulator) DeletePrivateDataMetadata

func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error

func (*TxSimulator) DeletePrivateDataMetadataArgsForCall

func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)

func (*TxSimulator) DeletePrivateDataMetadataCallCount

func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int

func (*TxSimulator) DeletePrivateDataMetadataCalls

func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)

func (*TxSimulator) DeletePrivateDataMetadataReturns

func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataMetadataReturnsOnCall

func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeletePrivateDataReturns

func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataReturnsOnCall

func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeleteState

func (fake *TxSimulator) DeleteState(arg1 string, arg2 string) error

func (*TxSimulator) DeleteStateArgsForCall

func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)

func (*TxSimulator) DeleteStateCallCount

func (fake *TxSimulator) DeleteStateCallCount() int

func (*TxSimulator) DeleteStateCalls

func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)

func (*TxSimulator) DeleteStateMetadata

func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error

func (*TxSimulator) DeleteStateMetadataArgsForCall

func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)

func (*TxSimulator) DeleteStateMetadataCallCount

func (fake *TxSimulator) DeleteStateMetadataCallCount() int

func (*TxSimulator) DeleteStateMetadataCalls

func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)

func (*TxSimulator) DeleteStateMetadataReturns

func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)

func (*TxSimulator) DeleteStateMetadataReturnsOnCall

func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) DeleteStateReturns

func (fake *TxSimulator) DeleteStateReturns(result1 error)

func (*TxSimulator) DeleteStateReturnsOnCall

func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)

func (*TxSimulator) Done

func (fake *TxSimulator) Done()

func (*TxSimulator) DoneCallCount

func (fake *TxSimulator) DoneCallCount() int

func (*TxSimulator) DoneCalls

func (fake *TxSimulator) DoneCalls(stub func())

func (*TxSimulator) ExecuteQuery

func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledgera.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryArgsForCall

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

func (*TxSimulator) ExecuteQueryCallCount

func (fake *TxSimulator) ExecuteQueryCallCount() int

func (*TxSimulator) ExecuteQueryCalls

func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledgera.ResultsIterator, error))

func (*TxSimulator) ExecuteQueryOnPrivateData

func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledgera.ResultsIterator, error)

func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall

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

func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int

func (*TxSimulator) ExecuteQueryOnPrivateDataCalls

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledgera.ResultsIterator, error))

func (*TxSimulator) ExecuteQueryOnPrivateDataReturns

func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall

func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryReturns

func (fake *TxSimulator) ExecuteQueryReturns(result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryReturnsOnCall

func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryWithMetadata

func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledger.QueryResultsIterator, error)

func (*TxSimulator) ExecuteQueryWithMetadataArgsForCall

func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})

func (*TxSimulator) ExecuteQueryWithMetadataCallCount

func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int

func (*TxSimulator) ExecuteQueryWithMetadataCalls

func (fake *TxSimulator) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledger.QueryResultsIterator, error))

func (*TxSimulator) ExecuteQueryWithMetadataReturns

func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)

func (*TxSimulator) ExecuteQueryWithMetadataReturnsOnCall

func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)

func (*TxSimulator) ExecuteUpdate

func (fake *TxSimulator) ExecuteUpdate(arg1 string) error

func (*TxSimulator) ExecuteUpdateArgsForCall

func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string

func (*TxSimulator) ExecuteUpdateCallCount

func (fake *TxSimulator) ExecuteUpdateCallCount() int

func (*TxSimulator) ExecuteUpdateCalls

func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)

func (*TxSimulator) ExecuteUpdateReturns

func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)

func (*TxSimulator) ExecuteUpdateReturnsOnCall

func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)

func (*TxSimulator) GetPrivateData

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

func (*TxSimulator) GetPrivateDataArgsForCall

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

func (*TxSimulator) GetPrivateDataCallCount

func (fake *TxSimulator) GetPrivateDataCallCount() int

func (*TxSimulator) GetPrivateDataCalls

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

func (*TxSimulator) GetPrivateDataHash

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

func (*TxSimulator) GetPrivateDataHashArgsForCall

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

func (*TxSimulator) GetPrivateDataHashCallCount

func (fake *TxSimulator) GetPrivateDataHashCallCount() int

func (*TxSimulator) GetPrivateDataHashCalls

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

func (*TxSimulator) GetPrivateDataHashReturns

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

func (*TxSimulator) GetPrivateDataHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadata

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

func (*TxSimulator) GetPrivateDataMetadataArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHash

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

func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHashCallCount

func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int

func (*TxSimulator) GetPrivateDataMetadataByHashCalls

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturns

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadataCallCount

func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int

func (*TxSimulator) GetPrivateDataMetadataCalls

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

func (*TxSimulator) GetPrivateDataMetadataReturns

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

func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMultipleKeys

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

func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall

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

func (*TxSimulator) GetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) GetPrivateDataMultipleKeysCalls

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturns

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall

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

func (*TxSimulator) GetPrivateDataRangeScanIterator

func (fake *TxSimulator) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledgera.ResultsIterator, error)

func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int

func (*TxSimulator) GetPrivateDataRangeScanIteratorCalls

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledgera.ResultsIterator, error))

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) GetPrivateDataReturns

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

func (*TxSimulator) GetPrivateDataReturnsOnCall

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

func (*TxSimulator) GetState

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

func (*TxSimulator) GetStateArgsForCall

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

func (*TxSimulator) GetStateCallCount

func (fake *TxSimulator) GetStateCallCount() int

func (*TxSimulator) GetStateCalls

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

func (*TxSimulator) GetStateMetadata

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

func (*TxSimulator) GetStateMetadataArgsForCall

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

func (*TxSimulator) GetStateMetadataCallCount

func (fake *TxSimulator) GetStateMetadataCallCount() int

func (*TxSimulator) GetStateMetadataCalls

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

func (*TxSimulator) GetStateMetadataReturns

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

func (*TxSimulator) GetStateMetadataReturnsOnCall

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

func (*TxSimulator) GetStateMultipleKeys

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

func (*TxSimulator) GetStateMultipleKeysArgsForCall

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

func (*TxSimulator) GetStateMultipleKeysCallCount

func (fake *TxSimulator) GetStateMultipleKeysCallCount() int

func (*TxSimulator) GetStateMultipleKeysCalls

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

func (*TxSimulator) GetStateMultipleKeysReturns

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

func (*TxSimulator) GetStateMultipleKeysReturnsOnCall

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

func (*TxSimulator) GetStateRangeScanIterator

func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledgera.ResultsIterator, error)

func (*TxSimulator) GetStateRangeScanIteratorArgsForCall

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

func (*TxSimulator) GetStateRangeScanIteratorCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorCalls

func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledgera.ResultsIterator, error))

func (*TxSimulator) GetStateRangeScanIteratorReturns

func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall

func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)

func (*TxSimulator) GetStateRangeScanIteratorWithMetadata

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledger.QueryResultsIterator, error)

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCalls

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledger.QueryResultsIterator, error))

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturns

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledger.QueryResultsIterator, result2 error)

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledger.QueryResultsIterator, result2 error)

func (*TxSimulator) GetStateReturns

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

func (*TxSimulator) GetStateReturnsOnCall

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

func (*TxSimulator) GetTxSimulationResults

func (fake *TxSimulator) GetTxSimulationResults() (*ledger.TxSimulationResults, error)

func (*TxSimulator) GetTxSimulationResultsCallCount

func (fake *TxSimulator) GetTxSimulationResultsCallCount() int

func (*TxSimulator) GetTxSimulationResultsCalls

func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledger.TxSimulationResults, error))

func (*TxSimulator) GetTxSimulationResultsReturns

func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledger.TxSimulationResults, result2 error)

func (*TxSimulator) GetTxSimulationResultsReturnsOnCall

func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledger.TxSimulationResults, result2 error)

func (*TxSimulator) Invocations

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

func (*TxSimulator) SetPrivateData

func (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []byte) error

func (*TxSimulator) SetPrivateDataArgsForCall

func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)

func (*TxSimulator) SetPrivateDataCallCount

func (fake *TxSimulator) SetPrivateDataCallCount() int

func (*TxSimulator) SetPrivateDataCalls

func (fake *TxSimulator) SetPrivateDataCalls(stub func(string, string, string, []byte) error)

func (*TxSimulator) SetPrivateDataMetadata

func (fake *TxSimulator) SetPrivateDataMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string][]byte) error

func (*TxSimulator) SetPrivateDataMetadataArgsForCall

func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)

func (*TxSimulator) SetPrivateDataMetadataCallCount

func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int

func (*TxSimulator) SetPrivateDataMetadataCalls

func (fake *TxSimulator) SetPrivateDataMetadataCalls(stub func(string, string, string, map[string][]byte) error)

func (*TxSimulator) SetPrivateDataMetadataReturns

func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)

func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall

func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeys

func (fake *TxSimulator) SetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 map[string][]byte) error

func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall

func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)

func (*TxSimulator) SetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) SetPrivateDataMultipleKeysCalls

func (fake *TxSimulator) SetPrivateDataMultipleKeysCalls(stub func(string, string, map[string][]byte) error)

func (*TxSimulator) SetPrivateDataMultipleKeysReturns

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetPrivateDataReturns

func (fake *TxSimulator) SetPrivateDataReturns(result1 error)

func (*TxSimulator) SetPrivateDataReturnsOnCall

func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetState

func (fake *TxSimulator) SetState(arg1 string, arg2 string, arg3 []byte) error

func (*TxSimulator) SetStateArgsForCall

func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)

func (*TxSimulator) SetStateCallCount

func (fake *TxSimulator) SetStateCallCount() int

func (*TxSimulator) SetStateCalls

func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)

func (*TxSimulator) SetStateMetadata

func (fake *TxSimulator) SetStateMetadata(arg1 string, arg2 string, arg3 map[string][]byte) error

func (*TxSimulator) SetStateMetadataArgsForCall

func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)

func (*TxSimulator) SetStateMetadataCallCount

func (fake *TxSimulator) SetStateMetadataCallCount() int

func (*TxSimulator) SetStateMetadataCalls

func (fake *TxSimulator) SetStateMetadataCalls(stub func(string, string, map[string][]byte) error)

func (*TxSimulator) SetStateMetadataReturns

func (fake *TxSimulator) SetStateMetadataReturns(result1 error)

func (*TxSimulator) SetStateMetadataReturnsOnCall

func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetStateMultipleKeys

func (fake *TxSimulator) SetStateMultipleKeys(arg1 string, arg2 map[string][]byte) error

func (*TxSimulator) SetStateMultipleKeysArgsForCall

func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)

func (*TxSimulator) SetStateMultipleKeysCallCount

func (fake *TxSimulator) SetStateMultipleKeysCallCount() int

func (*TxSimulator) SetStateMultipleKeysCalls

func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)

func (*TxSimulator) SetStateMultipleKeysReturns

func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)

func (*TxSimulator) SetStateMultipleKeysReturnsOnCall

func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)

func (*TxSimulator) SetStateReturns

func (fake *TxSimulator) SetStateReturns(result1 error)

func (*TxSimulator) SetStateReturnsOnCall

func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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