Commit 0e27811
committed
feat(control): add RestartZone RPC
Add a RestartZone RPC to ControlService, with RestartZoneRequest carrying
the zone id and an empty RestartZoneReply, mirroring DestroyZone.
Restart lets a client tear a zone's runtime down and re-create it from its
stored spec, re-launching its workloads, instead of a manual destroy and
recreate. The daemon decides which states are restartable and refuses
control-plane-owned zones, so the request needs no fields beyond the zone
id.
Signed-off-by: Steven Noonan <steven@edera.dev>1 parent f98e8a7 commit 0e27811
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
117 | 131 | | |
118 | 132 | | |
119 | 133 | | |
| |||
0 commit comments