privatemessagingmocks

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 5 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) GetGroupsNS added in v0.11.3

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

GetGroupsNS provides a mock function with given fields: ctx, ns, filter

func (*Manager) NewMessage added in v0.11.0

func (_m *Manager) NewMessage(ns string, msg *fftypes.MessageInOut) sysmessaging.MessageSender

NewMessage provides a mock function with given fields: ns, msg

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