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

Struct DockerEnvironment

env_docker.go:37–52  ·  view source on GitHub ↗

DockerEnvironment defines single node docker engine that allows to run Services.

Source from the content-addressed store, hash-verified

35
36// DockerEnvironment defines single node docker engine that allows to run Services.
37type DockerEnvironment struct {
38 dir string
39 logger Logger
40 networkName string
41
42 hostAddr string
43 dockerVolumes []string
44
45 registered map[string]struct{}
46 listeners []EnvironmentListener
47 started []Runnable
48
49 verbose bool
50 closers []func()
51 closed bool
52}
53
54func generateName() (string, error) {
55 pc, _, _, ok := runtime.Caller(3)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected