{"modulePath":"github.com/ReadyStackFree/cli","version":"v29.9.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package environment\n\n## Variables\n\n```go\nvar DefaultPollSettings = poll.WithDelay(100 * time.Millisecond)\n```\nDefaultPollSettings used with gotestyourself/poll\n\n## Functions\n\n```go\nfunc DaemonAPIVersion(t *testing.T) string\n```\nDaemonAPIVersion returns the negotiated daemon API version.\n\n```go\nfunc RemoteDaemon() bool\n```\nRemoteDaemon returns true if running against a remote daemon\n\n```go\nfunc Setup() error\n```\nSetup a new environment\n\n```go\nfunc SkipIfCgroupNamespacesNotSupported(t *testing.T)\n```\nSkipIfCgroupNamespacesNotSupported skips the test if the running docker daemon doesn't support cgroup namespaces\n\n```go\nfunc SkipIfDaemonNotLinux(t *testing.T)\n```\nSkipIfDaemonNotLinux skips the test unless the running docker daemon is on Linux\n\n```go\nfunc SkipIfNotExperimentalDaemon(t *testing.T)\n```\nSkipIfNotExperimentalDaemon returns whether the test docker daemon is in experimental mode\n\n```go\nfunc SkipIfNotPlatform(t *testing.T, platform string)\n```\nSkipIfNotPlatform 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).\n\n```go\nfunc SkipPluginTests() bool\n```\nSkipPluginTests returns if plugin tests should be skipped\n\n","path":"github.com/ReadyStackFree/cli/internal/test/environment","name":"environment","synopsis":"","isRedistributable":true}
