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 }
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 ¶
CloseStreams closes the stdio streams for the exec
func (*Config) InitializeStdio ¶
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.