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

Method InsertWorkspace

coderd/database/querier.go:1013–1013  ·  view source on GitHub ↗
(ctx context.Context, arg InsertWorkspaceParams)

Source from the content-addressed store, hash-verified

1011 // on iOS, where the browser may keep the same endpoint with rotated keys.
1012 InsertWebpushSubscription(ctx context.Context, arg InsertWebpushSubscriptionParams) (WebpushSubscription, error)
1013 InsertWorkspace(ctx context.Context, arg InsertWorkspaceParams) (WorkspaceTable, error)
1014 InsertWorkspaceAgent(ctx context.Context, arg InsertWorkspaceAgentParams) (WorkspaceAgent, error)
1015 InsertWorkspaceAgentDevcontainers(ctx context.Context, arg InsertWorkspaceAgentDevcontainersParams) ([]WorkspaceAgentDevcontainer, error)
1016 InsertWorkspaceAgentLogSources(ctx context.Context, arg InsertWorkspaceAgentLogSourcesParams) ([]WorkspaceAgentLogSource, error)

Callers 8

createWorkspaceFunction · 0.65
TestWorkspaceParamFunction · 0.65
insertRunningFunction · 0.65
InsertWorkspaceMethod · 0.65
TestWorkspaceMethod · 0.65
WorkspaceFunction · 0.65
TestFailJobFunction · 0.65

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 4

TestWorkspaceParamFunction · 0.52
insertRunningFunction · 0.52
TestWorkspaceMethod · 0.52
TestFailJobFunction · 0.52