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

Function workspaceAgentContainers

site/src/api/queries/workspaces.ts:562–568  ·  view source on GitHub ↗
(agent: WorkspaceAgent)

Source from the content-addressed store, hash-verified

560];
561
562export const workspaceAgentContainers = (agent: WorkspaceAgent) => {
563 return {
564 queryKey: workspaceAgentContainersKey(agent.id),
565 queryFn: () => API.getAgentContainers(agent.id),
566 enabled: agent.status === "connected",
567 } satisfies UseQueryOptions<WorkspaceAgentListContainersResponse>;
568};
569
570export const deleteWorkspaceAgentDevcontainer = (
571 parentAgent: WorkspaceAgent,

Callers 1

useAgentContainersFunction · 0.90

Calls 1

Tested by

no test coverage detected