Skip to main content

read

Function read 

Source
pub async fn read(
    container: &str,
    argv: &[String],
    env: &[(String, String)],
    limit: Duration,
    max_stdout: usize,
) -> Result<ReadOutput, String>
Expand description

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.