Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) EnsureLocalGroup(ctx context.Context, group *core.Group, creator *core.Member) (bool, error)
- func (_m *Manager) GetGroupByID(ctx context.Context, id string) (*core.Group, error)
- func (_m *Manager) GetGroups(ctx context.Context, filter ffapi.AndFilter) ([]*core.Group, *ffapi.FilterResult, error)
- func (_m *Manager) Name() string
- func (_m *Manager) NewMessage(msg *core.MessageInOut) syncasync.Sender
- func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
- func (_m *Manager) RequestReply(ctx context.Context, request *core.MessageInOut) (*core.MessageInOut, error)
- func (_m *Manager) ResolveInitGroup(ctx context.Context, msg *core.Message, creator *core.Member) (*core.Group, error)
- func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, bool, error)
- func (_m *Manager) SendMessage(ctx context.Context, in *core.MessageInOut, waitConfirm bool) (*core.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.1.2
func NewManager(t mockConstructorTestingTNewManager) *Manager
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Manager) EnsureLocalGroup ¶
func (_m *Manager) EnsureLocalGroup(ctx context.Context, group *core.Group, creator *core.Member) (bool, error)
EnsureLocalGroup provides a mock function with given fields: ctx, group, creator
func (*Manager) GetGroupByID ¶
GetGroupByID provides a mock function with given fields: ctx, id
func (*Manager) GetGroups ¶
func (_m *Manager) GetGroups(ctx context.Context, filter ffapi.AndFilter) ([]*core.Group, *ffapi.FilterResult, error)
GetGroups provides a mock function with given fields: ctx, filter
func (*Manager) NewMessage ¶ added in v0.11.0
func (_m *Manager) NewMessage(msg *core.MessageInOut) syncasync.Sender
NewMessage provides a mock function with given fields: msg
func (*Manager) PrepareOperation ¶ added in v0.14.0
func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
PrepareOperation provides a mock function with given fields: ctx, op
func (*Manager) RequestReply ¶
func (_m *Manager) RequestReply(ctx context.Context, request *core.MessageInOut) (*core.MessageInOut, error)
RequestReply provides a mock function with given fields: ctx, request
func (*Manager) ResolveInitGroup ¶
func (_m *Manager) ResolveInitGroup(ctx context.Context, msg *core.Message, creator *core.Member) (*core.Group, error)
ResolveInitGroup provides a mock function with given fields: ctx, msg, creator
func (*Manager) RunOperation ¶ added in v0.14.0
func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, bool, error)
RunOperation provides a mock function with given fields: ctx, op