Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ WithTemplateID
Function
WithTemplateID
coderd/notifications/notificationstest/fake_enqueuer.go:125–129 ·
view source on GitHub ↗
(id uuid.UUID)
Source
from the content-addressed store, hash-verified
123
}
124
125
func
WithTemplateID(id uuid.UUID)
func
(*FakeNotification) bool {
126
return
func
(n *FakeNotification) bool {
127
return
n.TemplateID == id
128
}
129
}
Callers
15
TestPostWorkspacesByOrganization
Function · 0.92
TestWorkspaceNotifications
Function · 0.92
TestWorkspaceBuildWithUpdatedTemplateVersionSendsNotification
Function · 0.92
TestNotificationTest
Function · 0.92
TestCustomNotification
Function · 0.92
TestNotifyUserStatusChanged
Function · 0.92
TestNotifyCreatedUser
Function · 0.92
TestTasksNotification
Function · 0.92
TestPauseTask
Function · 0.92
TestResumeTask
Function · 0.92
TestExecutorAutostartTemplateUpdated
Function · 0.92
TestExecutorTaskWorkspace
Function · 0.92
Calls
no outgoing calls
Tested by
15
TestPostWorkspacesByOrganization
Function · 0.74
TestWorkspaceNotifications
Function · 0.74
TestWorkspaceBuildWithUpdatedTemplateVersionSendsNotification
Function · 0.74
TestNotificationTest
Function · 0.74
TestCustomNotification
Function · 0.74
TestNotifyUserStatusChanged
Function · 0.74
TestNotifyCreatedUser
Function · 0.74
TestTasksNotification
Function · 0.74
TestPauseTask
Function · 0.74
TestResumeTask
Function · 0.74
TestExecutorAutostartTemplateUpdated
Function · 0.74
TestExecutorTaskWorkspace
Function · 0.74