Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { // Run executes a command inside a container. command is the path to the // binary (post-chroot) to exec, args is the arguments to pass to the // binary, environment is the set of environment variables to set for the // binary, chroot is the path on the host where the container's root // filesystem exists, and workingDir specifies the path inside the // container that should be the current working directory for the binary. // If workingDir is "", the default should be "/". Run(command string, args []string, environment types.Environment, chroot, workingDir string) error }
Engine is an interface which is accepted by lib.Run, and used to perform the actual execution of a binary inside the container.
Click to show internal directories.
Click to hide internal directories.