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

Method UpsertWorkspaceApp

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

Source from the content-addressed store, hash-verified

1435 UpsertWebpushVAPIDKeys(ctx context.Context, arg UpsertWebpushVAPIDKeysParams) error
1436 UpsertWorkspaceAgentPortShare(ctx context.Context, arg UpsertWorkspaceAgentPortShareParams) (WorkspaceAgentPortShare, error)
1437 UpsertWorkspaceApp(ctx context.Context, arg UpsertWorkspaceAppParams) (WorkspaceApp, error)
1438 //
1439 // The returned boolean, new_or_stale, can be used to deduce if a new session
1440 // was started. This means that a new row was inserted (no previous session) or

Callers 9

UpsertWorkspaceAppMethod · 0.65
UpsertWorkspaceAppMethod · 0.65
TestSystemFunctionsMethod · 0.65
WorkspaceAppFunction · 0.65
CreateSubAgentMethod · 0.65
TestSubAgentAPIFunction · 0.65
insertAgentAppFunction · 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