fab3

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 8 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 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 (*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) Accounts

func (fake *MockEthService) Accounts(arg1 *http.Request, arg2 *string, arg3 *[]string) error

func (*MockEthService) AccountsArgsForCall

func (fake *MockEthService) AccountsArgsForCall(i int) (*http.Request, *string, *[]string)

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

func (fake *MockEthService) Call(arg1 *http.Request, arg2 *types.EthArgs, arg3 *string) error

func (*MockEthService) CallArgsForCall

func (fake *MockEthService) CallArgsForCall(i int) (*http.Request, *types.EthArgs, *string)

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 (fake *MockEthService) EstimateGas(arg1 *http.Request, arg2 *types.EthArgs, arg3 *string) error

func (*MockEthService) EstimateGasArgsForCall

func (fake *MockEthService) EstimateGasArgsForCall(i int) (*http.Request, *types.EthArgs, *string)

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 (fake *MockEthService) GetBalance(arg1 *http.Request, arg2 *[]string, arg3 *string) error

func (*MockEthService) GetBalanceArgsForCall

func (fake *MockEthService) GetBalanceArgsForCall(i int) (*http.Request, *[]string, *string)

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 (fake *MockEthService) GetBlockByNumber(arg1 *http.Request, arg2 *[]interface{}, arg3 *types.Block) error

func (*MockEthService) GetBlockByNumberArgsForCall

func (fake *MockEthService) GetBlockByNumberArgsForCall(i int) (*http.Request, *[]interface{}, *types.Block)

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

func (fake *MockEthService) GetCode(arg1 *http.Request, arg2 *string, arg3 *string) error

func (*MockEthService) GetCodeArgsForCall

func (fake *MockEthService) GetCodeArgsForCall(i int) (*http.Request, *string, *string)

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 (fake *MockEthService) GetTransactionReceipt(arg1 *http.Request, arg2 *string, arg3 *types.TxReceipt) error

func (*MockEthService) GetTransactionReceiptArgsForCall

func (fake *MockEthService) GetTransactionReceiptArgsForCall(i int) (*http.Request, *string, *types.TxReceipt)

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 (fake *MockEthService) SendTransaction(arg1 *http.Request, arg2 *types.EthArgs, arg3 *string) error

func (*MockEthService) SendTransactionArgsForCall

func (fake *MockEthService) SendTransactionArgsForCall(i int) (*http.Request, *types.EthArgs, *string)

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 (*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)

Jump to

Keyboard shortcuts

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