Expand description
Stopping the containers no QCode owns any more.
This is the whole work of the background service, and the one a closing QCode does itself when the service is not installed. It runs once nothing can be using the containers: the caller makes sure of that before calling it. What it does is spelled out as engine commands and run through a runner it is handed, so every decision — what is listed, what is stopped, what stays listed — is checked in tests with no engine anywhere near them.
Structs§
- Stopping
- What stopping did, container by container.
Enums§
- Reaped
- What came of looking at the list of QCode’s containers.
Functions§
- reap
- Reads the list at
path, stops whatstop_orphanssays to, and writes back what stays listed. - stop_
commands - The commands that stop the containers of
registeredthatlistingshows as up inengine, one entry per container with its name and what is run for it, in that order. - stop_
orphans - Stops every container of
registrythat is running, whenon_closesays to, and answers what came of it.