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

Method Exec

env.go:177–177  ·  view source on GitHub ↗

Exec runs the provided command inside the same process context (e.g. in the running docker container). It returns error response from attempting to run the command. See ExecOptions for more options like returning output or attaching to e2e logging.

(Command, ...ExecOption)

Source from the content-addressed store, hash-verified

175 // It returns error response from attempting to run the command.
176 // See ExecOptions for more options like returning output or attaching to e2e logging.
177 Exec(Command, ...ExecOption) error
178
179 // Endpoint returns external runnable endpoint (host:port) for given port name.
180 // External means that it will be accessible only from host, but not from docker containers.

Callers 4

ReadyMethod · 0.65
TestDockerEnvironmentFunction · 0.65
TestExampleFunction · 0.65
SetConfigEncodedMethod · 0.65

Implementers 2

errorerenv_docker.go
dockerRunnableenv_docker.go

Calls

no outgoing calls

Tested by 2

TestDockerEnvironmentFunction · 0.52
TestExampleFunction · 0.52