MCPcopy Index your code
hub / github.com/commander-cli/commander / DockerExecutor

Struct DockerExecutor

pkg/runtime/docker_executor.go:23–29  ·  view source on GitHub ↗

DockerExecutor executes the test inside a docker container

Source from the content-addressed store, hash-verified

21
22// DockerExecutor executes the test inside a docker container
23type DockerExecutor struct {
24 Image string // Image which is started to execute the test
25 Privileged bool // Enable privileged mode for the container
26 ExecUser string // ExecUser defines which user executes the docker container
27 RegistryUser string
28 RegistryPass string
29}
30
31// Execute executes the script inside a docker container
32func (e DockerExecutor) Execute(test TestCase) TestResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected