operationmocks

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) AddOrReuseOperation

func (_m *Manager) AddOrReuseOperation(ctx context.Context, op *fftypes.Operation) error

AddOrReuseOperation provides a mock function with given fields: ctx, op

func (*Manager) PrepareOperation

func (_m *Manager) PrepareOperation(ctx context.Context, op *fftypes.Operation) (*fftypes.PreparedOperation, error)

PrepareOperation provides a mock function with given fields: ctx, op

func (*Manager) RegisterHandler

func (_m *Manager) RegisterHandler(ctx context.Context, handler operations.OperationHandler, ops []fftypes.FFEnum)

RegisterHandler provides a mock function with given fields: ctx, handler, ops

func (*Manager) ResolveOperationByID added in v1.0.0

func (_m *Manager) ResolveOperationByID(ctx context.Context, id string, op *fftypes.Operation) (*fftypes.Operation, error)

ResolveOperationByID provides a mock function with given fields: ctx, id, op

func (*Manager) RetryOperation

func (_m *Manager) RetryOperation(ctx context.Context, ns string, opID *fftypes.UUID) (*fftypes.Operation, error)

RetryOperation provides a mock function with given fields: ctx, ns, opID

func (*Manager) RunOperation

RunOperation provides a mock function with given fields: ctx, op, options

func (*Manager) Start added in v1.0.0

func (_m *Manager) Start() error

Start provides a mock function with given fields:

func (*Manager) SubmitOperationUpdate added in v1.0.0

func (_m *Manager) SubmitOperationUpdate(plugin fftypes.Named, update *operations.OperationUpdate)

SubmitOperationUpdate provides a mock function with given fields: plugin, update

func (*Manager) TransferResult added in v1.0.0

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

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

func (*Manager) WaitStop added in v1.0.0

func (_m *Manager) 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