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 MockChannelClient
- func (fake *MockChannelClient) Execute(arg1 channel.Request, arg2 ...channel.RequestOption) (channel.Response, error)
- func (fake *MockChannelClient) ExecuteArgsForCall(i int) (channel.Request, []channel.RequestOption)
- func (fake *MockChannelClient) ExecuteCallCount() int
- func (fake *MockChannelClient) ExecuteCalls(stub func(channel.Request, ...channel.RequestOption) (channel.Response, error))
- func (fake *MockChannelClient) ExecuteReturns(result1 channel.Response, result2 error)
- func (fake *MockChannelClient) ExecuteReturnsOnCall(i int, result1 channel.Response, result2 error)
- func (fake *MockChannelClient) Invocations() map[string][][]interface{}
- func (fake *MockChannelClient) Query(arg1 channel.Request, arg2 ...channel.RequestOption) (channel.Response, error)
- func (fake *MockChannelClient) QueryArgsForCall(i int) (channel.Request, []channel.RequestOption)
- func (fake *MockChannelClient) QueryCallCount() int
- func (fake *MockChannelClient) QueryCalls(stub func(channel.Request, ...channel.RequestOption) (channel.Response, error))
- func (fake *MockChannelClient) QueryReturns(result1 channel.Response, result2 error)
- func (fake *MockChannelClient) QueryReturnsOnCall(i int, result1 channel.Response, result2 error)
- type MockEthService
- func (fake *MockEthService) Accounts(arg1 *http.Request, arg2 *string, arg3 *[]string) error
- func (fake *MockEthService) AccountsArgsForCall(i int) (*http.Request, *string, *[]string)
- func (fake *MockEthService) AccountsCallCount() int
- func (fake *MockEthService) AccountsCalls(stub func(*http.Request, *string, *[]string) error)
- func (fake *MockEthService) AccountsReturns(result1 error)
- func (fake *MockEthService) AccountsReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) Call(arg1 *http.Request, arg2 *fabproxy.EthArgs, arg3 *string) error
- func (fake *MockEthService) CallArgsForCall(i int) (*http.Request, *fabproxy.EthArgs, *string)
- func (fake *MockEthService) CallCallCount() int
- func (fake *MockEthService) CallCalls(stub func(*http.Request, *fabproxy.EthArgs, *string) error)
- func (fake *MockEthService) CallReturns(result1 error)
- func (fake *MockEthService) CallReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) EstimateGas(arg1 *http.Request, arg2 *fabproxy.EthArgs, arg3 *string) error
- func (fake *MockEthService) EstimateGasArgsForCall(i int) (*http.Request, *fabproxy.EthArgs, *string)
- func (fake *MockEthService) EstimateGasCallCount() int
- func (fake *MockEthService) EstimateGasCalls(stub func(*http.Request, *fabproxy.EthArgs, *string) error)
- func (fake *MockEthService) EstimateGasReturns(result1 error)
- func (fake *MockEthService) EstimateGasReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetBalance(arg1 *http.Request, arg2 *[]string, arg3 *string) error
- func (fake *MockEthService) GetBalanceArgsForCall(i int) (*http.Request, *[]string, *string)
- func (fake *MockEthService) GetBalanceCallCount() int
- func (fake *MockEthService) GetBalanceCalls(stub func(*http.Request, *[]string, *string) error)
- func (fake *MockEthService) GetBalanceReturns(result1 error)
- func (fake *MockEthService) GetBalanceReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetBlockByNumber(arg1 *http.Request, arg2 *[]interface{}, arg3 *fabproxy.Block) error
- func (fake *MockEthService) GetBlockByNumberArgsForCall(i int) (*http.Request, *[]interface{}, *fabproxy.Block)
- func (fake *MockEthService) GetBlockByNumberCallCount() int
- func (fake *MockEthService) GetBlockByNumberCalls(stub func(*http.Request, *[]interface{}, *fabproxy.Block) error)
- func (fake *MockEthService) GetBlockByNumberReturns(result1 error)
- func (fake *MockEthService) GetBlockByNumberReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetCode(arg1 *http.Request, arg2 *string, arg3 *string) error
- func (fake *MockEthService) GetCodeArgsForCall(i int) (*http.Request, *string, *string)
- func (fake *MockEthService) GetCodeCallCount() int
- func (fake *MockEthService) GetCodeCalls(stub func(*http.Request, *string, *string) error)
- func (fake *MockEthService) GetCodeReturns(result1 error)
- func (fake *MockEthService) GetCodeReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetTransactionByHash(arg1 *http.Request, arg2 *string, arg3 *fabproxy.Transaction) error
- func (fake *MockEthService) GetTransactionByHashArgsForCall(i int) (*http.Request, *string, *fabproxy.Transaction)
- func (fake *MockEthService) GetTransactionByHashCallCount() int
- func (fake *MockEthService) GetTransactionByHashCalls(stub func(*http.Request, *string, *fabproxy.Transaction) error)
- func (fake *MockEthService) GetTransactionByHashReturns(result1 error)
- func (fake *MockEthService) GetTransactionByHashReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetTransactionReceipt(arg1 *http.Request, arg2 *string, arg3 *fabproxy.TxReceipt) error
- func (fake *MockEthService) GetTransactionReceiptArgsForCall(i int) (*http.Request, *string, *fabproxy.TxReceipt)
- func (fake *MockEthService) GetTransactionReceiptCallCount() int
- func (fake *MockEthService) GetTransactionReceiptCalls(stub func(*http.Request, *string, *fabproxy.TxReceipt) error)
- func (fake *MockEthService) GetTransactionReceiptReturns(result1 error)
- func (fake *MockEthService) GetTransactionReceiptReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) Invocations() map[string][][]interface{}
- func (fake *MockEthService) SendTransaction(arg1 *http.Request, arg2 *fabproxy.EthArgs, arg3 *string) error
- func (fake *MockEthService) SendTransactionArgsForCall(i int) (*http.Request, *fabproxy.EthArgs, *string)
- func (fake *MockEthService) SendTransactionCallCount() int
- func (fake *MockEthService) SendTransactionCalls(stub func(*http.Request, *fabproxy.EthArgs, *string) error)
- func (fake *MockEthService) SendTransactionReturns(result1 error)
- func (fake *MockEthService) SendTransactionReturnsOnCall(i int, result1 error)
- type MockLedgerClient
- func (fake *MockLedgerClient) Invocations() map[string][][]interface{}
- func (fake *MockLedgerClient) QueryBlock(arg1 uint64, arg2 ...ledger.RequestOption) (*common.Block, error)
- func (fake *MockLedgerClient) QueryBlockArgsForCall(i int) (uint64, []ledger.RequestOption)
- func (fake *MockLedgerClient) QueryBlockByTxID(arg1 fab.TransactionID, arg2 ...ledger.RequestOption) (*common.Block, error)
- func (fake *MockLedgerClient) QueryBlockByTxIDArgsForCall(i int) (fab.TransactionID, []ledger.RequestOption)
- func (fake *MockLedgerClient) QueryBlockByTxIDCallCount() int
- func (fake *MockLedgerClient) QueryBlockByTxIDCalls(stub func(fab.TransactionID, ...ledger.RequestOption) (*common.Block, error))
- func (fake *MockLedgerClient) QueryBlockByTxIDReturns(result1 *common.Block, result2 error)
- func (fake *MockLedgerClient) QueryBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *MockLedgerClient) QueryBlockCallCount() int
- func (fake *MockLedgerClient) QueryBlockCalls(stub func(uint64, ...ledger.RequestOption) (*common.Block, error))
- func (fake *MockLedgerClient) QueryBlockReturns(result1 *common.Block, result2 error)
- func (fake *MockLedgerClient) QueryBlockReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *MockLedgerClient) QueryInfo(arg1 ...ledger.RequestOption) (*fab.BlockchainInfoResponse, error)
- func (fake *MockLedgerClient) QueryInfoArgsForCall(i int) []ledger.RequestOption
- func (fake *MockLedgerClient) QueryInfoCallCount() int
- func (fake *MockLedgerClient) QueryInfoCalls(stub func(...ledger.RequestOption) (*fab.BlockchainInfoResponse, error))
- func (fake *MockLedgerClient) QueryInfoReturns(result1 *fab.BlockchainInfoResponse, result2 error)
- func (fake *MockLedgerClient) QueryInfoReturnsOnCall(i int, result1 *fab.BlockchainInfoResponse, result2 error)
- func (fake *MockLedgerClient) QueryTransaction(arg1 fab.TransactionID, arg2 ...ledger.RequestOption) (*peer.ProcessedTransaction, error)
- func (fake *MockLedgerClient) QueryTransactionArgsForCall(i int) (fab.TransactionID, []ledger.RequestOption)
- func (fake *MockLedgerClient) QueryTransactionCallCount() int
- func (fake *MockLedgerClient) QueryTransactionCalls(...)
- func (fake *MockLedgerClient) QueryTransactionReturns(result1 *peer.ProcessedTransaction, result2 error)
- func (fake *MockLedgerClient) QueryTransactionReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChannelClient ¶
type MockChannelClient struct { ExecuteStub func(channel.Request, ...channel.RequestOption) (channel.Response, error) QueryStub func(channel.Request, ...channel.RequestOption) (channel.Response, error) // contains filtered or unexported fields }
func (*MockChannelClient) Execute ¶
func (fake *MockChannelClient) Execute(arg1 channel.Request, arg2 ...channel.RequestOption) (channel.Response, error)
func (*MockChannelClient) ExecuteArgsForCall ¶
func (fake *MockChannelClient) ExecuteArgsForCall(i int) (channel.Request, []channel.RequestOption)
func (*MockChannelClient) ExecuteCallCount ¶
func (fake *MockChannelClient) ExecuteCallCount() int
func (*MockChannelClient) ExecuteCalls ¶
func (fake *MockChannelClient) ExecuteCalls(stub func(channel.Request, ...channel.RequestOption) (channel.Response, error))
func (*MockChannelClient) ExecuteReturns ¶
func (fake *MockChannelClient) ExecuteReturns(result1 channel.Response, result2 error)
func (*MockChannelClient) ExecuteReturnsOnCall ¶
func (fake *MockChannelClient) ExecuteReturnsOnCall(i int, result1 channel.Response, result2 error)
func (*MockChannelClient) Invocations ¶
func (fake *MockChannelClient) Invocations() map[string][][]interface{}
func (*MockChannelClient) Query ¶
func (fake *MockChannelClient) Query(arg1 channel.Request, arg2 ...channel.RequestOption) (channel.Response, error)
func (*MockChannelClient) QueryArgsForCall ¶
func (fake *MockChannelClient) QueryArgsForCall(i int) (channel.Request, []channel.RequestOption)
func (*MockChannelClient) QueryCallCount ¶
func (fake *MockChannelClient) QueryCallCount() int
func (*MockChannelClient) QueryCalls ¶
func (fake *MockChannelClient) QueryCalls(stub func(channel.Request, ...channel.RequestOption) (channel.Response, error))
func (*MockChannelClient) QueryReturns ¶
func (fake *MockChannelClient) QueryReturns(result1 channel.Response, result2 error)
func (*MockChannelClient) QueryReturnsOnCall ¶
func (fake *MockChannelClient) QueryReturnsOnCall(i int, result1 channel.Response, result2 error)
type MockEthService ¶
type MockEthService struct { AccountsStub func(*http.Request, *string, *[]string) error CallStub func(*http.Request, *fabproxy.EthArgs, *string) error EstimateGasStub func(*http.Request, *fabproxy.EthArgs, *string) error GetBalanceStub func(*http.Request, *[]string, *string) error GetBlockByNumberStub func(*http.Request, *[]interface{}, *fabproxy.Block) error GetCodeStub func(*http.Request, *string, *string) error GetTransactionByHashStub func(*http.Request, *string, *fabproxy.Transaction) error GetTransactionReceiptStub func(*http.Request, *string, *fabproxy.TxReceipt) error SendTransactionStub func(*http.Request, *fabproxy.EthArgs, *string) error // contains filtered or unexported fields }
func (*MockEthService) AccountsArgsForCall ¶
func (*MockEthService) AccountsCallCount ¶
func (fake *MockEthService) AccountsCallCount() int
func (*MockEthService) AccountsCalls ¶
func (*MockEthService) AccountsReturns ¶
func (fake *MockEthService) AccountsReturns(result1 error)
func (*MockEthService) AccountsReturnsOnCall ¶
func (fake *MockEthService) AccountsReturnsOnCall(i int, result1 error)
func (*MockEthService) CallArgsForCall ¶
func (*MockEthService) CallCallCount ¶
func (fake *MockEthService) CallCallCount() int
func (*MockEthService) CallReturns ¶
func (fake *MockEthService) CallReturns(result1 error)
func (*MockEthService) CallReturnsOnCall ¶
func (fake *MockEthService) CallReturnsOnCall(i int, result1 error)
func (*MockEthService) EstimateGas ¶
func (*MockEthService) EstimateGasArgsForCall ¶
func (*MockEthService) EstimateGasCallCount ¶
func (fake *MockEthService) EstimateGasCallCount() int
func (*MockEthService) EstimateGasCalls ¶
func (*MockEthService) EstimateGasReturns ¶
func (fake *MockEthService) EstimateGasReturns(result1 error)
func (*MockEthService) EstimateGasReturnsOnCall ¶
func (fake *MockEthService) EstimateGasReturnsOnCall(i int, result1 error)
func (*MockEthService) GetBalance ¶
func (*MockEthService) GetBalanceArgsForCall ¶
func (*MockEthService) GetBalanceCallCount ¶
func (fake *MockEthService) GetBalanceCallCount() int
func (*MockEthService) GetBalanceCalls ¶
func (*MockEthService) GetBalanceReturns ¶
func (fake *MockEthService) GetBalanceReturns(result1 error)
func (*MockEthService) GetBalanceReturnsOnCall ¶
func (fake *MockEthService) GetBalanceReturnsOnCall(i int, result1 error)
func (*MockEthService) GetBlockByNumber ¶
func (*MockEthService) GetBlockByNumberArgsForCall ¶
func (*MockEthService) GetBlockByNumberCallCount ¶
func (fake *MockEthService) GetBlockByNumberCallCount() int
func (*MockEthService) GetBlockByNumberCalls ¶
func (*MockEthService) GetBlockByNumberReturns ¶
func (fake *MockEthService) GetBlockByNumberReturns(result1 error)
func (*MockEthService) GetBlockByNumberReturnsOnCall ¶
func (fake *MockEthService) GetBlockByNumberReturnsOnCall(i int, result1 error)
func (*MockEthService) GetCodeArgsForCall ¶
func (*MockEthService) GetCodeCallCount ¶
func (fake *MockEthService) GetCodeCallCount() int
func (*MockEthService) GetCodeCalls ¶
func (*MockEthService) GetCodeReturns ¶
func (fake *MockEthService) GetCodeReturns(result1 error)
func (*MockEthService) GetCodeReturnsOnCall ¶
func (fake *MockEthService) GetCodeReturnsOnCall(i int, result1 error)
func (*MockEthService) GetTransactionByHash ¶
func (fake *MockEthService) GetTransactionByHash(arg1 *http.Request, arg2 *string, arg3 *fabproxy.Transaction) error
func (*MockEthService) GetTransactionByHashArgsForCall ¶
func (fake *MockEthService) GetTransactionByHashArgsForCall(i int) (*http.Request, *string, *fabproxy.Transaction)
func (*MockEthService) GetTransactionByHashCallCount ¶
func (fake *MockEthService) GetTransactionByHashCallCount() int
func (*MockEthService) GetTransactionByHashCalls ¶
func (fake *MockEthService) GetTransactionByHashCalls(stub func(*http.Request, *string, *fabproxy.Transaction) error)
func (*MockEthService) GetTransactionByHashReturns ¶
func (fake *MockEthService) GetTransactionByHashReturns(result1 error)
func (*MockEthService) GetTransactionByHashReturnsOnCall ¶
func (fake *MockEthService) GetTransactionByHashReturnsOnCall(i int, result1 error)
func (*MockEthService) GetTransactionReceipt ¶
func (*MockEthService) GetTransactionReceiptArgsForCall ¶
func (*MockEthService) GetTransactionReceiptCallCount ¶
func (fake *MockEthService) GetTransactionReceiptCallCount() int
func (*MockEthService) GetTransactionReceiptCalls ¶
func (*MockEthService) GetTransactionReceiptReturns ¶
func (fake *MockEthService) GetTransactionReceiptReturns(result1 error)
func (*MockEthService) GetTransactionReceiptReturnsOnCall ¶
func (fake *MockEthService) GetTransactionReceiptReturnsOnCall(i int, result1 error)
func (*MockEthService) Invocations ¶
func (fake *MockEthService) Invocations() map[string][][]interface{}
func (*MockEthService) SendTransaction ¶
func (*MockEthService) SendTransactionArgsForCall ¶
func (*MockEthService) SendTransactionCallCount ¶
func (fake *MockEthService) SendTransactionCallCount() int
func (*MockEthService) SendTransactionCalls ¶
func (*MockEthService) SendTransactionReturns ¶
func (fake *MockEthService) SendTransactionReturns(result1 error)
func (*MockEthService) SendTransactionReturnsOnCall ¶
func (fake *MockEthService) SendTransactionReturnsOnCall(i int, result1 error)
type MockLedgerClient ¶
type MockLedgerClient struct { QueryBlockStub func(uint64, ...ledger.RequestOption) (*common.Block, error) QueryBlockByTxIDStub func(fab.TransactionID, ...ledger.RequestOption) (*common.Block, error) QueryInfoStub func(...ledger.RequestOption) (*fab.BlockchainInfoResponse, error) QueryTransactionStub func(fab.TransactionID, ...ledger.RequestOption) (*peer.ProcessedTransaction, error) // contains filtered or unexported fields }
func (*MockLedgerClient) Invocations ¶
func (fake *MockLedgerClient) Invocations() map[string][][]interface{}
func (*MockLedgerClient) QueryBlock ¶
func (fake *MockLedgerClient) QueryBlock(arg1 uint64, arg2 ...ledger.RequestOption) (*common.Block, error)
func (*MockLedgerClient) QueryBlockArgsForCall ¶
func (fake *MockLedgerClient) QueryBlockArgsForCall(i int) (uint64, []ledger.RequestOption)
func (*MockLedgerClient) QueryBlockByTxID ¶
func (fake *MockLedgerClient) QueryBlockByTxID(arg1 fab.TransactionID, arg2 ...ledger.RequestOption) (*common.Block, error)
func (*MockLedgerClient) QueryBlockByTxIDArgsForCall ¶
func (fake *MockLedgerClient) QueryBlockByTxIDArgsForCall(i int) (fab.TransactionID, []ledger.RequestOption)
func (*MockLedgerClient) QueryBlockByTxIDCallCount ¶
func (fake *MockLedgerClient) QueryBlockByTxIDCallCount() int
func (*MockLedgerClient) QueryBlockByTxIDCalls ¶
func (fake *MockLedgerClient) QueryBlockByTxIDCalls(stub func(fab.TransactionID, ...ledger.RequestOption) (*common.Block, error))
func (*MockLedgerClient) QueryBlockByTxIDReturns ¶
func (fake *MockLedgerClient) QueryBlockByTxIDReturns(result1 *common.Block, result2 error)
func (*MockLedgerClient) QueryBlockByTxIDReturnsOnCall ¶
func (fake *MockLedgerClient) QueryBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*MockLedgerClient) QueryBlockCallCount ¶
func (fake *MockLedgerClient) QueryBlockCallCount() int
func (*MockLedgerClient) QueryBlockCalls ¶
func (fake *MockLedgerClient) QueryBlockCalls(stub func(uint64, ...ledger.RequestOption) (*common.Block, error))
func (*MockLedgerClient) QueryBlockReturns ¶
func (fake *MockLedgerClient) QueryBlockReturns(result1 *common.Block, result2 error)
func (*MockLedgerClient) QueryBlockReturnsOnCall ¶
func (fake *MockLedgerClient) QueryBlockReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*MockLedgerClient) QueryInfo ¶
func (fake *MockLedgerClient) QueryInfo(arg1 ...ledger.RequestOption) (*fab.BlockchainInfoResponse, error)
func (*MockLedgerClient) QueryInfoArgsForCall ¶
func (fake *MockLedgerClient) QueryInfoArgsForCall(i int) []ledger.RequestOption
func (*MockLedgerClient) QueryInfoCallCount ¶
func (fake *MockLedgerClient) QueryInfoCallCount() int
func (*MockLedgerClient) QueryInfoCalls ¶
func (fake *MockLedgerClient) QueryInfoCalls(stub func(...ledger.RequestOption) (*fab.BlockchainInfoResponse, error))
func (*MockLedgerClient) QueryInfoReturns ¶
func (fake *MockLedgerClient) QueryInfoReturns(result1 *fab.BlockchainInfoResponse, result2 error)
func (*MockLedgerClient) QueryInfoReturnsOnCall ¶
func (fake *MockLedgerClient) QueryInfoReturnsOnCall(i int, result1 *fab.BlockchainInfoResponse, result2 error)
func (*MockLedgerClient) QueryTransaction ¶
func (fake *MockLedgerClient) QueryTransaction(arg1 fab.TransactionID, arg2 ...ledger.RequestOption) (*peer.ProcessedTransaction, error)
func (*MockLedgerClient) QueryTransactionArgsForCall ¶
func (fake *MockLedgerClient) QueryTransactionArgsForCall(i int) (fab.TransactionID, []ledger.RequestOption)
func (*MockLedgerClient) QueryTransactionCallCount ¶
func (fake *MockLedgerClient) QueryTransactionCallCount() int
func (*MockLedgerClient) QueryTransactionCalls ¶
func (fake *MockLedgerClient) QueryTransactionCalls(stub func(fab.TransactionID, ...ledger.RequestOption) (*peer.ProcessedTransaction, error))
func (*MockLedgerClient) QueryTransactionReturns ¶
func (fake *MockLedgerClient) QueryTransactionReturns(result1 *peer.ProcessedTransaction, result2 error)
func (*MockLedgerClient) QueryTransactionReturnsOnCall ¶
func (fake *MockLedgerClient) QueryTransactionReturnsOnCall(i int, result1 *peer.ProcessedTransaction, result2 error)
Click to show internal directories.
Click to hide internal directories.