Skip to main content

Module runtime_args

Module runtime_args 

Source
Expand description

The command line of the OCI runtime for a create, a restore or an exec.

Structsยง

ExecArgs ๐Ÿ”’
The arguments of an exec, which end with the command of the user.
GenerateRuntimeArgs ๐Ÿ”’
What the command line of the OCI runtime gets generated from.
LoggedArgs ๐Ÿ”’
The arguments of a runtime call as they get logged. Those of an exec end with the command of the user, which may carry secrets, so only the number of its arguments gets logged.

Functionsยง

check_id ๐Ÿ”’
Check a container ID, which the runtimes take as a positional argument. One which starts with a dash would be taken for an option. The spans of the requests show the ID in every log line about the container, one with control characters, like a line break or an escape sequence, could forge lines there. The requests check it before they set anything up.