mocks

package
v0.0.0-...-b544036 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 3 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 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)

Jump to

Keyboard shortcuts

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