eventmocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager struct {
	mock.Mock
}

EventManager is an autogenerated mock type for the EventManager type

func (*EventManager) AddSystemEventListener

func (_m *EventManager) AddSystemEventListener(ns string, el system.EventListener) error

AddSystemEventListener provides a mock function with given fields: ns, el

func (*EventManager) BatchPinComplete

func (_m *EventManager) BatchPinComplete(bi blockchain.Plugin, batch *blockchain.BatchPin, signingKey *fftypes.VerifierRef) error

BatchPinComplete provides a mock function with given fields: bi, batch, signingKey

func (*EventManager) BlockchainEvent added in v0.12.0

func (_m *EventManager) BlockchainEvent(event *blockchain.EventWithSubscription) error

BlockchainEvent provides a mock function with given fields: event

func (*EventManager) CreateUpdateDurableSubscription

func (_m *EventManager) CreateUpdateDurableSubscription(ctx context.Context, subDef *fftypes.Subscription, mustNew bool) error

CreateUpdateDurableSubscription provides a mock function with given fields: ctx, subDef, mustNew

func (*EventManager) DXEvent added in v1.0.0

func (_m *EventManager) DXEvent(dx dataexchange.Plugin, event dataexchange.DXEvent)

DXEvent provides a mock function with given fields: dx, event

func (*EventManager) DeleteDurableSubscription

func (_m *EventManager) DeleteDurableSubscription(ctx context.Context, subDef *fftypes.Subscription) error

DeleteDurableSubscription provides a mock function with given fields: ctx, subDef

func (*EventManager) DeletedSubscriptions

func (_m *EventManager) DeletedSubscriptions() chan<- *fftypes.UUID

DeletedSubscriptions provides a mock function with given fields:

func (*EventManager) GetPlugins added in v1.0.0

func (_m *EventManager) GetPlugins() []*fftypes.NodeStatusPlugin

GetPlugins provides a mock function with given fields:

func (*EventManager) GetWebSocketStatus added in v1.0.0

func (_m *EventManager) GetWebSocketStatus() *fftypes.WebSocketStatus

GetWebSocketStatus provides a mock function with given fields:

func (*EventManager) NewEvents

func (_m *EventManager) NewEvents() chan<- int64

NewEvents provides a mock function with given fields:

func (*EventManager) NewPins

func (_m *EventManager) NewPins() chan<- int64

NewPins provides a mock function with given fields:

func (*EventManager) NewSubscriptions

func (_m *EventManager) NewSubscriptions() chan<- *fftypes.UUID

NewSubscriptions provides a mock function with given fields:

func (*EventManager) SharedStorageBatchDownloaded added in v0.14.0

func (_m *EventManager) SharedStorageBatchDownloaded(ss sharedstorage.Plugin, ns string, payloadRef string, data []byte) (*fftypes.UUID, error)

SharedStorageBatchDownloaded provides a mock function with given fields: ss, ns, payloadRef, data

func (*EventManager) SharedStorageBlobDownloaded added in v1.0.0

func (_m *EventManager) SharedStorageBlobDownloaded(ss sharedstorage.Plugin, hash fftypes.Bytes32, size int64, payloadRef string)

SharedStorageBlobDownloaded provides a mock function with given fields: ss, hash, size, payloadRef

func (*EventManager) Start

func (_m *EventManager) Start() error

Start provides a mock function with given fields:

func (*EventManager) SubscriptionUpdates

func (_m *EventManager) SubscriptionUpdates() chan<- *fftypes.UUID

SubscriptionUpdates provides a mock function with given fields:

func (*EventManager) TokenPoolCreated added in v0.11.0

func (_m *EventManager) TokenPoolCreated(ti tokens.Plugin, pool *tokens.TokenPool) error

TokenPoolCreated provides a mock function with given fields: ti, pool

func (*EventManager) TokensApproved added in v0.13.1

func (_m *EventManager) TokensApproved(ti tokens.Plugin, approval *tokens.TokenApproval) error

TokensApproved provides a mock function with given fields: ti, approval

func (*EventManager) TokensTransferred added in v0.10.1

func (_m *EventManager) TokensTransferred(ti tokens.Plugin, transfer *tokens.TokenTransfer) error

TokensTransferred provides a mock function with given fields: ti, transfer

func (*EventManager) WaitStop

func (_m *EventManager) WaitStop()

WaitStop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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