operationmocks

package
v0.14.0 Latest Latest
Warning

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

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

func (_m *Manager) RunOperation(ctx context.Context, op *fftypes.PreparedOperation, options ...operations.RunOperationOption) error

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

Jump to

Keyboard shortcuts

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