Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Ledger
- func (fake *Ledger) CommitNotificationsChannel(arg1 <-chan struct{}) (<-chan *ledgera.CommitNotification, error)
- func (fake *Ledger) CommitNotificationsChannelArgsForCall(i int) <-chan struct{}
- func (fake *Ledger) CommitNotificationsChannelCallCount() int
- func (fake *Ledger) CommitNotificationsChannelCalls(stub func(<-chan struct{}) (<-chan *ledgera.CommitNotification, error))
- func (fake *Ledger) CommitNotificationsChannelReturns(result1 <-chan *ledgera.CommitNotification, result2 error)
- func (fake *Ledger) CommitNotificationsChannelReturnsOnCall(i int, result1 <-chan *ledgera.CommitNotification, result2 error)
- func (fake *Ledger) GetBlockByTxID(arg1 string) (*common.Block, error)
- func (fake *Ledger) GetBlockByTxIDArgsForCall(i int) string
- func (fake *Ledger) GetBlockByTxIDCallCount() int
- func (fake *Ledger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))
- func (fake *Ledger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)
- func (fake *Ledger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *Ledger) GetBlockchainInfo() (*common.BlockchainInfo, error)
- func (fake *Ledger) GetBlockchainInfoCallCount() int
- func (fake *Ledger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
- func (fake *Ledger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
- func (fake *Ledger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
- func (fake *Ledger) GetBlocksIterator(arg1 uint64) (ledgerb.ResultsIterator, error)
- func (fake *Ledger) GetBlocksIteratorArgsForCall(i int) uint64
- func (fake *Ledger) GetBlocksIteratorCallCount() int
- func (fake *Ledger) GetBlocksIteratorCalls(stub func(uint64) (ledgerb.ResultsIterator, error))
- func (fake *Ledger) GetBlocksIteratorReturns(result1 ledgerb.ResultsIterator, result2 error)
- func (fake *Ledger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgerb.ResultsIterator, result2 error)
- func (fake *Ledger) GetTxValidationCodeByTxID(arg1 string) (peer.TxValidationCode, uint64, error)
- func (fake *Ledger) GetTxValidationCodeByTxIDArgsForCall(i int) string
- func (fake *Ledger) GetTxValidationCodeByTxIDCallCount() int
- func (fake *Ledger) GetTxValidationCodeByTxIDCalls(stub func(string) (peer.TxValidationCode, uint64, error))
- func (fake *Ledger) GetTxValidationCodeByTxIDReturns(result1 peer.TxValidationCode, result2 uint64, result3 error)
- func (fake *Ledger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peer.TxValidationCode, result2 uint64, result3 error)
- func (fake *Ledger) Invocations() map[string][][]interface{}
- type Provider
- func (fake *Provider) Invocations() map[string][][]interface{}
- func (fake *Provider) Ledger(arg1 string) (ledger.Ledger, error)
- func (fake *Provider) LedgerArgsForCall(i int) string
- func (fake *Provider) LedgerCallCount() int
- func (fake *Provider) LedgerCalls(stub func(string) (ledger.Ledger, error))
- func (fake *Provider) LedgerReturns(result1 ledger.Ledger, result2 error)
- func (fake *Provider) LedgerReturnsOnCall(i int, result1 ledger.Ledger, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger struct { CommitNotificationsChannelStub func(<-chan struct{}) (<-chan *ledgera.CommitNotification, error) GetBlockByTxIDStub func(string) (*common.Block, error) GetBlockchainInfoStub func() (*common.BlockchainInfo, error) GetBlocksIteratorStub func(uint64) (ledgerb.ResultsIterator, error) GetTxValidationCodeByTxIDStub func(string) (peer.TxValidationCode, uint64, error) // contains filtered or unexported fields }
func (*Ledger) CommitNotificationsChannel ¶
func (fake *Ledger) CommitNotificationsChannel(arg1 <-chan struct{}) (<-chan *ledgera.CommitNotification, error)
func (*Ledger) CommitNotificationsChannelArgsForCall ¶
func (*Ledger) CommitNotificationsChannelCallCount ¶
func (*Ledger) CommitNotificationsChannelCalls ¶
func (fake *Ledger) CommitNotificationsChannelCalls(stub func(<-chan struct{}) (<-chan *ledgera.CommitNotification, error))
func (*Ledger) CommitNotificationsChannelReturns ¶
func (fake *Ledger) CommitNotificationsChannelReturns(result1 <-chan *ledgera.CommitNotification, result2 error)
func (*Ledger) CommitNotificationsChannelReturnsOnCall ¶
func (fake *Ledger) CommitNotificationsChannelReturnsOnCall(i int, result1 <-chan *ledgera.CommitNotification, result2 error)
func (*Ledger) GetBlockByTxID ¶
func (*Ledger) GetBlockByTxIDArgsForCall ¶
func (*Ledger) GetBlockByTxIDCallCount ¶
func (*Ledger) GetBlockByTxIDCalls ¶
func (*Ledger) GetBlockByTxIDReturns ¶
func (*Ledger) GetBlockByTxIDReturnsOnCall ¶
func (*Ledger) GetBlockchainInfo ¶
func (fake *Ledger) GetBlockchainInfo() (*common.BlockchainInfo, error)
func (*Ledger) GetBlockchainInfoCallCount ¶
func (*Ledger) GetBlockchainInfoCalls ¶
func (fake *Ledger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
func (*Ledger) GetBlockchainInfoReturns ¶
func (fake *Ledger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
func (*Ledger) GetBlockchainInfoReturnsOnCall ¶
func (fake *Ledger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
func (*Ledger) GetBlocksIterator ¶
func (fake *Ledger) GetBlocksIterator(arg1 uint64) (ledgerb.ResultsIterator, error)
func (*Ledger) GetBlocksIteratorArgsForCall ¶
func (*Ledger) GetBlocksIteratorCallCount ¶
func (*Ledger) GetBlocksIteratorCalls ¶
func (fake *Ledger) GetBlocksIteratorCalls(stub func(uint64) (ledgerb.ResultsIterator, error))
func (*Ledger) GetBlocksIteratorReturns ¶
func (fake *Ledger) GetBlocksIteratorReturns(result1 ledgerb.ResultsIterator, result2 error)
func (*Ledger) GetBlocksIteratorReturnsOnCall ¶
func (fake *Ledger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgerb.ResultsIterator, result2 error)
func (*Ledger) GetTxValidationCodeByTxID ¶
func (*Ledger) GetTxValidationCodeByTxIDArgsForCall ¶
func (*Ledger) GetTxValidationCodeByTxIDCallCount ¶
func (*Ledger) GetTxValidationCodeByTxIDCalls ¶
func (*Ledger) GetTxValidationCodeByTxIDReturns ¶
func (fake *Ledger) GetTxValidationCodeByTxIDReturns(result1 peer.TxValidationCode, result2 uint64, result3 error)
func (*Ledger) GetTxValidationCodeByTxIDReturnsOnCall ¶
func (*Ledger) Invocations ¶
type Provider ¶
type Provider struct { LedgerStub func(string) (ledger.Ledger, error) // contains filtered or unexported fields }
func (*Provider) Invocations ¶
func (*Provider) LedgerArgsForCall ¶
func (*Provider) LedgerCallCount ¶
func (*Provider) LedgerCalls ¶
func (*Provider) LedgerReturns ¶
Click to show internal directories.
Click to hide internal directories.