IsTerminal reports whether s requires external action (Start/Restart/Stop) to leave.
()
| 59 | // IsTerminal reports whether s requires external action (Start/Restart/Stop) |
| 60 | // to leave. |
| 61 | func (s State) IsTerminal() bool { return s == StateStopped || s == StateFailed } |
| 62 | |
| 63 | // IsUsable reports whether the toolset can serve requests in this state |
| 64 | // (Ready or Degraded). |
no outgoing calls