Documentation ¶
Index ¶
- Variables
- func DaemonAPIVersion(t *testing.T) string
- func RemoteDaemon() bool
- func Setup() error
- func SkipIfCgroupNamespacesNotSupported(t *testing.T)
- func SkipIfDaemonNotLinux(t *testing.T)
- func SkipIfNotExperimentalDaemon(t *testing.T)
- func SkipIfNotPlatform(t *testing.T, platform string)
- func SkipPluginTests() bool
Constants ¶
This section is empty.
Variables ¶
var DefaultPollSettings = poll.WithDelay(100 * time.Millisecond)
DefaultPollSettings used with gotestyourself/poll
Functions ¶
func DaemonAPIVersion ¶
DaemonAPIVersion returns the negotiated daemon API version.
func RemoteDaemon ¶
func RemoteDaemon() bool
RemoteDaemon returns true if running against a remote daemon
func SkipIfCgroupNamespacesNotSupported ¶
SkipIfCgroupNamespacesNotSupported skips the test if the running docker daemon doesn't support cgroup namespaces
func SkipIfDaemonNotLinux ¶
SkipIfDaemonNotLinux skips the test unless the running docker daemon is on Linux
func SkipIfNotExperimentalDaemon ¶
SkipIfNotExperimentalDaemon returns whether the test docker daemon is in experimental mode
func SkipIfNotPlatform ¶
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 ¶
func SkipPluginTests() bool
SkipPluginTests returns if plugin tests should be skipped
Types ¶
This section is empty.