Documentation ¶
Index ¶
- type DefinitionHandlers
- func (_m *DefinitionHandlers) EnsureLocalGroup(ctx context.Context, group *fftypes.Group) (bool, error)
- func (_m *DefinitionHandlers) GetGroupByID(ctx context.Context, id string) (*fftypes.Group, error)
- func (_m *DefinitionHandlers) GetGroupsNS(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.Group, *database.FilterResult, error)
- func (_m *DefinitionHandlers) HandleDefinitionBroadcast(ctx context.Context, state definitions.DefinitionBatchState, ...) (definitions.HandlerResult, error)
- func (_m *DefinitionHandlers) ResolveInitGroup(ctx context.Context, msg *fftypes.Message) (*fftypes.Group, error)
- func (_m *DefinitionHandlers) SendReply(ctx context.Context, event *fftypes.Event, reply *fftypes.MessageInOut)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefinitionHandlers ¶
DefinitionHandlers is an autogenerated mock type for the DefinitionHandlers type
func (*DefinitionHandlers) EnsureLocalGroup ¶
func (_m *DefinitionHandlers) EnsureLocalGroup(ctx context.Context, group *fftypes.Group) (bool, error)
EnsureLocalGroup provides a mock function with given fields: ctx, group
func (*DefinitionHandlers) GetGroupByID ¶
GetGroupByID provides a mock function with given fields: ctx, id
func (*DefinitionHandlers) GetGroupsNS ¶ added in v0.11.3
func (_m *DefinitionHandlers) 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 (*DefinitionHandlers) HandleDefinitionBroadcast ¶ added in v0.12.0
func (_m *DefinitionHandlers) HandleDefinitionBroadcast(ctx context.Context, state definitions.DefinitionBatchState, msg *fftypes.Message, data fftypes.DataArray, tx *fftypes.UUID) (definitions.HandlerResult, error)
HandleDefinitionBroadcast provides a mock function with given fields: ctx, state, msg, data, tx
func (*DefinitionHandlers) ResolveInitGroup ¶
func (_m *DefinitionHandlers) ResolveInitGroup(ctx context.Context, msg *fftypes.Message) (*fftypes.Group, error)
ResolveInitGroup provides a mock function with given fields: ctx, msg
func (*DefinitionHandlers) SendReply ¶
func (_m *DefinitionHandlers) SendReply(ctx context.Context, event *fftypes.Event, reply *fftypes.MessageInOut)
SendReply provides a mock function with given fields: ctx, event, reply
Click to show internal directories.
Click to hide internal directories.