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

Method AgentNames

coderd/coderdtest/coderdtest.go:1299–1303  ·  view source on GitHub ↗

AgentNames instructs the waiter to wait for the given, named agents to be connected and will return even if other agents are not connected.

(names []string)

Source from the content-addressed store, hash-verified

1297// AgentNames instructs the waiter to wait for the given, named agents to be connected and will
1298// return even if other agents are not connected.
1299func (w WorkspaceAgentWaiter) AgentNames(names []string) WorkspaceAgentWaiter {
1300 //nolint: revive // returns modified struct
1301 w.agentNames = names
1302 return w
1303}
1304
1305// MatchResources instructs the waiter to wait until the workspace has resources that cause the
1306// provided matcher function to return true.

Callers 3

AwaitWorkspaceAgentsFunction · 0.80

Calls

no outgoing calls

Tested by 2