Expand description
The stdio of the containers and execs, pipes or a terminal, which the server reads into the log drivers, the attach clients and the output of the execs.
Modulesยง
- drain ๐
- Bounding the output which gets forwarded after the process exited.
- read_
loop ๐ - The read loops of the output and the stdin of the process.
- stdio ๐
- The stdio channels and the collector of the output of an exec.
Structsยง
- ContainerIO ๐
- The stdio of a container or exec, a terminal or pipes, and the log drivers and attach endpoints its output goes to.
Enumsยง
Constantsยง
- READ_
BUFFER_ ๐SIZE - The most a read of a container I/O stream takes at once. The read loops
read into the scratch buffer of their thread and copy each chunk out of
it, see
with_scratch, so an idle container holds no read buffer. 8 KiB halves the reads and log writes of 4 KiB for bulk output, the log files start the buffer of each chunk with as much, seeLogFile::BUF_CAPACITY. - STDERR_
TAIL_ ๐SIZE - How much of the end of a stderr gets kept for the error of a runtime which failed, with pipes of its own or on the stderr of the process. The last lines hold the reason, a runtime with debug logging writes far more.
- STDIO_
CHANNEL_ ๐SIZE - How many read chunks the stdio and terminal channels buffer per pipe.
Type Aliasesยง
- Shared
ContainerIO ๐ - A container IO shared by its users, like the watcher, the attach endpoints and the consumer of the output of an exec.