package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/docker/engine.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Args build an icmd.Cmd struct from the specified arguments.
Build executes the specified docker build command.
BuildCmd executes the specified docker build command and expect a success.
Daemon points to the specified daemon.
Docker executes the specified docker command.
DockerCmd executes the specified docker command and expect a success.
Format sets the specified format with --format flag.
InDir sets the folder in which the command should be executed.
Inspect executes the specified docker inspect command.
InspectCmd executes the specified docker inspect command and expect a success.
SetTestEnvironment sets a static test environment TODO: decouple this package from environment.
WaitExited will wait for the specified container to state exit, subject to a maximum time limit in seconds supplied by the caller.
WaitForInspectResult waits for the specified expression to be equals to the specified expected string in the given time.
WaitRestart will wait for the specified container to restart once.
WaitRun will wait for the specified container to be running, maximum 5 seconds.
WithEnvironmentVariables sets the specified environment variables for the command to run.
WithFlags sets the specified flags for the command to run.
WithStdin sets the standard input reader for the command.
WithStdout sets the standard output writer of the command.
WithTimeout sets the timeout for the command to run.

# Type aliases

CmdOperator defines functions that can modify a command.