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

Method InsertWorkspaceAgent

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

Source from the content-addressed store, hash-verified

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)
1017 InsertWorkspaceAgentLogs(ctx context.Context, arg InsertWorkspaceAgentLogsParams) ([]WorkspaceAgentLog, error)

Callers 10

InsertWorkspaceAgentMethod · 0.65
InsertWorkspaceAgentMethod · 0.65
TestSystemFunctionsMethod · 0.65
WorkspaceAgentFunction · 0.65
CreateSubAgentMethod · 0.65
TestSubAgentAPIFunction · 0.65
InsertWorkspaceResourceFunction · 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

TestSystemFunctionsMethod · 0.52
TestSubAgentAPIFunction · 0.52