MCPcopy Create free account
hub / github.com/efficientgo/e2e / NewDockerEnvironment

Function NewDockerEnvironment

env_docker.go:83–85  ·  view source on GitHub ↗

NewDockerEnvironment creates new, isolated docker environment. The `name` option is now deprecated and is equivalent to `e2e.WithName()`. Feel free to leave it empty. Deprecated: Use New instead.

(name string, opts ...EnvironmentOption)

Source from the content-addressed store, hash-verified

81// The `name` option is now deprecated and is equivalent to `e2e.WithName()`. Feel free to leave it empty.
82// Deprecated: Use New instead.
83func NewDockerEnvironment(name string, opts ...EnvironmentOption) (_ *DockerEnvironment, err error) {
84 return New(append(opts, WithName(name))...)
85}
86
87// New creates new, isolated docker environment.
88func New(opts ...EnvironmentOption) (_ *DockerEnvironment, err error) {

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
WithNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…