MCPcopy Index your code
hub / github.com/coder/coder / Enqueue

Method Enqueue

coderd/notifications/spec.go:40–40  ·  view source on GitHub ↗
(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, createdBy string, targets ...uuid.UUID)

Source from the content-addressed store, hash-verified

38// Enqueuer enqueues a new notification message in the store and returns its ID, should it enqueue without failure.
39type Enqueuer interface {
40 Enqueue(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)
41 EnqueueWithData(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, data map[string]any, createdBy string, targets ...uuid.UUID) ([]uuid.UUID, error)
42}

Callers 15

deleteUserMethod · 0.65
notifyTemplateDeletedMethod · 0.65
putWorkspaceDormantMethod · 0.65
pauseTaskMethod · 0.65
resumeTaskMethod · 0.65
runOnceMethod · 0.65
listenReceiveMethod · 0.65

Implementers 5

StoreEnqueuercoderd/notifications/enqueuer.go
NoopEnqueuercoderd/notifications/enqueuer.go
FakeEnqueuercoderd/notifications/notificationstest
MockEnqueuercoderd/notifications/notificationsmock
MockEnqueuerMockRecordercoderd/notifications/notificationsmock

Calls

no outgoing calls

Tested by

no test coverage detected