fabric: github.com/hyperledger/fabric/core/ledger/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/ledger/mock"

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

Package Files

cc_event_listener.go cc_event_provider.go custom_tx_processor.go deployed_ccinfo_provider.go health_check_registry.go membership_info_provider.go query_executor.go state_listener.go tx_simulator.go

type ChaincodeLifecycleEventListener Uses

type ChaincodeLifecycleEventListener struct {
    ChaincodeDeployDoneStub func(bool)

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

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDone Uses

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDone(arg1 bool)

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneArgsForCall Uses

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

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneCallCount Uses

func (fake *ChaincodeLifecycleEventListener) ChaincodeDeployDoneCallCount() int

func (*ChaincodeLifecycleEventListener) ChaincodeDeployDoneCalls Uses

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

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeploy Uses

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

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployArgsForCall Uses

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

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployCallCount Uses

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployCallCount() int

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployCalls Uses

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

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployReturns Uses

func (fake *ChaincodeLifecycleEventListener) HandleChaincodeDeployReturns(result1 error)

func (*ChaincodeLifecycleEventListener) HandleChaincodeDeployReturnsOnCall Uses

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

func (*ChaincodeLifecycleEventListener) Invocations Uses

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

type ChaincodeLifecycleEventProvider Uses

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

func (*ChaincodeLifecycleEventProvider) Invocations Uses

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

func (*ChaincodeLifecycleEventProvider) RegisterListener Uses

func (fake *ChaincodeLifecycleEventProvider) RegisterListener(arg1 string, arg2 ledger.ChaincodeLifecycleEventListener)

func (*ChaincodeLifecycleEventProvider) RegisterListenerArgsForCall Uses

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

func (*ChaincodeLifecycleEventProvider) RegisterListenerCallCount Uses

func (fake *ChaincodeLifecycleEventProvider) RegisterListenerCallCount() int

func (*ChaincodeLifecycleEventProvider) RegisterListenerCalls Uses

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

type CustomTxProcessor Uses

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

func (*CustomTxProcessor) GenerateSimulationResults Uses

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

func (*CustomTxProcessor) GenerateSimulationResultsArgsForCall Uses

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

func (*CustomTxProcessor) GenerateSimulationResultsCallCount Uses

func (fake *CustomTxProcessor) GenerateSimulationResultsCallCount() int

func (*CustomTxProcessor) GenerateSimulationResultsCalls Uses

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

func (*CustomTxProcessor) GenerateSimulationResultsReturns Uses

func (fake *CustomTxProcessor) GenerateSimulationResultsReturns(result1 error)

func (*CustomTxProcessor) GenerateSimulationResultsReturnsOnCall Uses

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

func (*CustomTxProcessor) Invocations Uses

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

type DeployedChaincodeInfoProvider Uses

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 Uses

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgArgsForCall Uses

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCallCount Uses

func (fake *DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCallCount() int

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgCalls Uses

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgReturns Uses

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

func (*DeployedChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall Uses

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfo Uses

func (fake *DeployedChaincodeInfoProvider) ChaincodeInfo(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

func (*DeployedChaincodeInfoProvider) ChaincodeInfoArgsForCall Uses

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfoCallCount Uses

func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCallCount() int

func (*DeployedChaincodeInfoProvider) ChaincodeInfoCalls Uses

func (fake *DeployedChaincodeInfoProvider) ChaincodeInfoCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error))

func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturns Uses

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

func (*DeployedChaincodeInfoProvider) ChaincodeInfoReturnsOnCall Uses

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

func (*DeployedChaincodeInfoProvider) CollectionInfo Uses

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

func (*DeployedChaincodeInfoProvider) CollectionInfoArgsForCall Uses

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

func (*DeployedChaincodeInfoProvider) CollectionInfoCallCount Uses

func (fake *DeployedChaincodeInfoProvider) CollectionInfoCallCount() int

func (*DeployedChaincodeInfoProvider) CollectionInfoCalls Uses

func (fake *DeployedChaincodeInfoProvider) CollectionInfoCalls(stub func(string, string, string, ledger.SimpleQueryExecutor) (*peer.StaticCollectionConfig, error))

func (*DeployedChaincodeInfoProvider) CollectionInfoReturns Uses

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

func (*DeployedChaincodeInfoProvider) CollectionInfoReturnsOnCall Uses

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

func (*DeployedChaincodeInfoProvider) ImplicitCollections Uses

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

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsArgsForCall Uses

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

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsCallCount Uses

func (fake *DeployedChaincodeInfoProvider) ImplicitCollectionsCallCount() int

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsCalls Uses

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

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsReturns Uses

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

func (*DeployedChaincodeInfoProvider) ImplicitCollectionsReturnsOnCall Uses

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

func (*DeployedChaincodeInfoProvider) Invocations Uses

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

func (*DeployedChaincodeInfoProvider) Namespaces Uses

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

func (*DeployedChaincodeInfoProvider) NamespacesCallCount Uses

func (fake *DeployedChaincodeInfoProvider) NamespacesCallCount() int

func (*DeployedChaincodeInfoProvider) NamespacesCalls Uses

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

func (*DeployedChaincodeInfoProvider) NamespacesReturns Uses

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

func (*DeployedChaincodeInfoProvider) NamespacesReturnsOnCall Uses

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

func (*DeployedChaincodeInfoProvider) UpdatedChaincodes Uses

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

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesArgsForCall Uses

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

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount Uses

func (fake *DeployedChaincodeInfoProvider) UpdatedChaincodesCallCount() int

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesCalls Uses

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

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturns Uses

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

func (*DeployedChaincodeInfoProvider) UpdatedChaincodesReturnsOnCall Uses

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

type HealthCheckRegistry Uses

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

func (*HealthCheckRegistry) Invocations Uses

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

func (*HealthCheckRegistry) RegisterChecker Uses

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

func (*HealthCheckRegistry) RegisterCheckerArgsForCall Uses

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

func (*HealthCheckRegistry) RegisterCheckerCallCount Uses

func (fake *HealthCheckRegistry) RegisterCheckerCallCount() int

func (*HealthCheckRegistry) RegisterCheckerCalls Uses

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

func (*HealthCheckRegistry) RegisterCheckerReturns Uses

func (fake *HealthCheckRegistry) RegisterCheckerReturns(result1 error)

func (*HealthCheckRegistry) RegisterCheckerReturnsOnCall Uses

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

type MembershipInfoProvider Uses

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

func (*MembershipInfoProvider) AmMemberOf Uses

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

func (*MembershipInfoProvider) AmMemberOfArgsForCall Uses

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

func (*MembershipInfoProvider) AmMemberOfCallCount Uses

func (fake *MembershipInfoProvider) AmMemberOfCallCount() int

func (*MembershipInfoProvider) AmMemberOfCalls Uses

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

func (*MembershipInfoProvider) AmMemberOfReturns Uses

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

func (*MembershipInfoProvider) AmMemberOfReturnsOnCall Uses

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

func (*MembershipInfoProvider) Invocations Uses

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

type QueryExecutor Uses

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 Uses

func (fake *QueryExecutor) Done()

func (*QueryExecutor) DoneCallCount Uses

func (fake *QueryExecutor) DoneCallCount() int

func (*QueryExecutor) DoneCalls Uses

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

func (*QueryExecutor) ExecuteQuery Uses

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

func (*QueryExecutor) ExecuteQueryArgsForCall Uses

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

func (*QueryExecutor) ExecuteQueryCallCount Uses

func (fake *QueryExecutor) ExecuteQueryCallCount() int

func (*QueryExecutor) ExecuteQueryCalls Uses

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

func (*QueryExecutor) ExecuteQueryOnPrivateData Uses

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

func (*QueryExecutor) ExecuteQueryOnPrivateDataArgsForCall Uses

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

func (*QueryExecutor) ExecuteQueryOnPrivateDataCallCount Uses

func (fake *QueryExecutor) ExecuteQueryOnPrivateDataCallCount() int

func (*QueryExecutor) ExecuteQueryOnPrivateDataCalls Uses

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

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturns Uses

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

func (*QueryExecutor) ExecuteQueryOnPrivateDataReturnsOnCall Uses

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

func (*QueryExecutor) ExecuteQueryReturns Uses

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

func (*QueryExecutor) ExecuteQueryReturnsOnCall Uses

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

func (*QueryExecutor) ExecuteQueryWithMetadata Uses

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

func (*QueryExecutor) ExecuteQueryWithMetadataArgsForCall Uses

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

func (*QueryExecutor) ExecuteQueryWithMetadataCallCount Uses

func (fake *QueryExecutor) ExecuteQueryWithMetadataCallCount() int

func (*QueryExecutor) ExecuteQueryWithMetadataCalls Uses

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

func (*QueryExecutor) ExecuteQueryWithMetadataReturns Uses

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

func (*QueryExecutor) ExecuteQueryWithMetadataReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateData Uses

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

func (*QueryExecutor) GetPrivateDataArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataCallCount Uses

func (fake *QueryExecutor) GetPrivateDataCallCount() int

func (*QueryExecutor) GetPrivateDataCalls Uses

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

func (*QueryExecutor) GetPrivateDataHash Uses

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

func (*QueryExecutor) GetPrivateDataHashArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataHashCallCount Uses

func (fake *QueryExecutor) GetPrivateDataHashCallCount() int

func (*QueryExecutor) GetPrivateDataHashCalls Uses

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

func (*QueryExecutor) GetPrivateDataHashReturns Uses

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

func (*QueryExecutor) GetPrivateDataHashReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateDataMetadata Uses

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

func (*QueryExecutor) GetPrivateDataMetadataArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataMetadataByHash Uses

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

func (*QueryExecutor) GetPrivateDataMetadataByHashArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataMetadataByHashCallCount Uses

func (fake *QueryExecutor) GetPrivateDataMetadataByHashCallCount() int

func (*QueryExecutor) GetPrivateDataMetadataByHashCalls Uses

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

func (*QueryExecutor) GetPrivateDataMetadataByHashReturns Uses

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

func (*QueryExecutor) GetPrivateDataMetadataByHashReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateDataMetadataCallCount Uses

func (fake *QueryExecutor) GetPrivateDataMetadataCallCount() int

func (*QueryExecutor) GetPrivateDataMetadataCalls Uses

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

func (*QueryExecutor) GetPrivateDataMetadataReturns Uses

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

func (*QueryExecutor) GetPrivateDataMetadataReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateDataMultipleKeys Uses

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

func (*QueryExecutor) GetPrivateDataMultipleKeysArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataMultipleKeysCallCount Uses

func (fake *QueryExecutor) GetPrivateDataMultipleKeysCallCount() int

func (*QueryExecutor) GetPrivateDataMultipleKeysCalls Uses

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

func (*QueryExecutor) GetPrivateDataMultipleKeysReturns Uses

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

func (*QueryExecutor) GetPrivateDataMultipleKeysReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateDataRangeScanIterator Uses

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

func (*QueryExecutor) GetPrivateDataRangeScanIteratorArgsForCall Uses

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

func (*QueryExecutor) GetPrivateDataRangeScanIteratorCallCount Uses

func (fake *QueryExecutor) GetPrivateDataRangeScanIteratorCallCount() int

func (*QueryExecutor) GetPrivateDataRangeScanIteratorCalls Uses

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

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturns Uses

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

func (*QueryExecutor) GetPrivateDataRangeScanIteratorReturnsOnCall Uses

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

func (*QueryExecutor) GetPrivateDataReturns Uses

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

func (*QueryExecutor) GetPrivateDataReturnsOnCall Uses

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

func (*QueryExecutor) GetState Uses

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

func (*QueryExecutor) GetStateArgsForCall Uses

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

func (*QueryExecutor) GetStateCallCount Uses

func (fake *QueryExecutor) GetStateCallCount() int

func (*QueryExecutor) GetStateCalls Uses

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

func (*QueryExecutor) GetStateMetadata Uses

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

func (*QueryExecutor) GetStateMetadataArgsForCall Uses

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

func (*QueryExecutor) GetStateMetadataCallCount Uses

func (fake *QueryExecutor) GetStateMetadataCallCount() int

func (*QueryExecutor) GetStateMetadataCalls Uses

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

func (*QueryExecutor) GetStateMetadataReturns Uses

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

func (*QueryExecutor) GetStateMetadataReturnsOnCall Uses

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

func (*QueryExecutor) GetStateMultipleKeys Uses

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

func (*QueryExecutor) GetStateMultipleKeysArgsForCall Uses

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

func (*QueryExecutor) GetStateMultipleKeysCallCount Uses

func (fake *QueryExecutor) GetStateMultipleKeysCallCount() int

func (*QueryExecutor) GetStateMultipleKeysCalls Uses

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

func (*QueryExecutor) GetStateMultipleKeysReturns Uses

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

func (*QueryExecutor) GetStateMultipleKeysReturnsOnCall Uses

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

func (*QueryExecutor) GetStateRangeScanIterator Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorArgsForCall Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorCallCount Uses

func (fake *QueryExecutor) GetStateRangeScanIteratorCallCount() int

func (*QueryExecutor) GetStateRangeScanIteratorCalls Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorReturns Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorReturnsOnCall Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataArgsForCall Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount Uses

func (fake *QueryExecutor) GetStateRangeScanIteratorWithMetadataCallCount() int

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataCalls Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturns Uses

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

func (*QueryExecutor) GetStateRangeScanIteratorWithMetadataReturnsOnCall Uses

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

func (*QueryExecutor) GetStateReturns Uses

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

func (*QueryExecutor) GetStateReturnsOnCall Uses

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

func (*QueryExecutor) Invocations Uses

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

type StateListener Uses

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 Uses

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

func (*StateListener) HandleStateUpdatesArgsForCall Uses

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

func (*StateListener) HandleStateUpdatesCallCount Uses

func (fake *StateListener) HandleStateUpdatesCallCount() int

func (*StateListener) HandleStateUpdatesCalls Uses

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

func (*StateListener) HandleStateUpdatesReturns Uses

func (fake *StateListener) HandleStateUpdatesReturns(result1 error)

func (*StateListener) HandleStateUpdatesReturnsOnCall Uses

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

func (*StateListener) Initialize Uses

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

func (*StateListener) InitializeArgsForCall Uses

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

func (*StateListener) InitializeCallCount Uses

func (fake *StateListener) InitializeCallCount() int

func (*StateListener) InitializeCalls Uses

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

func (*StateListener) InitializeReturns Uses

func (fake *StateListener) InitializeReturns(result1 error)

func (*StateListener) InitializeReturnsOnCall Uses

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

func (*StateListener) InterestedInNamespaces Uses

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

func (*StateListener) InterestedInNamespacesCallCount Uses

func (fake *StateListener) InterestedInNamespacesCallCount() int

func (*StateListener) InterestedInNamespacesCalls Uses

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

func (*StateListener) InterestedInNamespacesReturns Uses

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

func (*StateListener) InterestedInNamespacesReturnsOnCall Uses

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

func (*StateListener) Invocations Uses

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

func (*StateListener) StateCommitDone Uses

func (fake *StateListener) StateCommitDone(arg1 string)

func (*StateListener) StateCommitDoneArgsForCall Uses

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

func (*StateListener) StateCommitDoneCallCount Uses

func (fake *StateListener) StateCommitDoneCallCount() int

func (*StateListener) StateCommitDoneCalls Uses

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

type TxSimulator Uses

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 Uses

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

func (*TxSimulator) DeletePrivateDataArgsForCall Uses

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

func (*TxSimulator) DeletePrivateDataCallCount Uses

func (fake *TxSimulator) DeletePrivateDataCallCount() int

func (*TxSimulator) DeletePrivateDataCalls Uses

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

func (*TxSimulator) DeletePrivateDataMetadata Uses

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

func (*TxSimulator) DeletePrivateDataMetadataArgsForCall Uses

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

func (*TxSimulator) DeletePrivateDataMetadataCallCount Uses

func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int

func (*TxSimulator) DeletePrivateDataMetadataCalls Uses

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

func (*TxSimulator) DeletePrivateDataMetadataReturns Uses

func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataMetadataReturnsOnCall Uses

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

func (*TxSimulator) DeletePrivateDataReturns Uses

func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)

func (*TxSimulator) DeletePrivateDataReturnsOnCall Uses

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

func (*TxSimulator) DeleteState Uses

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

func (*TxSimulator) DeleteStateArgsForCall Uses

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

func (*TxSimulator) DeleteStateCallCount Uses

func (fake *TxSimulator) DeleteStateCallCount() int

func (*TxSimulator) DeleteStateCalls Uses

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

func (*TxSimulator) DeleteStateMetadata Uses

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

func (*TxSimulator) DeleteStateMetadataArgsForCall Uses

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

func (*TxSimulator) DeleteStateMetadataCallCount Uses

func (fake *TxSimulator) DeleteStateMetadataCallCount() int

func (*TxSimulator) DeleteStateMetadataCalls Uses

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

func (*TxSimulator) DeleteStateMetadataReturns Uses

func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)

func (*TxSimulator) DeleteStateMetadataReturnsOnCall Uses

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

func (*TxSimulator) DeleteStateReturns Uses

func (fake *TxSimulator) DeleteStateReturns(result1 error)

func (*TxSimulator) DeleteStateReturnsOnCall Uses

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

func (*TxSimulator) Done Uses

func (fake *TxSimulator) Done()

func (*TxSimulator) DoneCallCount Uses

func (fake *TxSimulator) DoneCallCount() int

func (*TxSimulator) DoneCalls Uses

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

func (*TxSimulator) ExecuteQuery Uses

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

func (*TxSimulator) ExecuteQueryArgsForCall Uses

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

func (*TxSimulator) ExecuteQueryCallCount Uses

func (fake *TxSimulator) ExecuteQueryCallCount() int

func (*TxSimulator) ExecuteQueryCalls Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateData Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount Uses

func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int

func (*TxSimulator) ExecuteQueryOnPrivateDataCalls Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataReturns Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall Uses

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

func (*TxSimulator) ExecuteQueryReturns Uses

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

func (*TxSimulator) ExecuteQueryReturnsOnCall Uses

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

func (*TxSimulator) ExecuteQueryWithMetadata Uses

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

func (*TxSimulator) ExecuteQueryWithMetadataArgsForCall Uses

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

func (*TxSimulator) ExecuteQueryWithMetadataCallCount Uses

func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int

func (*TxSimulator) ExecuteQueryWithMetadataCalls Uses

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

func (*TxSimulator) ExecuteQueryWithMetadataReturns Uses

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

func (*TxSimulator) ExecuteQueryWithMetadataReturnsOnCall Uses

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

func (*TxSimulator) ExecuteUpdate Uses

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

func (*TxSimulator) ExecuteUpdateArgsForCall Uses

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

func (*TxSimulator) ExecuteUpdateCallCount Uses

func (fake *TxSimulator) ExecuteUpdateCallCount() int

func (*TxSimulator) ExecuteUpdateCalls Uses

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

func (*TxSimulator) ExecuteUpdateReturns Uses

func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)

func (*TxSimulator) ExecuteUpdateReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateData Uses

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

func (*TxSimulator) GetPrivateDataArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataCallCount Uses

func (fake *TxSimulator) GetPrivateDataCallCount() int

func (*TxSimulator) GetPrivateDataCalls Uses

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

func (*TxSimulator) GetPrivateDataHash Uses

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

func (*TxSimulator) GetPrivateDataHashArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataHashCallCount Uses

func (fake *TxSimulator) GetPrivateDataHashCallCount() int

func (*TxSimulator) GetPrivateDataHashCalls Uses

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

func (*TxSimulator) GetPrivateDataHashReturns Uses

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

func (*TxSimulator) GetPrivateDataHashReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataMetadata Uses

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

func (*TxSimulator) GetPrivateDataMetadataArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataMetadataByHash Uses

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

func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataMetadataByHashCallCount Uses

func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int

func (*TxSimulator) GetPrivateDataMetadataByHashCalls Uses

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturns Uses

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataMetadataCallCount Uses

func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int

func (*TxSimulator) GetPrivateDataMetadataCalls Uses

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

func (*TxSimulator) GetPrivateDataMetadataReturns Uses

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

func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataMultipleKeys Uses

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

func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataMultipleKeysCallCount Uses

func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) GetPrivateDataMultipleKeysCalls Uses

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturns Uses

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIterator Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount Uses

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int

func (*TxSimulator) GetPrivateDataRangeScanIteratorCalls Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataReturns Uses

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

func (*TxSimulator) GetPrivateDataReturnsOnCall Uses

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

func (*TxSimulator) GetState Uses

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

func (*TxSimulator) GetStateArgsForCall Uses

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

func (*TxSimulator) GetStateCallCount Uses

func (fake *TxSimulator) GetStateCallCount() int

func (*TxSimulator) GetStateCalls Uses

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

func (*TxSimulator) GetStateMetadata Uses

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

func (*TxSimulator) GetStateMetadataArgsForCall Uses

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

func (*TxSimulator) GetStateMetadataCallCount Uses

func (fake *TxSimulator) GetStateMetadataCallCount() int

func (*TxSimulator) GetStateMetadataCalls Uses

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

func (*TxSimulator) GetStateMetadataReturns Uses

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

func (*TxSimulator) GetStateMetadataReturnsOnCall Uses

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

func (*TxSimulator) GetStateMultipleKeys Uses

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

func (*TxSimulator) GetStateMultipleKeysArgsForCall Uses

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

func (*TxSimulator) GetStateMultipleKeysCallCount Uses

func (fake *TxSimulator) GetStateMultipleKeysCallCount() int

func (*TxSimulator) GetStateMultipleKeysCalls Uses

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

func (*TxSimulator) GetStateMultipleKeysReturns Uses

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

func (*TxSimulator) GetStateMultipleKeysReturnsOnCall Uses

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

func (*TxSimulator) GetStateRangeScanIterator Uses

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

func (*TxSimulator) GetStateRangeScanIteratorArgsForCall Uses

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

func (*TxSimulator) GetStateRangeScanIteratorCallCount Uses

func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorCalls Uses

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

func (*TxSimulator) GetStateRangeScanIteratorReturns Uses

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

func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadata Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount Uses

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCalls Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturns Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall Uses

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

func (*TxSimulator) GetStateReturns Uses

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

func (*TxSimulator) GetStateReturnsOnCall Uses

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

func (*TxSimulator) GetTxSimulationResults Uses

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

func (*TxSimulator) GetTxSimulationResultsCallCount Uses

func (fake *TxSimulator) GetTxSimulationResultsCallCount() int

func (*TxSimulator) GetTxSimulationResultsCalls Uses

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

func (*TxSimulator) GetTxSimulationResultsReturns Uses

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

func (*TxSimulator) GetTxSimulationResultsReturnsOnCall Uses

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

func (*TxSimulator) Invocations Uses

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

func (*TxSimulator) SetPrivateData Uses

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

func (*TxSimulator) SetPrivateDataArgsForCall Uses

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

func (*TxSimulator) SetPrivateDataCallCount Uses

func (fake *TxSimulator) SetPrivateDataCallCount() int

func (*TxSimulator) SetPrivateDataCalls Uses

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

func (*TxSimulator) SetPrivateDataMetadata Uses

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

func (*TxSimulator) SetPrivateDataMetadataArgsForCall Uses

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

func (*TxSimulator) SetPrivateDataMetadataCallCount Uses

func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int

func (*TxSimulator) SetPrivateDataMetadataCalls Uses

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

func (*TxSimulator) SetPrivateDataMetadataReturns Uses

func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)

func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall Uses

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

func (*TxSimulator) SetPrivateDataMultipleKeys Uses

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

func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall Uses

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

func (*TxSimulator) SetPrivateDataMultipleKeysCallCount Uses

func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) SetPrivateDataMultipleKeysCalls Uses

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

func (*TxSimulator) SetPrivateDataMultipleKeysReturns Uses

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall Uses

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

func (*TxSimulator) SetPrivateDataReturns Uses

func (fake *TxSimulator) SetPrivateDataReturns(result1 error)

func (*TxSimulator) SetPrivateDataReturnsOnCall Uses

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

func (*TxSimulator) SetState Uses

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

func (*TxSimulator) SetStateArgsForCall Uses

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

func (*TxSimulator) SetStateCallCount Uses

func (fake *TxSimulator) SetStateCallCount() int

func (*TxSimulator) SetStateCalls Uses

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

func (*TxSimulator) SetStateMetadata Uses

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

func (*TxSimulator) SetStateMetadataArgsForCall Uses

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

func (*TxSimulator) SetStateMetadataCallCount Uses

func (fake *TxSimulator) SetStateMetadataCallCount() int

func (*TxSimulator) SetStateMetadataCalls Uses

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

func (*TxSimulator) SetStateMetadataReturns Uses

func (fake *TxSimulator) SetStateMetadataReturns(result1 error)

func (*TxSimulator) SetStateMetadataReturnsOnCall Uses

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

func (*TxSimulator) SetStateMultipleKeys Uses

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

func (*TxSimulator) SetStateMultipleKeysArgsForCall Uses

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

func (*TxSimulator) SetStateMultipleKeysCallCount Uses

func (fake *TxSimulator) SetStateMultipleKeysCallCount() int

func (*TxSimulator) SetStateMultipleKeysCalls Uses

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

func (*TxSimulator) SetStateMultipleKeysReturns Uses

func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)

func (*TxSimulator) SetStateMultipleKeysReturnsOnCall Uses

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

func (*TxSimulator) SetStateReturns Uses

func (fake *TxSimulator) SetStateReturns(result1 error)

func (*TxSimulator) SetStateReturnsOnCall Uses

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

Package mock imports 7 packages (graph) and is imported by 3 packages. Updated 2019-12-03. Refresh now. Tools for package owners.