privatemessagingmocks

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: 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) EnsureLocalGroup

func (_m *Manager) EnsureLocalGroup(ctx context.Context, group *fftypes.Group) (bool, error)

EnsureLocalGroup provides a mock function with given fields: ctx, group

func (*Manager) GetGroupByID

func (_m *Manager) GetGroupByID(ctx context.Context, id string) (*fftypes.Group, error)

GetGroupByID provides a mock function with given fields: ctx, id

func (*Manager) GetGroups

func (_m *Manager) GetGroups(ctx context.Context, filter database.AndFilter) ([]*fftypes.Group, *database.FilterResult, error)

GetGroups provides a mock function with given fields: ctx, filter

func (*Manager) RequestReply

func (_m *Manager) RequestReply(ctx context.Context, ns string, request *fftypes.MessageInOut) (*fftypes.MessageInOut, error)

RequestReply provides a mock function with given fields: ctx, ns, request

func (*Manager) ResolveInitGroup

func (_m *Manager) ResolveInitGroup(ctx context.Context, msg *fftypes.Message) (*fftypes.Group, error)

ResolveInitGroup provides a mock function with given fields: ctx, msg

func (*Manager) SendMessage

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

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

func (*Manager) SendMessageWithID

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

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

func (*Manager) Start

func (_m *Manager) Start() error

Start 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