Skip to main content

Module read_exec

Module read_exec 

Source
Expand description

Reading from inside a container agent’s container: one command run there, as the user the agent’s turns run as, with its output collected. Never starts a container or a runtime: one that is not running has no answer.

Structs§

ReadOutput
What a command run inside a container printed and how it ended.

Constants§

NOT_RUNNING
The answer for a container that is not running.
TIMED_OUT_EXIT
The exit code of a command that was stopped for running past its limit.

Functions§

install
Name the container runtime that reads are made through. Called at start-up and by what leads to a read; the first call wins.
read
Run argv in container as its agent (see ContainerManager::exec_read). Err with the reason when the container is not running, there is no runtime, or the command could not be run or read.