privatemessagingmocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 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) Name added in v0.14.0

func (_m *Manager) Name() string

Name provides a mock function with given fields:

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) PrepareOperation added in v0.14.0

func (_m *Manager) PrepareOperation(ctx context.Context, op *fftypes.Operation) (*fftypes.PreparedOperation, error)

PrepareOperation provides a mock function with given fields: ctx, op

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) RunOperation added in v0.14.0

func (_m *Manager) RunOperation(ctx context.Context, op *fftypes.PreparedOperation) (fftypes.JSONObject, bool, error)

RunOperation provides a mock function with given fields: ctx, op

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