package environment
import "github.com/docker/cli/internal/test/environment"
Index ¶
- Variables
- func RemoteDaemon() bool
- func Setup() error
- func SkipIfCgroupNamespacesNotSupported(t *testing.T)
- func SkipIfDaemonNotLinux(t *testing.T)
- func SkipIfNotExperimentalDaemon(t *testing.T)
- func SkipPluginTests() bool
Variables ¶
var DefaultPollSettings = poll.WithDelay(100 * time.Millisecond)
DefaultPollSettings used with gotestyourself/poll
Functions ¶
func RemoteDaemon ¶
func RemoteDaemon() bool
RemoteDaemon returns true if running against a remote daemon
func Setup ¶
func Setup() error
Setup a new environment
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 SkipPluginTests ¶
func SkipPluginTests() bool
SkipPluginTests returns if plugin tests should be skipped
Source Files ¶
- Version
- v23.0.0+incompatible
- Published
- Jan 31, 2023
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 6 seconds ago –
Tools for package owners.