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) 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) 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) AccountsReturns(result1 error)
- func (fake *MockEthService) AccountsReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) BlockNumber(arg1 *http.Request, arg2 *interface{}, arg3 *string) error
- func (fake *MockEthService) BlockNumberArgsForCall(i int) (*http.Request, *interface{}, *string)
- func (fake *MockEthService) BlockNumberCallCount() int
- func (fake *MockEthService) BlockNumberReturns(result1 error)
- func (fake *MockEthService) BlockNumberReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) Call(arg1 *http.Request, arg2 *types.EthArgs, arg3 *string) error
- func (fake *MockEthService) CallArgsForCall(i int) (*http.Request, *types.EthArgs, *string)
- func (fake *MockEthService) CallCallCount() int
- func (fake *MockEthService) CallReturns(result1 error)
- func (fake *MockEthService) CallReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) EstimateGas(arg1 *http.Request, arg2 *types.EthArgs, arg3 *string) error
- func (fake *MockEthService) EstimateGasArgsForCall(i int) (*http.Request, *types.EthArgs, *string)
- func (fake *MockEthService) EstimateGasCallCount() int
- 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) GetBalanceReturns(result1 error)
- func (fake *MockEthService) GetBalanceReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetBlockByNumber(arg1 *http.Request, arg2 *[]interface{}, arg3 *types.Block) error
- func (fake *MockEthService) GetBlockByNumberArgsForCall(i int) (*http.Request, *[]interface{}, *types.Block)
- func (fake *MockEthService) GetBlockByNumberCallCount() int
- 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) GetCodeReturns(result1 error)
- func (fake *MockEthService) GetCodeReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetLogs(arg1 *http.Request, arg2 *types.GetLogsArgs, arg3 *[]types.Log) error
- func (fake *MockEthService) GetLogsArgsForCall(i int) (*http.Request, *types.GetLogsArgs, *[]types.Log)
- func (fake *MockEthService) GetLogsCallCount() int
- func (fake *MockEthService) GetLogsReturns(result1 error)
- func (fake *MockEthService) GetLogsReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetTransactionByHash(arg1 *http.Request, arg2 *string, arg3 *types.Transaction) error
- func (fake *MockEthService) GetTransactionByHashArgsForCall(i int) (*http.Request, *string, *types.Transaction)
- func (fake *MockEthService) GetTransactionByHashCallCount() int
- func (fake *MockEthService) GetTransactionByHashReturns(result1 error)
- func (fake *MockEthService) GetTransactionByHashReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetTransactionCount(arg1 *http.Request, arg2 *interface{}, arg3 *string) error
- func (fake *MockEthService) GetTransactionCountArgsForCall(i int) (*http.Request, *interface{}, *string)
- func (fake *MockEthService) GetTransactionCountCallCount() int
- func (fake *MockEthService) GetTransactionCountReturns(result1 error)
- func (fake *MockEthService) GetTransactionCountReturnsOnCall(i int, result1 error)
- func (fake *MockEthService) GetTransactionReceipt(arg1 *http.Request, arg2 *string, arg3 *types.TxReceipt) error
- func (fake *MockEthService) GetTransactionReceiptArgsForCall(i int) (*http.Request, *string, *types.TxReceipt)
- func (fake *MockEthService) GetTransactionReceiptCallCount() int
- 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 *types.EthArgs, arg3 *string) error
- func (fake *MockEthService) SendTransactionArgsForCall(i int) (*http.Request, *types.EthArgs, *string)
- func (fake *MockEthService) SendTransactionCallCount() int
- 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) QueryBlockByHash(arg1 []byte, arg2 ...ledger.RequestOption) (*common.Block, error)
- func (fake *MockLedgerClient) QueryBlockByHashArgsForCall(i int) ([]byte, []ledger.RequestOption)
- func (fake *MockLedgerClient) QueryBlockByHashCallCount() int
- func (fake *MockLedgerClient) QueryBlockByHashReturns(result1 *common.Block, result2 error)
- func (fake *MockLedgerClient) QueryBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
- 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) 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) 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) QueryInfoReturns(result1 *fab.BlockchainInfoResponse, result2 error)
- func (fake *MockLedgerClient) QueryInfoReturnsOnCall(i int, result1 *fab.BlockchainInfoResponse, 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) 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) 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 BlockNumberStub func(*http.Request, *interface{}, *string) error CallStub func(*http.Request, *types.EthArgs, *string) error EstimateGasStub func(*http.Request, *types.EthArgs, *string) error GetBalanceStub func(*http.Request, *[]string, *string) error GetBlockByNumberStub func(*http.Request, *[]interface{}, *types.Block) error GetCodeStub func(*http.Request, *string, *string) error GetLogsStub func(*http.Request, *types.GetLogsArgs, *[]types.Log) error GetTransactionByHashStub func(*http.Request, *string, *types.Transaction) error GetTransactionCountStub func(*http.Request, *interface{}, *string) error GetTransactionReceiptStub func(*http.Request, *string, *types.TxReceipt) error SendTransactionStub func(*http.Request, *types.EthArgs, *string) error // contains filtered or unexported fields }
func (*MockEthService) AccountsArgsForCall ¶
func (*MockEthService) AccountsCallCount ¶
func (fake *MockEthService) AccountsCallCount() int
func (*MockEthService) AccountsReturns ¶
func (fake *MockEthService) AccountsReturns(result1 error)
func (*MockEthService) AccountsReturnsOnCall ¶
func (fake *MockEthService) AccountsReturnsOnCall(i int, result1 error)
func (*MockEthService) BlockNumber ¶
func (fake *MockEthService) BlockNumber(arg1 *http.Request, arg2 *interface{}, arg3 *string) error
func (*MockEthService) BlockNumberArgsForCall ¶
func (fake *MockEthService) BlockNumberArgsForCall(i int) (*http.Request, *interface{}, *string)
func (*MockEthService) BlockNumberCallCount ¶
func (fake *MockEthService) BlockNumberCallCount() int
func (*MockEthService) BlockNumberReturns ¶
func (fake *MockEthService) BlockNumberReturns(result1 error)
func (*MockEthService) BlockNumberReturnsOnCall ¶
func (fake *MockEthService) BlockNumberReturnsOnCall(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) 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) 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) 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) GetCodeReturns ¶
func (fake *MockEthService) GetCodeReturns(result1 error)
func (*MockEthService) GetCodeReturnsOnCall ¶
func (fake *MockEthService) GetCodeReturnsOnCall(i int, result1 error)
func (*MockEthService) GetLogs ¶
func (fake *MockEthService) GetLogs(arg1 *http.Request, arg2 *types.GetLogsArgs, arg3 *[]types.Log) error
func (*MockEthService) GetLogsArgsForCall ¶
func (fake *MockEthService) GetLogsArgsForCall(i int) (*http.Request, *types.GetLogsArgs, *[]types.Log)
func (*MockEthService) GetLogsCallCount ¶
func (fake *MockEthService) GetLogsCallCount() int
func (*MockEthService) GetLogsReturns ¶
func (fake *MockEthService) GetLogsReturns(result1 error)
func (*MockEthService) GetLogsReturnsOnCall ¶
func (fake *MockEthService) GetLogsReturnsOnCall(i int, result1 error)
func (*MockEthService) GetTransactionByHash ¶
func (fake *MockEthService) GetTransactionByHash(arg1 *http.Request, arg2 *string, arg3 *types.Transaction) error
func (*MockEthService) GetTransactionByHashArgsForCall ¶
func (fake *MockEthService) GetTransactionByHashArgsForCall(i int) (*http.Request, *string, *types.Transaction)
func (*MockEthService) GetTransactionByHashCallCount ¶
func (fake *MockEthService) GetTransactionByHashCallCount() int
func (*MockEthService) GetTransactionByHashReturns ¶
func (fake *MockEthService) GetTransactionByHashReturns(result1 error)
func (*MockEthService) GetTransactionByHashReturnsOnCall ¶
func (fake *MockEthService) GetTransactionByHashReturnsOnCall(i int, result1 error)
func (*MockEthService) GetTransactionCount ¶ added in v0.3.0
func (fake *MockEthService) GetTransactionCount(arg1 *http.Request, arg2 *interface{}, arg3 *string) error
func (*MockEthService) GetTransactionCountArgsForCall ¶ added in v0.3.0
func (fake *MockEthService) GetTransactionCountArgsForCall(i int) (*http.Request, *interface{}, *string)
func (*MockEthService) GetTransactionCountCallCount ¶ added in v0.3.0
func (fake *MockEthService) GetTransactionCountCallCount() int
func (*MockEthService) GetTransactionCountReturns ¶ added in v0.3.0
func (fake *MockEthService) GetTransactionCountReturns(result1 error)
func (*MockEthService) GetTransactionCountReturnsOnCall ¶ added in v0.3.0
func (fake *MockEthService) GetTransactionCountReturnsOnCall(i int, result1 error)
func (*MockEthService) GetTransactionReceipt ¶
func (*MockEthService) GetTransactionReceiptArgsForCall ¶
func (*MockEthService) GetTransactionReceiptCallCount ¶
func (fake *MockEthService) GetTransactionReceiptCallCount() int
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) 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) QueryBlockByHashStub func([]byte, ...ledger.RequestOption) (*common.Block, error) QueryBlockByTxIDStub func(fab.TransactionID, ...ledger.RequestOption) (*common.Block, error) QueryInfoStub func(...ledger.RequestOption) (*fab.BlockchainInfoResponse, 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) QueryBlockByHash ¶
func (fake *MockLedgerClient) QueryBlockByHash(arg1 []byte, arg2 ...ledger.RequestOption) (*common.Block, error)
func (*MockLedgerClient) QueryBlockByHashArgsForCall ¶
func (fake *MockLedgerClient) QueryBlockByHashArgsForCall(i int) ([]byte, []ledger.RequestOption)
func (*MockLedgerClient) QueryBlockByHashCallCount ¶
func (fake *MockLedgerClient) QueryBlockByHashCallCount() int
func (*MockLedgerClient) QueryBlockByHashReturns ¶
func (fake *MockLedgerClient) QueryBlockByHashReturns(result1 *common.Block, result2 error)
func (*MockLedgerClient) QueryBlockByHashReturnsOnCall ¶
func (fake *MockLedgerClient) QueryBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
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) 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) 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) QueryInfoReturns ¶
func (fake *MockLedgerClient) QueryInfoReturns(result1 *fab.BlockchainInfoResponse, result2 error)
func (*MockLedgerClient) QueryInfoReturnsOnCall ¶
func (fake *MockLedgerClient) QueryInfoReturnsOnCall(i int, result1 *fab.BlockchainInfoResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.