bind a container apply to the closure realised for the agent, and record the deployed pins on drift
hive-priv applies only the path its last RealiseClosure returned for that agent. On drift the swap and create record the pins of the commit the closure was built from.
This commit is contained in:
parent
4590b04cac
commit
6b800600e2
1 changed files with 338 additions and 71 deletions
|
|
@ -263,8 +263,8 @@ pub enum PrivRequest {
|
|||
KillContainer { name: String },
|
||||
|
||||
/// Point `name`'s container profile at `toplevel`, then reload the unit if
|
||||
/// it runs. hive-priv never builds: `toplevel` is a closure already in the
|
||||
/// store (see `RealiseClosure`).
|
||||
/// it runs. hive-priv never builds: `toplevel` must be the path the last
|
||||
/// successful `RealiseClosure` for `name` returned, and it refuses any other.
|
||||
/// When `stream` is `true`, hive-priv sends `PrivEvent::Line` messages
|
||||
/// as the process runs, then a terminal `PrivEvent::Done`.
|
||||
UpdateContainer {
|
||||
|
|
|
|||
Loading…
Reference in a new issue