Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // DefaultClientBinary is the name of the docker binary DefaultClientBinary = os.Getenv("TEST_CLIENT_BINARY") )
Functions ¶
This section is empty.
Types ¶
type Execution ¶
type Execution struct { environment.Execution // contains filtered or unexported fields }
Execution contains information about the current test execution and daemon under test
func (*Execution) DaemonPlatform ¶
DaemonPlatform is held globally so that tests can make intelligent decisions on how to configure themselves according to the platform of the daemon. This is initialized in docker_utils by sending a version call to the daemon and examining the response header. Deprecated: use Execution.OSType
func (*Execution) DockerBasePath ¶
DockerBasePath is the base path of the docker folder (by default it is -/var/run/docker) TODO: remove Deprecated: use Execution.DaemonInfo.DockerRootDir
func (*Execution) DockerBinary ¶
DockerBinary returns the docker binary for this testing environment
func (*Execution) ExperimentalDaemon ¶
ExperimentalDaemon tell whether the main daemon has experimental features enabled or not Deprecated: use DaemonInfo.ExperimentalBuild
func (*Execution) MinimalBaseImage ¶
MinimalBaseImage is the image used for minimal builds (it depends on the platform) Deprecated: use Execution.PlatformDefaults.BaseImage