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

Method EnqueueWithData

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

Source from the content-addressed store, hash-verified

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 13

CreateUserMethod · 0.65
postTestNotificationMethod · 0.65
monitorMemoryMethod · 0.65
monitorVolumesMethod · 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 1