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

Method GetNotificationTemplateByID

coderd/database/querier.go:533–533  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

531 // Fetch the notification report generator log indicating recent activity.
532 GetNotificationReportGeneratorLogByTemplate(ctx context.Context, templateID uuid.UUID) (NotificationReportGeneratorLog, error)
533 GetNotificationTemplateByID(ctx context.Context, id uuid.UUID) (NotificationTemplate, error)
534 GetNotificationTemplatesByKind(ctx context.Context, kind NotificationTemplateKind) ([]NotificationTemplate, error)
535 GetNotificationsSettings(ctx context.Context) (string, error)
536 GetOAuth2GithubDefaultEligible(ctx context.Context) (bool, error)

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestNotificationsMethod · 0.52