()
| 51 | ) |
| 52 | |
| 53 | func (s busState) String() string { |
| 54 | switch s { |
| 55 | case stateRunning: |
| 56 | return "running" |
| 57 | case stateOrphan: |
| 58 | return "orphan" |
| 59 | default: |
| 60 | return "not_running" |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | // appStatus bundles one AppID's derived status; State picks which fields are meaningful. |
| 65 | type appStatus struct { |
no outgoing calls