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

Method GetWorkspaceAgentScriptsByAgentIDs

coderd/database/querier.go:854–854  ·  view source on GitHub ↗
(ctx context.Context, ids []uuid.UUID)

Source from the content-addressed store, hash-verified

852 GetWorkspaceAgentPortShare(ctx context.Context, arg GetWorkspaceAgentPortShareParams) (WorkspaceAgentPortShare, error)
853 GetWorkspaceAgentScriptTimingsByBuildID(ctx context.Context, id uuid.UUID) ([]GetWorkspaceAgentScriptTimingsByBuildIDRow, error)
854 GetWorkspaceAgentScriptsByAgentIDs(ctx context.Context, ids []uuid.UUID) ([]GetWorkspaceAgentScriptsByAgentIDsRow, error)
855 GetWorkspaceAgentStats(ctx context.Context, createdAt time.Time) ([]GetWorkspaceAgentStatsRow, error)
856 GetWorkspaceAgentStatsAndLabels(ctx context.Context, createdAt time.Time) ([]GetWorkspaceAgentStatsAndLabelsRow, error)
857 // `minute_buckets` could return 0 rows if there are no usage stats since `created_at`.

Callers 9

workspaceAgentMethod · 0.65
workspaceBuildsDataMethod · 0.65
TestSystemFunctionsMethod · 0.65
TestGetManifestFunction · 0.65
GetManifestMethod · 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 3

TestSystemFunctionsMethod · 0.52
TestGetManifestFunction · 0.52