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 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 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 ¶ added in v1.12.5
CloseStreams closes the stdio streams for the exec
func (*Config) InitializeStdio ¶ added in v1.12.4
func (c *Config) InitializeStdio(iop *libcontainerd.IOPipe) (containerd.IO, error)
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.
func (*Store) SetPidUnlocked ¶
SetPidUnlocked adds an association between a Pid and a config, it does not synchronized with other operations.
Click to show internal directories.
Click to hide internal directories.