notificationsmock

package
v2.37.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package notificationsmock contains a mocked implementation of the notifications.Enqueuer interface for use in tests.

Package notificationsmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnqueuer

type MockEnqueuer struct {
	// contains filtered or unexported fields
}

MockEnqueuer is a mock of Enqueuer interface.

func NewMockEnqueuer

func NewMockEnqueuer(ctrl *gomock.Controller) *MockEnqueuer

NewMockEnqueuer creates a new mock instance.

func (*MockEnqueuer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnqueuer) Enqueue

func (m *MockEnqueuer) Enqueue(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)

Enqueue mocks base method.

func (*MockEnqueuer) EnqueueWithData

func (m *MockEnqueuer) EnqueueWithData(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, data map[string]any, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)

EnqueueWithData mocks base method.

type MockEnqueuerMockRecorder

type MockEnqueuerMockRecorder struct {
	// contains filtered or unexported fields
}

MockEnqueuerMockRecorder is the mock recorder for MockEnqueuer.

func (*MockEnqueuerMockRecorder) Enqueue

func (mr *MockEnqueuerMockRecorder) Enqueue(ctx, userID, templateID, labels, createdBy any, targets ...any) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockEnqueuerMockRecorder) EnqueueWithData

func (mr *MockEnqueuerMockRecorder) EnqueueWithData(ctx, userID, templateID, labels, data, createdBy any, targets ...any) *gomock.Call

EnqueueWithData indicates an expected call of EnqueueWithData.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL