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

Method Starting

codersdk/workspaceagents.go:51–58  ·  view source on GitHub ↗

Starting returns true if the agent is in the process of starting.

()

Source from the content-addressed store, hash-verified

49
50// Starting returns true if the agent is in the process of starting.
51func (l WorkspaceAgentLifecycle) Starting() bool {
52 switch l {
53 case WorkspaceAgentLifecycleCreated, WorkspaceAgentLifecycleStarting:
54 return true
55 default:
56 return false
57 }
58}
59
60// ShuttingDown returns true if the agent is in the process of shutting
61// down or has shut down.

Callers 8

taskWatchIsEndedFunction · 0.45
toStatusRowFunction · 0.45
createTaskInStatusFunction · 0.45
TestStart_StartingFunction · 0.45
handleConnectedMethod · 0.45
streamLogsMethod · 0.45
waitForReconnectionMethod · 0.45

Calls

no outgoing calls

Tested by 3

createTaskInStatusFunction · 0.36
TestStart_StartingFunction · 0.36