Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Processor
- func (fake *Processor) GenerateSimulationResults(arg1 *common.Envelope, arg2 ledger.TxSimulator, arg3 bool) error
- func (fake *Processor) GenerateSimulationResultsArgsForCall(i int) (*common.Envelope, ledger.TxSimulator, bool)
- func (fake *Processor) GenerateSimulationResultsCallCount() int
- func (fake *Processor) GenerateSimulationResultsCalls(stub func(*common.Envelope, ledger.TxSimulator, bool) error)
- func (fake *Processor) GenerateSimulationResultsReturns(result1 error)
- func (fake *Processor) GenerateSimulationResultsReturnsOnCall(i int, result1 error)
- func (fake *Processor) Invocations() map[string][][]interface{}
- type TxMgr
- func (fake *TxMgr) Commit() error
- func (fake *TxMgr) CommitCallCount() int
- func (fake *TxMgr) CommitCalls(stub func() error)
- func (fake *TxMgr) CommitLostBlock(arg1 *ledger.BlockAndPvtData) error
- func (fake *TxMgr) CommitLostBlockArgsForCall(i int) *ledger.BlockAndPvtData
- func (fake *TxMgr) CommitLostBlockCallCount() int
- func (fake *TxMgr) CommitLostBlockCalls(stub func(*ledger.BlockAndPvtData) error)
- func (fake *TxMgr) CommitLostBlockReturns(result1 error)
- func (fake *TxMgr) CommitLostBlockReturnsOnCall(i int, result1 error)
- func (fake *TxMgr) CommitReturns(result1 error)
- func (fake *TxMgr) CommitReturnsOnCall(i int, result1 error)
- func (fake *TxMgr) GetLastSavepoint() (*version.Height, error)
- func (fake *TxMgr) GetLastSavepointCallCount() int
- func (fake *TxMgr) GetLastSavepointCalls(stub func() (*version.Height, error))
- func (fake *TxMgr) GetLastSavepointReturns(result1 *version.Height, result2 error)
- func (fake *TxMgr) GetLastSavepointReturnsOnCall(i int, result1 *version.Height, result2 error)
- func (fake *TxMgr) Invocations() map[string][][]interface{}
- func (fake *TxMgr) Name() string
- func (fake *TxMgr) NameCallCount() int
- func (fake *TxMgr) NameCalls(stub func() string)
- func (fake *TxMgr) NameReturns(result1 string)
- func (fake *TxMgr) NameReturnsOnCall(i int, result1 string)
- func (fake *TxMgr) NewQueryExecutor(arg1 string) (ledger.QueryExecutor, error)
- func (fake *TxMgr) NewQueryExecutorArgsForCall(i int) string
- func (fake *TxMgr) NewQueryExecutorCallCount() int
- func (fake *TxMgr) NewQueryExecutorCalls(stub func(string) (ledger.QueryExecutor, error))
- func (fake *TxMgr) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
- func (fake *TxMgr) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
- func (fake *TxMgr) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
- func (fake *TxMgr) NewTxSimulatorArgsForCall(i int) string
- func (fake *TxMgr) NewTxSimulatorCallCount() int
- func (fake *TxMgr) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
- func (fake *TxMgr) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
- func (fake *TxMgr) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks(arg1 map[uint64][]*ledger.TxPvtData) error
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksArgsForCall(i int) map[uint64][]*ledger.TxPvtData
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount() int
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCalls(stub func(map[uint64][]*ledger.TxPvtData) error)
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns(result1 error)
- func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 error)
- func (fake *TxMgr) Rollback()
- func (fake *TxMgr) RollbackCallCount() int
- func (fake *TxMgr) RollbackCalls(stub func())
- func (fake *TxMgr) ShouldRecover(arg1 uint64) (bool, uint64, error)
- func (fake *TxMgr) ShouldRecoverArgsForCall(i int) uint64
- func (fake *TxMgr) ShouldRecoverCallCount() int
- func (fake *TxMgr) ShouldRecoverCalls(stub func(uint64) (bool, uint64, error))
- func (fake *TxMgr) ShouldRecoverReturns(result1 bool, result2 uint64, result3 error)
- func (fake *TxMgr) ShouldRecoverReturnsOnCall(i int, result1 bool, result2 uint64, result3 error)
- func (fake *TxMgr) Shutdown()
- func (fake *TxMgr) ShutdownCallCount() int
- func (fake *TxMgr) ShutdownCalls(stub func())
- func (fake *TxMgr) ValidateAndPrepare(arg1 *ledger.BlockAndPvtData, arg2 bool) ([]*txmgr.TxStatInfo, []byte, error)
- func (fake *TxMgr) ValidateAndPrepareArgsForCall(i int) (*ledger.BlockAndPvtData, bool)
- func (fake *TxMgr) ValidateAndPrepareCallCount() int
- func (fake *TxMgr) ValidateAndPrepareCalls(stub func(*ledger.BlockAndPvtData, bool) ([]*txmgr.TxStatInfo, []byte, error))
- func (fake *TxMgr) ValidateAndPrepareReturns(result1 []*txmgr.TxStatInfo, result2 []byte, result3 error)
- func (fake *TxMgr) ValidateAndPrepareReturnsOnCall(i int, result1 []*txmgr.TxStatInfo, result2 []byte, result3 error)
- type TxSimulator
- func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error
- func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)
- func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error
- func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
- func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)
- func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)
- func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)
- func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeleteState(arg1 string, arg2 string) error
- func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateCallCount() int
- func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)
- func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error
- func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) DeleteStateMetadataCallCount() int
- func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)
- func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)
- func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) DeleteStateReturns(result1 error)
- func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) Done()
- func (fake *TxSimulator) DoneCallCount() int
- func (fake *TxSimulator) DoneCalls(stub func())
- func (fake *TxSimulator) ExecuteConditionQuery(arg1 string, arg2 entitydefinition.Search) ([]byte, error)
- func (fake *TxSimulator) ExecuteConditionQueryArgsForCall(i int) (string, entitydefinition.Search)
- func (fake *TxSimulator) ExecuteConditionQueryCallCount() int
- func (fake *TxSimulator) ExecuteConditionQueryCalls(stub func(string, entitydefinition.Search) ([]byte, error))
- func (fake *TxSimulator) ExecuteConditionQueryReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) ExecuteConditionQueryReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
- func (fake *TxSimulator) ExecuteQueryCallCount() int
- func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
- func (fake *TxSimulator) ExecuteQueryWithMetadataCalls(...)
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) ExecuteUpdate(arg1 string) error
- func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
- func (fake *TxSimulator) ExecuteUpdateCallCount() int
- func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)
- func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
- func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)
- func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataCallCount() int
- func (fake *TxSimulator) GetPrivateDataCalls(stub func(string, string, string) ([]byte, error))
- func (fake *TxSimulator) GetPrivateDataHash(arg1 string, arg2 string, arg3 string) ([]byte, error)
- func (fake *TxSimulator) GetPrivateDataHashArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataHashCallCount() int
- func (fake *TxSimulator) GetPrivateDataHashCalls(stub func(string, string, string) ([]byte, error))
- func (fake *TxSimulator) GetPrivateDataHashReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadata(arg1 string, arg2 string, arg3 string) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetPrivateDataMetadataByHash(arg1 string, arg2 string, arg3 []byte) (map[string][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadataByHashCalls(stub func(string, string, []byte) (map[string][]byte, error))
- func (fake *TxSimulator) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int
- func (fake *TxSimulator) GetPrivateDataMetadataCalls(stub func(string, string, string) (map[string][]byte, error))
- func (fake *TxSimulator) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 []string) ([][]byte, error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) GetPrivateDataMultipleKeysCalls(stub func(string, string, []string) ([][]byte, error))
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall(i int) (string, string, string, string)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetState(arg1 string, arg2 string) ([]byte, error)
- func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateCallCount() int
- func (fake *TxSimulator) GetStateCalls(stub func(string, string) ([]byte, error))
- func (fake *TxSimulator) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)
- func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
- func (fake *TxSimulator) GetStateMetadataCallCount() int
- func (fake *TxSimulator) GetStateMetadataCalls(stub func(string, string) (map[string][]byte, error))
- func (fake *TxSimulator) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *TxSimulator) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)
- func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
- func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
- func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
- func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(...)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
- func (fake *TxSimulator) GetStateReturns(result1 []byte, result2 error)
- func (fake *TxSimulator) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TxSimulator) GetTxSimulationResults() (*ledgera.TxSimulationResults, error)
- func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
- func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledgera.TxSimulationResults, error))
- func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledgera.TxSimulationResults, result2 error)
- func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledgera.TxSimulationResults, result2 error)
- func (fake *TxSimulator) Invocations() map[string][][]interface{}
- func (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []byte) error
- func (fake *TxSimulator) SetPrivateDataArgsForCall(i int) (string, string, string, []byte)
- func (fake *TxSimulator) SetPrivateDataCallCount() int
- func (fake *TxSimulator) SetPrivateDataCalls(stub func(string, string, string, []byte) error)
- func (fake *TxSimulator) SetPrivateDataMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMetadataArgsForCall(i int) (string, string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
- func (fake *TxSimulator) SetPrivateDataMetadataCalls(stub func(string, string, string, map[string][]byte) error)
- func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeys(arg1 string, arg2 string, arg3 map[string][]byte) error
- func (fake *TxSimulator) SetPrivateDataMultipleKeysArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
- func (fake *TxSimulator) SetPrivateDataMultipleKeysCalls(stub func(string, string, map[string][]byte) error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetPrivateDataReturns(result1 error)
- func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetState(arg1 string, arg2 string, arg3 []byte) error
- func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
- func (fake *TxSimulator) SetStateCallCount() int
- func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)
- func (fake *TxSimulator) SetStateMetadata(arg1 string, arg2 string, arg3 map[string][]byte) error
- func (fake *TxSimulator) SetStateMetadataArgsForCall(i int) (string, string, map[string][]byte)
- func (fake *TxSimulator) SetStateMetadataCallCount() int
- func (fake *TxSimulator) SetStateMetadataCalls(stub func(string, string, map[string][]byte) error)
- func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
- func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetStateMultipleKeys(arg1 string, arg2 map[string][]byte) error
- func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
- func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
- func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)
- func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)
- func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)
- func (fake *TxSimulator) SetStateReturns(result1 error)
- func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct { GenerateSimulationResultsStub func(*common.Envelope, ledger.TxSimulator, bool) error // contains filtered or unexported fields }
func (*Processor) GenerateSimulationResults ¶
func (*Processor) GenerateSimulationResultsArgsForCall ¶
func (*Processor) GenerateSimulationResultsCallCount ¶
func (*Processor) GenerateSimulationResultsCalls ¶
func (*Processor) GenerateSimulationResultsReturns ¶
func (*Processor) GenerateSimulationResultsReturnsOnCall ¶
func (*Processor) Invocations ¶
type TxMgr ¶
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) CommitCallCount ¶
func (*TxMgr) CommitCalls ¶
func (*TxMgr) CommitLostBlock ¶
func (fake *TxMgr) CommitLostBlock(arg1 *ledger.BlockAndPvtData) error
func (*TxMgr) CommitLostBlockArgsForCall ¶
func (fake *TxMgr) CommitLostBlockArgsForCall(i int) *ledger.BlockAndPvtData
func (*TxMgr) CommitLostBlockCallCount ¶
func (*TxMgr) CommitLostBlockCalls ¶
func (fake *TxMgr) CommitLostBlockCalls(stub func(*ledger.BlockAndPvtData) error)
func (*TxMgr) CommitLostBlockReturns ¶
func (*TxMgr) CommitLostBlockReturnsOnCall ¶
func (*TxMgr) CommitReturns ¶
func (*TxMgr) CommitReturnsOnCall ¶
func (*TxMgr) GetLastSavepointCallCount ¶
func (*TxMgr) GetLastSavepointCalls ¶
func (*TxMgr) GetLastSavepointReturns ¶
func (*TxMgr) GetLastSavepointReturnsOnCall ¶
func (*TxMgr) Invocations ¶
func (*TxMgr) NameCallCount ¶
func (*TxMgr) NameReturns ¶
func (*TxMgr) NameReturnsOnCall ¶
func (*TxMgr) NewQueryExecutor ¶
func (fake *TxMgr) NewQueryExecutor(arg1 string) (ledger.QueryExecutor, error)
func (*TxMgr) NewQueryExecutorArgsForCall ¶
func (*TxMgr) NewQueryExecutorCallCount ¶
func (*TxMgr) NewQueryExecutorCalls ¶
func (fake *TxMgr) NewQueryExecutorCalls(stub func(string) (ledger.QueryExecutor, error))
func (*TxMgr) NewQueryExecutorReturns ¶
func (fake *TxMgr) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
func (*TxMgr) NewQueryExecutorReturnsOnCall ¶
func (fake *TxMgr) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
func (*TxMgr) NewTxSimulator ¶
func (fake *TxMgr) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
func (*TxMgr) NewTxSimulatorArgsForCall ¶
func (*TxMgr) NewTxSimulatorCallCount ¶
func (*TxMgr) NewTxSimulatorCalls ¶
func (fake *TxMgr) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
func (*TxMgr) NewTxSimulatorReturns ¶
func (fake *TxMgr) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
func (*TxMgr) NewTxSimulatorReturnsOnCall ¶
func (fake *TxMgr) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks ¶
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksArgsForCall ¶
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount ¶
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCalls ¶
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns ¶
func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturnsOnCall ¶
func (*TxMgr) RollbackCallCount ¶
func (*TxMgr) RollbackCalls ¶
func (fake *TxMgr) RollbackCalls(stub func())
func (*TxMgr) ShouldRecoverArgsForCall ¶
func (*TxMgr) ShouldRecoverCallCount ¶
func (*TxMgr) ShouldRecoverCalls ¶
func (*TxMgr) ShouldRecoverReturns ¶
func (*TxMgr) ShouldRecoverReturnsOnCall ¶
func (*TxMgr) ShutdownCallCount ¶
func (*TxMgr) ShutdownCalls ¶
func (fake *TxMgr) ShutdownCalls(stub func())
func (*TxMgr) ValidateAndPrepare ¶
func (fake *TxMgr) ValidateAndPrepare(arg1 *ledger.BlockAndPvtData, arg2 bool) ([]*txmgr.TxStatInfo, []byte, error)
func (*TxMgr) ValidateAndPrepareArgsForCall ¶
func (fake *TxMgr) ValidateAndPrepareArgsForCall(i int) (*ledger.BlockAndPvtData, bool)
func (*TxMgr) ValidateAndPrepareCallCount ¶
func (*TxMgr) ValidateAndPrepareCalls ¶
func (fake *TxMgr) ValidateAndPrepareCalls(stub func(*ledger.BlockAndPvtData, bool) ([]*txmgr.TxStatInfo, []byte, error))
func (*TxMgr) ValidateAndPrepareReturns ¶
func (fake *TxMgr) ValidateAndPrepareReturns(result1 []*txmgr.TxStatInfo, result2 []byte, result3 error)
func (*TxMgr) ValidateAndPrepareReturnsOnCall ¶
type TxSimulator ¶
type TxSimulator struct { DeletePrivateDataStub func(string, string, string) error DeletePrivateDataMetadataStub func(string, string, string) error DeleteStateStub func(string, string) error DeleteStateMetadataStub func(string, string) error DoneStub func() ExecuteConditionQueryStub func(string, entitydefinition.Search) ([]byte, error) 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 ¶
func (fake *TxSimulator) DeletePrivateData(arg1 string, arg2 string, arg3 string) error
func (*TxSimulator) DeletePrivateDataArgsForCall ¶
func (fake *TxSimulator) DeletePrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) DeletePrivateDataCallCount ¶
func (fake *TxSimulator) DeletePrivateDataCallCount() int
func (*TxSimulator) DeletePrivateDataCalls ¶
func (fake *TxSimulator) DeletePrivateDataCalls(stub func(string, string, string) error)
func (*TxSimulator) DeletePrivateDataMetadata ¶
func (fake *TxSimulator) DeletePrivateDataMetadata(arg1 string, arg2 string, arg3 string) error
func (*TxSimulator) DeletePrivateDataMetadataArgsForCall ¶
func (fake *TxSimulator) DeletePrivateDataMetadataArgsForCall(i int) (string, string, string)
func (*TxSimulator) DeletePrivateDataMetadataCallCount ¶
func (fake *TxSimulator) DeletePrivateDataMetadataCallCount() int
func (*TxSimulator) DeletePrivateDataMetadataCalls ¶
func (fake *TxSimulator) DeletePrivateDataMetadataCalls(stub func(string, string, string) error)
func (*TxSimulator) DeletePrivateDataMetadataReturns ¶
func (fake *TxSimulator) DeletePrivateDataMetadataReturns(result1 error)
func (*TxSimulator) DeletePrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) DeletePrivateDataMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeletePrivateDataReturns ¶
func (fake *TxSimulator) DeletePrivateDataReturns(result1 error)
func (*TxSimulator) DeletePrivateDataReturnsOnCall ¶
func (fake *TxSimulator) DeletePrivateDataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeleteState ¶
func (fake *TxSimulator) DeleteState(arg1 string, arg2 string) error
func (*TxSimulator) DeleteStateArgsForCall ¶
func (fake *TxSimulator) DeleteStateArgsForCall(i int) (string, string)
func (*TxSimulator) DeleteStateCallCount ¶
func (fake *TxSimulator) DeleteStateCallCount() int
func (*TxSimulator) DeleteStateCalls ¶
func (fake *TxSimulator) DeleteStateCalls(stub func(string, string) error)
func (*TxSimulator) DeleteStateMetadata ¶
func (fake *TxSimulator) DeleteStateMetadata(arg1 string, arg2 string) error
func (*TxSimulator) DeleteStateMetadataArgsForCall ¶
func (fake *TxSimulator) DeleteStateMetadataArgsForCall(i int) (string, string)
func (*TxSimulator) DeleteStateMetadataCallCount ¶
func (fake *TxSimulator) DeleteStateMetadataCallCount() int
func (*TxSimulator) DeleteStateMetadataCalls ¶
func (fake *TxSimulator) DeleteStateMetadataCalls(stub func(string, string) error)
func (*TxSimulator) DeleteStateMetadataReturns ¶
func (fake *TxSimulator) DeleteStateMetadataReturns(result1 error)
func (*TxSimulator) DeleteStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) DeleteStateMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) DeleteStateReturns ¶
func (fake *TxSimulator) DeleteStateReturns(result1 error)
func (*TxSimulator) DeleteStateReturnsOnCall ¶
func (fake *TxSimulator) DeleteStateReturnsOnCall(i int, result1 error)
func (*TxSimulator) Done ¶
func (fake *TxSimulator) Done()
func (*TxSimulator) DoneCallCount ¶
func (fake *TxSimulator) DoneCallCount() int
func (*TxSimulator) DoneCalls ¶
func (fake *TxSimulator) DoneCalls(stub func())
func (*TxSimulator) ExecuteConditionQuery ¶
func (fake *TxSimulator) ExecuteConditionQuery(arg1 string, arg2 entitydefinition.Search) ([]byte, error)
func (*TxSimulator) ExecuteConditionQueryArgsForCall ¶
func (fake *TxSimulator) ExecuteConditionQueryArgsForCall(i int) (string, entitydefinition.Search)
func (*TxSimulator) ExecuteConditionQueryCallCount ¶
func (fake *TxSimulator) ExecuteConditionQueryCallCount() int
func (*TxSimulator) ExecuteConditionQueryCalls ¶
func (fake *TxSimulator) ExecuteConditionQueryCalls(stub func(string, entitydefinition.Search) ([]byte, error))
func (*TxSimulator) ExecuteConditionQueryReturns ¶
func (fake *TxSimulator) ExecuteConditionQueryReturns(result1 []byte, result2 error)
func (*TxSimulator) ExecuteConditionQueryReturnsOnCall ¶
func (fake *TxSimulator) ExecuteConditionQueryReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) ExecuteQuery ¶
func (fake *TxSimulator) ExecuteQuery(arg1 string, arg2 string) (ledger.ResultsIterator, error)
func (*TxSimulator) ExecuteQueryArgsForCall ¶
func (fake *TxSimulator) ExecuteQueryArgsForCall(i int) (string, string)
func (*TxSimulator) ExecuteQueryCallCount ¶
func (fake *TxSimulator) ExecuteQueryCallCount() int
func (*TxSimulator) ExecuteQueryCalls ¶
func (fake *TxSimulator) ExecuteQueryCalls(stub func(string, string) (ledger.ResultsIterator, error))
func (*TxSimulator) ExecuteQueryOnPrivateData ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateData(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (*TxSimulator) ExecuteQueryOnPrivateDataArgsForCall ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) ExecuteQueryOnPrivateDataCallCount ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataCallCount() int
func (*TxSimulator) ExecuteQueryOnPrivateDataCalls ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (*TxSimulator) ExecuteQueryOnPrivateDataReturns ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturns(result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) ExecuteQueryOnPrivateDataReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryReturns ¶
func (fake *TxSimulator) ExecuteQueryReturns(result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryReturnsOnCall ¶
func (fake *TxSimulator) ExecuteQueryReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryWithMetadata ¶
func (fake *TxSimulator) ExecuteQueryWithMetadata(arg1 string, arg2 string, arg3 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (*TxSimulator) ExecuteQueryWithMetadataArgsForCall ¶
func (fake *TxSimulator) ExecuteQueryWithMetadataArgsForCall(i int) (string, string, map[string]interface{})
func (*TxSimulator) ExecuteQueryWithMetadataCallCount ¶
func (fake *TxSimulator) ExecuteQueryWithMetadataCallCount() int
func (*TxSimulator) ExecuteQueryWithMetadataCalls ¶
func (fake *TxSimulator) ExecuteQueryWithMetadataCalls(stub func(string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (*TxSimulator) ExecuteQueryWithMetadataReturns ¶
func (fake *TxSimulator) ExecuteQueryWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (*TxSimulator) ExecuteQueryWithMetadataReturnsOnCall ¶
func (fake *TxSimulator) ExecuteQueryWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
func (*TxSimulator) ExecuteUpdate ¶
func (fake *TxSimulator) ExecuteUpdate(arg1 string) error
func (*TxSimulator) ExecuteUpdateArgsForCall ¶
func (fake *TxSimulator) ExecuteUpdateArgsForCall(i int) string
func (*TxSimulator) ExecuteUpdateCallCount ¶
func (fake *TxSimulator) ExecuteUpdateCallCount() int
func (*TxSimulator) ExecuteUpdateCalls ¶
func (fake *TxSimulator) ExecuteUpdateCalls(stub func(string) error)
func (*TxSimulator) ExecuteUpdateReturns ¶
func (fake *TxSimulator) ExecuteUpdateReturns(result1 error)
func (*TxSimulator) ExecuteUpdateReturnsOnCall ¶
func (fake *TxSimulator) ExecuteUpdateReturnsOnCall(i int, result1 error)
func (*TxSimulator) GetPrivateData ¶
func (*TxSimulator) GetPrivateDataArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetPrivateDataCallCount ¶
func (fake *TxSimulator) GetPrivateDataCallCount() int
func (*TxSimulator) GetPrivateDataCalls ¶
func (*TxSimulator) GetPrivateDataHash ¶
func (*TxSimulator) GetPrivateDataHashArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataHashArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetPrivateDataHashCallCount ¶
func (fake *TxSimulator) GetPrivateDataHashCallCount() int
func (*TxSimulator) GetPrivateDataHashCalls ¶
func (*TxSimulator) GetPrivateDataHashReturns ¶
func (fake *TxSimulator) GetPrivateDataHashReturns(result1 []byte, result2 error)
func (*TxSimulator) GetPrivateDataHashReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataHashReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadata ¶
func (*TxSimulator) GetPrivateDataMetadataArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetPrivateDataMetadataByHash ¶
func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashArgsForCall(i int) (string, string, []byte)
func (*TxSimulator) GetPrivateDataMetadataByHashCallCount ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int
func (*TxSimulator) GetPrivateDataMetadataByHashCalls ¶
func (*TxSimulator) GetPrivateDataMetadataByHashReturns ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataCallCount ¶
func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int
func (*TxSimulator) GetPrivateDataMetadataCalls ¶
func (*TxSimulator) GetPrivateDataMetadataReturns ¶
func (fake *TxSimulator) GetPrivateDataMetadataReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMultipleKeys ¶
func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysArgsForCall(i int) (string, string, []string)
func (*TxSimulator) GetPrivateDataMultipleKeysCallCount ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int
func (*TxSimulator) GetPrivateDataMultipleKeysCalls ¶
func (*TxSimulator) GetPrivateDataMultipleKeysReturns ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturns(result1 [][]byte, result2 error)
func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*TxSimulator) GetPrivateDataRangeScanIterator ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIterator(arg1 string, arg2 string, arg3 string, arg4 string) (ledger.ResultsIterator, error)
func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall ¶
func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int
func (*TxSimulator) GetPrivateDataRangeScanIteratorCalls ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (ledger.ResultsIterator, error))
func (*TxSimulator) GetPrivateDataRangeScanIteratorReturns ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) GetPrivateDataReturns ¶
func (fake *TxSimulator) GetPrivateDataReturns(result1 []byte, result2 error)
func (*TxSimulator) GetPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) GetPrivateDataReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetState ¶
func (fake *TxSimulator) GetState(arg1 string, arg2 string) ([]byte, error)
func (*TxSimulator) GetStateArgsForCall ¶
func (fake *TxSimulator) GetStateArgsForCall(i int) (string, string)
func (*TxSimulator) GetStateCallCount ¶
func (fake *TxSimulator) GetStateCallCount() int
func (*TxSimulator) GetStateCalls ¶
func (fake *TxSimulator) GetStateCalls(stub func(string, string) ([]byte, error))
func (*TxSimulator) GetStateMetadata ¶
func (*TxSimulator) GetStateMetadataArgsForCall ¶
func (fake *TxSimulator) GetStateMetadataArgsForCall(i int) (string, string)
func (*TxSimulator) GetStateMetadataCallCount ¶
func (fake *TxSimulator) GetStateMetadataCallCount() int
func (*TxSimulator) GetStateMetadataCalls ¶
func (*TxSimulator) GetStateMetadataReturns ¶
func (fake *TxSimulator) GetStateMetadataReturns(result1 map[string][]byte, result2 error)
func (*TxSimulator) GetStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) GetStateMetadataReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*TxSimulator) GetStateMultipleKeys ¶
func (fake *TxSimulator) GetStateMultipleKeys(arg1 string, arg2 []string) ([][]byte, error)
func (*TxSimulator) GetStateMultipleKeysArgsForCall ¶
func (fake *TxSimulator) GetStateMultipleKeysArgsForCall(i int) (string, []string)
func (*TxSimulator) GetStateMultipleKeysCallCount ¶
func (fake *TxSimulator) GetStateMultipleKeysCallCount() int
func (*TxSimulator) GetStateMultipleKeysCalls ¶
func (fake *TxSimulator) GetStateMultipleKeysCalls(stub func(string, []string) ([][]byte, error))
func (*TxSimulator) GetStateMultipleKeysReturns ¶
func (fake *TxSimulator) GetStateMultipleKeysReturns(result1 [][]byte, result2 error)
func (*TxSimulator) GetStateMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) GetStateMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*TxSimulator) GetStateRangeScanIterator ¶
func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (ledger.ResultsIterator, error)
func (*TxSimulator) GetStateRangeScanIteratorArgsForCall ¶
func (fake *TxSimulator) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*TxSimulator) GetStateRangeScanIteratorCallCount ¶
func (fake *TxSimulator) GetStateRangeScanIteratorCallCount() int
func (*TxSimulator) GetStateRangeScanIteratorCalls ¶
func (fake *TxSimulator) GetStateRangeScanIteratorCalls(stub func(string, string, string) (ledger.ResultsIterator, error))
func (*TxSimulator) GetStateRangeScanIteratorReturns ¶
func (fake *TxSimulator) GetStateRangeScanIteratorReturns(result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *TxSimulator) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadata ¶
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadata(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}) (ledgera.QueryResultsIterator, error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall ¶
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount ¶
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCalls ¶
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (ledgera.QueryResultsIterator, error))
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturns ¶
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturns(result1 ledgera.QueryResultsIterator, result2 error)
func (*TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall ¶
func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataReturnsOnCall(i int, result1 ledgera.QueryResultsIterator, result2 error)
func (*TxSimulator) GetStateReturns ¶
func (fake *TxSimulator) GetStateReturns(result1 []byte, result2 error)
func (*TxSimulator) GetStateReturnsOnCall ¶
func (fake *TxSimulator) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*TxSimulator) GetTxSimulationResults ¶
func (fake *TxSimulator) GetTxSimulationResults() (*ledgera.TxSimulationResults, error)
func (*TxSimulator) GetTxSimulationResultsCallCount ¶
func (fake *TxSimulator) GetTxSimulationResultsCallCount() int
func (*TxSimulator) GetTxSimulationResultsCalls ¶
func (fake *TxSimulator) GetTxSimulationResultsCalls(stub func() (*ledgera.TxSimulationResults, error))
func (*TxSimulator) GetTxSimulationResultsReturns ¶
func (fake *TxSimulator) GetTxSimulationResultsReturns(result1 *ledgera.TxSimulationResults, result2 error)
func (*TxSimulator) GetTxSimulationResultsReturnsOnCall ¶
func (fake *TxSimulator) GetTxSimulationResultsReturnsOnCall(i int, result1 *ledgera.TxSimulationResults, result2 error)
func (*TxSimulator) Invocations ¶
func (fake *TxSimulator) Invocations() map[string][][]interface{}
func (*TxSimulator) SetPrivateData ¶
func (*TxSimulator) SetPrivateDataArgsForCall ¶
func (*TxSimulator) SetPrivateDataCallCount ¶
func (fake *TxSimulator) SetPrivateDataCallCount() int
func (*TxSimulator) SetPrivateDataCalls ¶
func (*TxSimulator) SetPrivateDataMetadata ¶
func (*TxSimulator) SetPrivateDataMetadataArgsForCall ¶
func (*TxSimulator) SetPrivateDataMetadataCallCount ¶
func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int
func (*TxSimulator) SetPrivateDataMetadataCalls ¶
func (*TxSimulator) SetPrivateDataMetadataReturns ¶
func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)
func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetPrivateDataMultipleKeys ¶
func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall ¶
func (*TxSimulator) SetPrivateDataMultipleKeysCallCount ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int
func (*TxSimulator) SetPrivateDataMultipleKeysCalls ¶
func (*TxSimulator) SetPrivateDataMultipleKeysReturns ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)
func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetPrivateDataReturns ¶
func (fake *TxSimulator) SetPrivateDataReturns(result1 error)
func (*TxSimulator) SetPrivateDataReturnsOnCall ¶
func (fake *TxSimulator) SetPrivateDataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetState ¶
func (fake *TxSimulator) SetState(arg1 string, arg2 string, arg3 []byte) error
func (*TxSimulator) SetStateArgsForCall ¶
func (fake *TxSimulator) SetStateArgsForCall(i int) (string, string, []byte)
func (*TxSimulator) SetStateCallCount ¶
func (fake *TxSimulator) SetStateCallCount() int
func (*TxSimulator) SetStateCalls ¶
func (fake *TxSimulator) SetStateCalls(stub func(string, string, []byte) error)
func (*TxSimulator) SetStateMetadata ¶
func (*TxSimulator) SetStateMetadataArgsForCall ¶
func (*TxSimulator) SetStateMetadataCallCount ¶
func (fake *TxSimulator) SetStateMetadataCallCount() int
func (*TxSimulator) SetStateMetadataCalls ¶
func (*TxSimulator) SetStateMetadataReturns ¶
func (fake *TxSimulator) SetStateMetadataReturns(result1 error)
func (*TxSimulator) SetStateMetadataReturnsOnCall ¶
func (fake *TxSimulator) SetStateMetadataReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetStateMultipleKeys ¶
func (fake *TxSimulator) SetStateMultipleKeys(arg1 string, arg2 map[string][]byte) error
func (*TxSimulator) SetStateMultipleKeysArgsForCall ¶
func (fake *TxSimulator) SetStateMultipleKeysArgsForCall(i int) (string, map[string][]byte)
func (*TxSimulator) SetStateMultipleKeysCallCount ¶
func (fake *TxSimulator) SetStateMultipleKeysCallCount() int
func (*TxSimulator) SetStateMultipleKeysCalls ¶
func (fake *TxSimulator) SetStateMultipleKeysCalls(stub func(string, map[string][]byte) error)
func (*TxSimulator) SetStateMultipleKeysReturns ¶
func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)
func (*TxSimulator) SetStateMultipleKeysReturnsOnCall ¶
func (fake *TxSimulator) SetStateMultipleKeysReturnsOnCall(i int, result1 error)
func (*TxSimulator) SetStateReturns ¶
func (fake *TxSimulator) SetStateReturns(result1 error)
func (*TxSimulator) SetStateReturnsOnCall ¶
func (fake *TxSimulator) SetStateReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.