syncasyncmocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	mock.Mock
}

Bridge is an autogenerated mock type for the Bridge type

func NewBridge

func NewBridge(t interface {
	mock.TestingT
	Cleanup(func())
}) *Bridge

NewBridge creates a new instance of Bridge. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Bridge) Init

func (_m *Bridge) Init(sysevents system.EventInterface)

Init provides a mock function with given fields: sysevents

func (*Bridge) WaitForDeployOperation

func (_m *Bridge) WaitForDeployOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)

WaitForDeployOperation provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForIdentity

func (_m *Bridge) WaitForIdentity(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Identity, error)

WaitForIdentity provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForInvokeOperation

func (_m *Bridge) WaitForInvokeOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)

WaitForInvokeOperation provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForMessage

func (_m *Bridge) WaitForMessage(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Message, error)

WaitForMessage provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForReply

func (_m *Bridge) WaitForReply(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.MessageInOut, error)

WaitForReply provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenApproval

func (_m *Bridge) WaitForTokenApproval(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenApproval, error)

WaitForTokenApproval provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenPool

func (_m *Bridge) WaitForTokenPool(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenPool, error)

WaitForTokenPool provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenTransfer

func (_m *Bridge) WaitForTokenTransfer(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenTransfer, error)

WaitForTokenTransfer provides a mock function with given fields: ctx, id, send

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender

func NewSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sender

NewSender creates a new instance of Sender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Sender) Prepare

func (_m *Sender) Prepare(ctx context.Context) error

Prepare provides a mock function with given fields: ctx

func (*Sender) Send

func (_m *Sender) Send(ctx context.Context) error

Send provides a mock function with given fields: ctx

func (*Sender) SendAndWait

func (_m *Sender) SendAndWait(ctx context.Context) error

SendAndWait provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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