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

Method GetTaskByWorkspaceID

coderd/database/querier.go:671–671  ·  view source on GitHub ↗
(ctx context.Context, workspaceID uuid.UUID)

Source from the content-addressed store, hash-verified

669 GetTaskByID(ctx context.Context, id uuid.UUID) (Task, error)
670 GetTaskByOwnerIDAndName(ctx context.Context, arg GetTaskByOwnerIDAndNameParams) (Task, error)
671 GetTaskByWorkspaceID(ctx context.Context, workspaceID uuid.UUID) (Task, error)
672 GetTaskSnapshot(ctx context.Context, taskID uuid.UUID) (TaskSnapshot, error)
673 GetTelemetryItem(ctx context.Context, key string) (TelemetryItem, error)
674 GetTelemetryItems(ctx context.Context) ([]TelemetryItem, error)

Callers 10

TestTasksCreateFunction · 0.65
TestGetTaskByWorkspaceIDFunction · 0.65
doInTXMethod · 0.65
GetTaskByWorkspaceIDMethod · 0.65
TestTasksMethod · 0.65
getWorkspaceTaskMethod · 0.65
withNoTaskFunction · 0.65
withTaskFunction · 0.65
acquireProtoJobMethod · 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 5

TestTasksCreateFunction · 0.52
TestGetTaskByWorkspaceIDFunction · 0.52
TestTasksMethod · 0.52
withNoTaskFunction · 0.52
withTaskFunction · 0.52