Starting returns true if the agent is in the process of starting.
()
| 49 | |
| 50 | // Starting returns true if the agent is in the process of starting. |
| 51 | func (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. |
no outgoing calls