fabric: github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/validator/valimpl/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/validator/valimpl/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

processor.go txmgr.go txsim.go

type Processor Uses

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

func (*Processor) GenerateSimulationResults Uses

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

func (*Processor) GenerateSimulationResultsArgsForCall Uses

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

func (*Processor) GenerateSimulationResultsCallCount Uses

func (fake *Processor) GenerateSimulationResultsCallCount() int

func (*Processor) GenerateSimulationResultsCalls Uses

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

func (*Processor) GenerateSimulationResultsReturns Uses

func (fake *Processor) GenerateSimulationResultsReturns(result1 error)

func (*Processor) GenerateSimulationResultsReturnsOnCall Uses

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

func (*Processor) Invocations Uses

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

type TxMgr Uses

type TxMgr struct {
    CommitStub func() error

    CommitLostBlockStub func(*ledger.BlockAndPvtData) error

    GetLastSavepointStub func() (*version.Height, error)

    NameStub func() string

    NewQueryExecutorStub func(string) (ledger.QueryExecutor, error)

    NewTxSimulatorStub func(string) (ledger.TxSimulator, error)

    RemoveStaleAndCommitPvtDataOfOldBlocksStub func(map[uint64][]*ledger.TxPvtData) error

    RollbackStub func()

    ShouldRecoverStub func(uint64) (bool, uint64, error)

    ShutdownStub func()

    ValidateAndPrepareStub func(*ledger.BlockAndPvtData, bool) ([]*txmgr.TxStatInfo, []byte, error)
    // contains filtered or unexported fields
}

func (*TxMgr) Commit Uses

func (fake *TxMgr) Commit() error

func (*TxMgr) CommitCallCount Uses

func (fake *TxMgr) CommitCallCount() int

func (*TxMgr) CommitCalls Uses

func (fake *TxMgr) CommitCalls(stub func() error)

func (*TxMgr) CommitLostBlock Uses

func (fake *TxMgr) CommitLostBlock(arg1 *ledger.BlockAndPvtData) error

func (*TxMgr) CommitLostBlockArgsForCall Uses

func (fake *TxMgr) CommitLostBlockArgsForCall(i int) *ledger.BlockAndPvtData

func (*TxMgr) CommitLostBlockCallCount Uses

func (fake *TxMgr) CommitLostBlockCallCount() int

func (*TxMgr) CommitLostBlockCalls Uses

func (fake *TxMgr) CommitLostBlockCalls(stub func(*ledger.BlockAndPvtData) error)

func (*TxMgr) CommitLostBlockReturns Uses

func (fake *TxMgr) CommitLostBlockReturns(result1 error)

func (*TxMgr) CommitLostBlockReturnsOnCall Uses

func (fake *TxMgr) CommitLostBlockReturnsOnCall(i int, result1 error)

func (*TxMgr) CommitReturns Uses

func (fake *TxMgr) CommitReturns(result1 error)

func (*TxMgr) CommitReturnsOnCall Uses

func (fake *TxMgr) CommitReturnsOnCall(i int, result1 error)

func (*TxMgr) GetLastSavepoint Uses

func (fake *TxMgr) GetLastSavepoint() (*version.Height, error)

func (*TxMgr) GetLastSavepointCallCount Uses

func (fake *TxMgr) GetLastSavepointCallCount() int

func (*TxMgr) GetLastSavepointCalls Uses

func (fake *TxMgr) GetLastSavepointCalls(stub func() (*version.Height, error))

func (*TxMgr) GetLastSavepointReturns Uses

func (fake *TxMgr) GetLastSavepointReturns(result1 *version.Height, result2 error)

func (*TxMgr) GetLastSavepointReturnsOnCall Uses

func (fake *TxMgr) GetLastSavepointReturnsOnCall(i int, result1 *version.Height, result2 error)

func (*TxMgr) Invocations Uses

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

func (*TxMgr) Name Uses

func (fake *TxMgr) Name() string

func (*TxMgr) NameCallCount Uses

func (fake *TxMgr) NameCallCount() int

func (*TxMgr) NameCalls Uses

func (fake *TxMgr) NameCalls(stub func() string)

func (*TxMgr) NameReturns Uses

func (fake *TxMgr) NameReturns(result1 string)

func (*TxMgr) NameReturnsOnCall Uses

func (fake *TxMgr) NameReturnsOnCall(i int, result1 string)

func (*TxMgr) NewQueryExecutor Uses

func (fake *TxMgr) NewQueryExecutor(arg1 string) (ledger.QueryExecutor, error)

func (*TxMgr) NewQueryExecutorArgsForCall Uses

func (fake *TxMgr) NewQueryExecutorArgsForCall(i int) string

func (*TxMgr) NewQueryExecutorCallCount Uses

func (fake *TxMgr) NewQueryExecutorCallCount() int

func (*TxMgr) NewQueryExecutorCalls Uses

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

func (*TxMgr) NewQueryExecutorReturns Uses

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

func (*TxMgr) NewQueryExecutorReturnsOnCall Uses

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

func (*TxMgr) NewTxSimulator Uses

func (fake *TxMgr) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)

func (*TxMgr) NewTxSimulatorArgsForCall Uses

func (fake *TxMgr) NewTxSimulatorArgsForCall(i int) string

func (*TxMgr) NewTxSimulatorCallCount Uses

func (fake *TxMgr) NewTxSimulatorCallCount() int

func (*TxMgr) NewTxSimulatorCalls Uses

func (fake *TxMgr) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))

func (*TxMgr) NewTxSimulatorReturns Uses

func (fake *TxMgr) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)

func (*TxMgr) NewTxSimulatorReturnsOnCall Uses

func (fake *TxMgr) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks(arg1 map[uint64][]*ledger.TxPvtData) error

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksArgsForCall Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksArgsForCall(i int) map[uint64][]*ledger.TxPvtData

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount() int

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCalls Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCalls(stub func(map[uint64][]*ledger.TxPvtData) error)

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns(result1 error)

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturnsOnCall Uses

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 error)

func (*TxMgr) Rollback Uses

func (fake *TxMgr) Rollback()

func (*TxMgr) RollbackCallCount Uses

func (fake *TxMgr) RollbackCallCount() int

func (*TxMgr) RollbackCalls Uses

func (fake *TxMgr) RollbackCalls(stub func())

func (*TxMgr) ShouldRecover Uses

func (fake *TxMgr) ShouldRecover(arg1 uint64) (bool, uint64, error)

func (*TxMgr) ShouldRecoverArgsForCall Uses

func (fake *TxMgr) ShouldRecoverArgsForCall(i int) uint64

func (*TxMgr) ShouldRecoverCallCount Uses

func (fake *TxMgr) ShouldRecoverCallCount() int

func (*TxMgr) ShouldRecoverCalls Uses

func (fake *TxMgr) ShouldRecoverCalls(stub func(uint64) (bool, uint64, error))

func (*TxMgr) ShouldRecoverReturns Uses

func (fake *TxMgr) ShouldRecoverReturns(result1 bool, result2 uint64, result3 error)

func (*TxMgr) ShouldRecoverReturnsOnCall Uses

func (fake *TxMgr) ShouldRecoverReturnsOnCall(i int, result1 bool, result2 uint64, result3 error)

func (*TxMgr) Shutdown Uses

func (fake *TxMgr) Shutdown()

func (*TxMgr) ShutdownCallCount Uses

func (fake *TxMgr) ShutdownCallCount() int

func (*TxMgr) ShutdownCalls Uses

func (fake *TxMgr) ShutdownCalls(stub func())

func (*TxMgr) ValidateAndPrepare Uses

func (fake *TxMgr) ValidateAndPrepare(arg1 *ledger.BlockAndPvtData, arg2 bool) ([]*txmgr.TxStatInfo, []byte, error)

func (*TxMgr) ValidateAndPrepareArgsForCall Uses

func (fake *TxMgr) ValidateAndPrepareArgsForCall(i int) (*ledger.BlockAndPvtData, bool)

func (*TxMgr) ValidateAndPrepareCallCount Uses

func (fake *TxMgr) ValidateAndPrepareCallCount() int

func (*TxMgr) ValidateAndPrepareCalls Uses

func (fake *TxMgr) ValidateAndPrepareCalls(stub func(*ledger.BlockAndPvtData, bool) ([]*txmgr.TxStatInfo, []byte, error))

func (*TxMgr) ValidateAndPrepareReturns Uses

func (fake *TxMgr) ValidateAndPrepareReturns(result1 []*txmgr.TxStatInfo, result2 []byte, result3 error)

func (*TxMgr) ValidateAndPrepareReturnsOnCall Uses

func (fake *TxMgr) ValidateAndPrepareReturnsOnCall(i int, result1 []*txmgr.TxStatInfo, result2 []byte, result3 error)

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) (ledger.ResultsIterator, error)

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

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

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

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

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

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

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

    GetTxSimulationResultsStub func() (*ledgera.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) (ledger.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) (ledger.ResultsIterator, error))

func (*TxSimulator) ExecuteQueryOnPrivateData Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataReturns Uses

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

func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall Uses

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

func (*TxSimulator) ExecuteQueryReturns Uses

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

func (*TxSimulator) ExecuteQueryReturnsOnCall Uses

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

func (*TxSimulator) ExecuteQueryWithMetadata Uses

func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.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{}) (ledgera.QueryResultsIterator, error))

func (*TxSimulator) ExecuteQueryWithMetadataReturns Uses

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

func (*TxSimulator) ExecuteQueryWithMetadataReturnsOnCall Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns Uses

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall Uses

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

func (*TxSimulator) GetStateRangeScanIteratorReturns Uses

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

func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadata Uses

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.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{}) (ledgera.QueryResultsIterator, error))

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturns Uses

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

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall Uses

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.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() (*ledgera.TxSimulationResults, error)

func (*TxSimulator) GetTxSimulationResultsCallCount Uses

func (fake *TxSimulator) GetTxSimulationResultsCallCount() int

func (*TxSimulator) GetTxSimulationResultsCalls Uses

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

func (*TxSimulator) GetTxSimulationResultsReturns Uses

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

func (*TxSimulator) GetTxSimulationResultsReturnsOnCall Uses

func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledgera.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 6 packages (graph). Updated 2019-11-18. Refresh now. Tools for package owners.