mock

package
v0.0.0-...-35b2663 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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 (fake *Processor) GenerateSimulationResults(arg1 *common.Envelope, arg2 ledger.TxSimulator, arg3 bool) error

func (*Processor) GenerateSimulationResultsArgsForCall

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

func (*Processor) GenerateSimulationResultsCallCount

func (fake *Processor) GenerateSimulationResultsCallCount() int

func (*Processor) GenerateSimulationResultsCalls

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

func (*Processor) GenerateSimulationResultsReturns

func (fake *Processor) GenerateSimulationResultsReturns(result1 error)

func (*Processor) GenerateSimulationResultsReturnsOnCall

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

func (*Processor) Invocations

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

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) Commit

func (fake *TxMgr) Commit() error

func (*TxMgr) CommitCallCount

func (fake *TxMgr) CommitCallCount() int

func (*TxMgr) CommitCalls

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

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 (fake *TxMgr) CommitLostBlockCallCount() int

func (*TxMgr) CommitLostBlockCalls

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

func (*TxMgr) CommitLostBlockReturns

func (fake *TxMgr) CommitLostBlockReturns(result1 error)

func (*TxMgr) CommitLostBlockReturnsOnCall

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

func (*TxMgr) CommitReturns

func (fake *TxMgr) CommitReturns(result1 error)

func (*TxMgr) CommitReturnsOnCall

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

func (*TxMgr) GetLastSavepoint

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

func (*TxMgr) GetLastSavepointCallCount

func (fake *TxMgr) GetLastSavepointCallCount() int

func (*TxMgr) GetLastSavepointCalls

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

func (*TxMgr) GetLastSavepointReturns

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

func (*TxMgr) GetLastSavepointReturnsOnCall

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

func (*TxMgr) Invocations

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

func (*TxMgr) Name

func (fake *TxMgr) Name() string

func (*TxMgr) NameCallCount

func (fake *TxMgr) NameCallCount() int

func (*TxMgr) NameCalls

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

func (*TxMgr) NameReturns

func (fake *TxMgr) NameReturns(result1 string)

func (*TxMgr) NameReturnsOnCall

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

func (*TxMgr) NewQueryExecutor

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

func (*TxMgr) NewQueryExecutorArgsForCall

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

func (*TxMgr) NewQueryExecutorCallCount

func (fake *TxMgr) NewQueryExecutorCallCount() int

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 (fake *TxMgr) NewTxSimulatorArgsForCall(i int) string

func (*TxMgr) NewTxSimulatorCallCount

func (fake *TxMgr) NewTxSimulatorCallCount() int

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 (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks(arg1 map[uint64][]*ledger.TxPvtData) error

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksArgsForCall

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

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCallCount() int

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksCalls

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

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns

func (fake *TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturns(result1 error)

func (*TxMgr) RemoveStaleAndCommitPvtDataOfOldBlocksReturnsOnCall

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

func (*TxMgr) Rollback

func (fake *TxMgr) Rollback()

func (*TxMgr) RollbackCallCount

func (fake *TxMgr) RollbackCallCount() int

func (*TxMgr) RollbackCalls

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

func (*TxMgr) ShouldRecover

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

func (*TxMgr) ShouldRecoverArgsForCall

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

func (*TxMgr) ShouldRecoverCallCount

func (fake *TxMgr) ShouldRecoverCallCount() int

func (*TxMgr) ShouldRecoverCalls

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

func (*TxMgr) ShouldRecoverReturns

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

func (*TxMgr) ShouldRecoverReturnsOnCall

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

func (*TxMgr) Shutdown

func (fake *TxMgr) Shutdown()

func (*TxMgr) ShutdownCallCount

func (fake *TxMgr) ShutdownCallCount() int

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 (fake *TxMgr) ValidateAndPrepareCallCount() int

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

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

type TxSimulator

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

	DeletePrivateDataMetadataStub func(string, string, string) error

	DeleteStateStub func(string, string) error

	DeleteStateMetadataStub func(string, string) error

	DoneStub func()

	ExecuteQueryStub func(string, string) (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) 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 (fake *TxSimulator) GetPrivateData(arg1 string, arg2 string, arg3 string) ([]byte, error)

func (*TxSimulator) GetPrivateDataArgsForCall

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

func (*TxSimulator) GetPrivateDataCallCount

func (fake *TxSimulator) GetPrivateDataCallCount() int

func (*TxSimulator) GetPrivateDataCalls

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

func (*TxSimulator) GetPrivateDataHash

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

func (*TxSimulator) GetPrivateDataHashArgsForCall

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

func (*TxSimulator) GetPrivateDataHashCallCount

func (fake *TxSimulator) GetPrivateDataHashCallCount() int

func (*TxSimulator) GetPrivateDataHashCalls

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

func (*TxSimulator) GetPrivateDataHashReturns

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

func (*TxSimulator) GetPrivateDataHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadata

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

func (*TxSimulator) GetPrivateDataMetadataArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHash

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

func (*TxSimulator) GetPrivateDataMetadataByHashArgsForCall

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

func (*TxSimulator) GetPrivateDataMetadataByHashCallCount

func (fake *TxSimulator) GetPrivateDataMetadataByHashCallCount() int

func (*TxSimulator) GetPrivateDataMetadataByHashCalls

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturns

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

func (*TxSimulator) GetPrivateDataMetadataByHashReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMetadataCallCount

func (fake *TxSimulator) GetPrivateDataMetadataCallCount() int

func (*TxSimulator) GetPrivateDataMetadataCalls

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

func (*TxSimulator) GetPrivateDataMetadataReturns

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

func (*TxSimulator) GetPrivateDataMetadataReturnsOnCall

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

func (*TxSimulator) GetPrivateDataMultipleKeys

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

func (*TxSimulator) GetPrivateDataMultipleKeysArgsForCall

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

func (*TxSimulator) GetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) GetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) GetPrivateDataMultipleKeysCalls

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturns

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

func (*TxSimulator) GetPrivateDataMultipleKeysReturnsOnCall

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

func (*TxSimulator) GetPrivateDataRangeScanIterator

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorArgsForCall

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

func (*TxSimulator) GetPrivateDataRangeScanIteratorCallCount

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCallCount() int

func (*TxSimulator) GetPrivateDataRangeScanIteratorCalls

func (fake *TxSimulator) GetPrivateDataRangeScanIteratorCalls(stub func(string, string, string, string) (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 (fake *TxSimulator) GetStateMetadata(arg1 string, arg2 string) (map[string][]byte, error)

func (*TxSimulator) GetStateMetadataArgsForCall

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

func (*TxSimulator) GetStateMetadataCallCount

func (fake *TxSimulator) GetStateMetadataCallCount() int

func (*TxSimulator) GetStateMetadataCalls

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

func (*TxSimulator) GetStateMetadataReturns

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

func (*TxSimulator) GetStateMetadataReturnsOnCall

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

func (*TxSimulator) GetStateMultipleKeys

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

func (*TxSimulator) GetStateMultipleKeysArgsForCall

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

func (*TxSimulator) GetStateMultipleKeysCallCount

func (fake *TxSimulator) GetStateMultipleKeysCallCount() int

func (*TxSimulator) GetStateMultipleKeysCalls

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

func (*TxSimulator) GetStateMultipleKeysReturns

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

func (*TxSimulator) GetStateMultipleKeysReturnsOnCall

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

func (*TxSimulator) GetStateRangeScanIterator

func (fake *TxSimulator) GetStateRangeScanIterator(arg1 string, arg2 string, arg3 string) (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 (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataArgsForCall(i int) (string, string, string, map[string]interface{})

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCallCount() int

func (*TxSimulator) GetStateRangeScanIteratorWithMetadataCalls

func (fake *TxSimulator) GetStateRangeScanIteratorWithMetadataCalls(stub func(string, string, string, map[string]interface{}) (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 (fake *TxSimulator) SetPrivateData(arg1 string, arg2 string, arg3 string, arg4 []byte) error

func (*TxSimulator) SetPrivateDataArgsForCall

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

func (*TxSimulator) SetPrivateDataCallCount

func (fake *TxSimulator) SetPrivateDataCallCount() int

func (*TxSimulator) SetPrivateDataCalls

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

func (*TxSimulator) SetPrivateDataMetadata

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

func (*TxSimulator) SetPrivateDataMetadataArgsForCall

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

func (*TxSimulator) SetPrivateDataMetadataCallCount

func (fake *TxSimulator) SetPrivateDataMetadataCallCount() int

func (*TxSimulator) SetPrivateDataMetadataCalls

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

func (*TxSimulator) SetPrivateDataMetadataReturns

func (fake *TxSimulator) SetPrivateDataMetadataReturns(result1 error)

func (*TxSimulator) SetPrivateDataMetadataReturnsOnCall

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

func (*TxSimulator) SetPrivateDataMultipleKeys

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

func (*TxSimulator) SetPrivateDataMultipleKeysArgsForCall

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

func (*TxSimulator) SetPrivateDataMultipleKeysCallCount

func (fake *TxSimulator) SetPrivateDataMultipleKeysCallCount() int

func (*TxSimulator) SetPrivateDataMultipleKeysCalls

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

func (*TxSimulator) SetPrivateDataMultipleKeysReturns

func (fake *TxSimulator) SetPrivateDataMultipleKeysReturns(result1 error)

func (*TxSimulator) SetPrivateDataMultipleKeysReturnsOnCall

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

func (*TxSimulator) SetPrivateDataReturns

func (fake *TxSimulator) SetPrivateDataReturns(result1 error)

func (*TxSimulator) SetPrivateDataReturnsOnCall

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

func (*TxSimulator) SetState

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

func (*TxSimulator) SetStateArgsForCall

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

func (*TxSimulator) SetStateCallCount

func (fake *TxSimulator) SetStateCallCount() int

func (*TxSimulator) SetStateCalls

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

func (*TxSimulator) SetStateMetadata

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

func (*TxSimulator) SetStateMetadataArgsForCall

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

func (*TxSimulator) SetStateMetadataCallCount

func (fake *TxSimulator) SetStateMetadataCallCount() int

func (*TxSimulator) SetStateMetadataCalls

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

func (*TxSimulator) SetStateMetadataReturns

func (fake *TxSimulator) SetStateMetadataReturns(result1 error)

func (*TxSimulator) SetStateMetadataReturnsOnCall

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

func (*TxSimulator) SetStateMultipleKeys

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

func (*TxSimulator) SetStateMultipleKeysArgsForCall

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

func (*TxSimulator) SetStateMultipleKeysCallCount

func (fake *TxSimulator) SetStateMultipleKeysCallCount() int

func (*TxSimulator) SetStateMultipleKeysCalls

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

func (*TxSimulator) SetStateMultipleKeysReturns

func (fake *TxSimulator) SetStateMultipleKeysReturns(result1 error)

func (*TxSimulator) SetStateMultipleKeysReturnsOnCall

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

func (*TxSimulator) SetStateReturns

func (fake *TxSimulator) SetStateReturns(result1 error)

func (*TxSimulator) SetStateReturnsOnCall

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

Jump to

Keyboard shortcuts

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