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 BlockListener
- func (fake *BlockListener) Close()
- func (fake *BlockListener) CloseCallCount() int
- func (fake *BlockListener) CloseCalls(stub func())
- func (fake *BlockListener) Invocations() map[string][][]interface{}
- func (fake *BlockListener) ReceiveBlock(arg1 *ledger.CommitNotification)
- func (fake *BlockListener) ReceiveBlockArgsForCall(i int) *ledger.CommitNotification
- func (fake *BlockListener) ReceiveBlockCallCount() int
- func (fake *BlockListener) ReceiveBlockCalls(stub func(*ledger.CommitNotification))
- type NotificationSupplier
- func (fake *NotificationSupplier) CommitNotifications(arg1 <-chan struct{}, arg2 string) (<-chan *ledger.CommitNotification, error)
- func (fake *NotificationSupplier) CommitNotificationsArgsForCall(i int) (<-chan struct{}, string)
- func (fake *NotificationSupplier) CommitNotificationsCallCount() int
- func (fake *NotificationSupplier) CommitNotificationsCalls(stub func(<-chan struct{}, string) (<-chan *ledger.CommitNotification, error))
- func (fake *NotificationSupplier) CommitNotificationsReturns(result1 <-chan *ledger.CommitNotification, result2 error)
- func (fake *NotificationSupplier) CommitNotificationsReturnsOnCall(i int, result1 <-chan *ledger.CommitNotification, result2 error)
- func (fake *NotificationSupplier) Invocations() map[string][][]interface{}
- type QueryProvider
- func (fake *QueryProvider) Invocations() map[string][][]interface{}
- func (fake *QueryProvider) TransactionStatus(arg1 string, arg2 string) (peer.TxValidationCode, uint64, error)
- func (fake *QueryProvider) TransactionStatusArgsForCall(i int) (string, string)
- func (fake *QueryProvider) TransactionStatusCallCount() int
- func (fake *QueryProvider) TransactionStatusCalls(stub func(string, string) (peer.TxValidationCode, uint64, error))
- func (fake *QueryProvider) TransactionStatusReturns(result1 peer.TxValidationCode, result2 uint64, result3 error)
- func (fake *QueryProvider) TransactionStatusReturnsOnCall(i int, result1 peer.TxValidationCode, result2 uint64, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockListener ¶
type BlockListener struct { CloseStub func() ReceiveBlockStub func(*ledger.CommitNotification) // contains filtered or unexported fields }
func (*BlockListener) Close ¶
func (fake *BlockListener) Close()
func (*BlockListener) CloseCallCount ¶
func (fake *BlockListener) CloseCallCount() int
func (*BlockListener) CloseCalls ¶
func (fake *BlockListener) CloseCalls(stub func())
func (*BlockListener) Invocations ¶
func (fake *BlockListener) Invocations() map[string][][]interface{}
func (*BlockListener) ReceiveBlock ¶
func (fake *BlockListener) ReceiveBlock(arg1 *ledger.CommitNotification)
func (*BlockListener) ReceiveBlockArgsForCall ¶
func (fake *BlockListener) ReceiveBlockArgsForCall(i int) *ledger.CommitNotification
func (*BlockListener) ReceiveBlockCallCount ¶
func (fake *BlockListener) ReceiveBlockCallCount() int
func (*BlockListener) ReceiveBlockCalls ¶
func (fake *BlockListener) ReceiveBlockCalls(stub func(*ledger.CommitNotification))
type NotificationSupplier ¶
type NotificationSupplier struct { CommitNotificationsStub func(<-chan struct{}, string) (<-chan *ledger.CommitNotification, error) // contains filtered or unexported fields }
func (*NotificationSupplier) CommitNotifications ¶
func (fake *NotificationSupplier) CommitNotifications(arg1 <-chan struct{}, arg2 string) (<-chan *ledger.CommitNotification, error)
func (*NotificationSupplier) CommitNotificationsArgsForCall ¶
func (fake *NotificationSupplier) CommitNotificationsArgsForCall(i int) (<-chan struct{}, string)
func (*NotificationSupplier) CommitNotificationsCallCount ¶
func (fake *NotificationSupplier) CommitNotificationsCallCount() int
func (*NotificationSupplier) CommitNotificationsCalls ¶
func (fake *NotificationSupplier) CommitNotificationsCalls(stub func(<-chan struct{}, string) (<-chan *ledger.CommitNotification, error))
func (*NotificationSupplier) CommitNotificationsReturns ¶
func (fake *NotificationSupplier) CommitNotificationsReturns(result1 <-chan *ledger.CommitNotification, result2 error)
func (*NotificationSupplier) CommitNotificationsReturnsOnCall ¶
func (fake *NotificationSupplier) CommitNotificationsReturnsOnCall(i int, result1 <-chan *ledger.CommitNotification, result2 error)
func (*NotificationSupplier) Invocations ¶
func (fake *NotificationSupplier) Invocations() map[string][][]interface{}
type QueryProvider ¶
type QueryProvider struct { TransactionStatusStub func(string, string) (peer.TxValidationCode, uint64, error) // contains filtered or unexported fields }
func (*QueryProvider) Invocations ¶
func (fake *QueryProvider) Invocations() map[string][][]interface{}
func (*QueryProvider) TransactionStatus ¶
func (fake *QueryProvider) TransactionStatus(arg1 string, arg2 string) (peer.TxValidationCode, uint64, error)
func (*QueryProvider) TransactionStatusArgsForCall ¶
func (fake *QueryProvider) TransactionStatusArgsForCall(i int) (string, string)
func (*QueryProvider) TransactionStatusCallCount ¶
func (fake *QueryProvider) TransactionStatusCallCount() int
func (*QueryProvider) TransactionStatusCalls ¶
func (fake *QueryProvider) TransactionStatusCalls(stub func(string, string) (peer.TxValidationCode, uint64, error))
func (*QueryProvider) TransactionStatusReturns ¶
func (fake *QueryProvider) TransactionStatusReturns(result1 peer.TxValidationCode, result2 uint64, result3 error)
func (*QueryProvider) TransactionStatusReturnsOnCall ¶
func (fake *QueryProvider) TransactionStatusReturnsOnCall(i int, result1 peer.TxValidationCode, result2 uint64, result3 error)
Click to show internal directories.
Click to hide internal directories.