Documentation ¶
Index ¶
- type Bridge
- func (_m *Bridge) Init(sysevents system.EventInterface)
- func (_m *Bridge) WaitForDeployOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)
- func (_m *Bridge) WaitForIdentity(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Identity, error)
- func (_m *Bridge) WaitForInvokeOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)
- func (_m *Bridge) WaitForMessage(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Message, error)
- func (_m *Bridge) WaitForReply(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.MessageInOut, error)
- func (_m *Bridge) WaitForTokenApproval(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenApproval, error)
- func (_m *Bridge) WaitForTokenPool(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenPool, error)
- func (_m *Bridge) WaitForTokenTransfer(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenTransfer, error)
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
Bridge is an autogenerated mock type for the Bridge type
func NewBridge ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v0.14.0
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 ¶ added in v1.0.0
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.13.1
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v1.1.0
Sender is an autogenerated mock type for the Sender type
func NewSender ¶ added in v1.1.2
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.