broadcastmocks

package
v0.0.0-...-93e01a0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 3 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) BroadcastDatatype

func (_m *Manager) BroadcastDatatype(ctx context.Context, ns string, datatype *fftypes.Datatype, waitConfirm bool) (*fftypes.Message, error)

BroadcastDatatype provides a mock function with given fields: ctx, ns, datatype, waitConfirm

func (*Manager) BroadcastDefinition

func (_m *Manager) BroadcastDefinition(ctx context.Context, def fftypes.Definition, signingIdentity *fftypes.Identity, tag fftypes.SystemTag, waitConfirm bool) (*fftypes.Message, error)

BroadcastDefinition provides a mock function with given fields: ctx, def, signingIdentity, tag, waitConfirm

func (*Manager) BroadcastMessage

func (_m *Manager) BroadcastMessage(ctx context.Context, ns string, in *fftypes.MessageInOut, waitConfirm bool) (*fftypes.Message, error)

BroadcastMessage provides a mock function with given fields: ctx, ns, in, waitConfirm

func (*Manager) BroadcastMessageWithID

func (_m *Manager) BroadcastMessageWithID(ctx context.Context, ns string, id *fftypes.UUID, unresolved *fftypes.MessageInOut, resolved *fftypes.Message, waitConfirm bool) (*fftypes.Message, error)

BroadcastMessageWithID provides a mock function with given fields: ctx, ns, id, unresolved, resolved, waitConfirm

func (*Manager) BroadcastNamespace

func (_m *Manager) BroadcastNamespace(ctx context.Context, ns *fftypes.Namespace, waitConfirm bool) (*fftypes.Message, error)

BroadcastNamespace provides a mock function with given fields: ctx, ns, waitConfirm

func (*Manager) GetNodeSigningIdentity

func (_m *Manager) GetNodeSigningIdentity(ctx context.Context) (*fftypes.Identity, error)

GetNodeSigningIdentity provides a mock function with given fields: ctx

func (*Manager) Start

func (_m *Manager) Start() error

Start provides a mock function with given fields:

func (*Manager) WaitStop

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