Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { sync.Mutex Started chan struct{} StreamConfig *stream.Config ID string Running bool ExitCode *int OpenStdin bool OpenStderr bool OpenStdout bool CanRemove bool ContainerID string DetachKeys []byte Entrypoint string Args []string Tty bool Privileged bool User string WorkingDir string Env []string Pid int ConsoleSize *[2]uint }
Config holds the configurations for execs. The Daemon keeps track of both running and finished execs so that they can be examined both during and after completion.
func (*Config) CloseStreams ¶ added in v1.12.5
CloseStreams closes the stdio streams for the exec
func (*Config) InitializeStdio ¶ added in v1.12.4
InitializeStdio is called by libcontainerd to connect the stdio.
func (*Config) SetExitCode ¶
SetExitCode sets the exec config's exit code
type Store ¶
Store keeps track of the exec configurations.
Click to show internal directories.
Click to hide internal directories.