DefaultPollSettings used with gotestyourself/poll
var DefaultPollSettings = poll.WithDelay(100 * time.Millisecond)
func DaemonAPIVersion(t *testing.T) string
DaemonAPIVersion returns the negotiated daemon API version.
func RemoteDaemon() bool
RemoteDaemon returns true if running against a remote daemon
func Setup() error
Setup a new environment
func SkipIfCgroupNamespacesNotSupported(t *testing.T)
SkipIfCgroupNamespacesNotSupported skips the test if the running docker daemon doesn't support cgroup namespaces
func SkipIfDaemonNotLinux(t *testing.T)
SkipIfDaemonNotLinux skips the test unless the running docker daemon is on Linux
func SkipIfNotExperimentalDaemon(t *testing.T)
SkipIfNotExperimentalDaemon returns whether the test docker daemon is in experimental mode
func SkipIfNotPlatform(t *testing.T, platform string)
SkipIfNotPlatform skips the test if the running docker daemon is not running on a specific platform. platform should be in format os/arch (for example linux/arm64).
func SkipPluginTests() bool
SkipPluginTests returns if plugin tests should be skipped