Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Name
Method
Name
coderd/database/dbtestutil/postgres.go:165–165 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
163
// It allows to use dbtestutil.Open outside of tests.
164
type
TBSubset
interface
{
165
Name() string
166
Cleanup(
func
())
167
Helper()
168
Logf(format string, args ...any)
Callers
13
Name
Method · 0.65
TestGetWorkspaceAgentsByInstanceID
Function · 0.65
TestGetWorkspaceBuildAgentsByInstanceID
Function · 0.65
IsSerializedError
Function · 0.65
IsUniqueViolation
Function · 0.65
IsForeignKeyViolation
Function · 0.65
IsCheckViolation
Function · 0.65
Create
Method · 0.65
DumpOnFailure
Function · 0.65
SubtestWithDB
Method · 0.65
applyMigrationsInTxn
Function · 0.65
calculateMigrationsHash
Function · 0.65
Implementers
1
mockTB
coderd/database/gen/dump/main.go
Calls
no outgoing calls
Tested by
4
TestGetWorkspaceAgentsByInstanceID
Function · 0.52
TestGetWorkspaceBuildAgentsByInstanceID
Function · 0.52
SubtestWithDB
Method · 0.52
applyMigrationsInTxn
Function · 0.52