DockerExecutor executes the test inside a docker container
| 21 | |
| 22 | // DockerExecutor executes the test inside a docker container |
| 23 | type 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 |
| 32 | func (e DockerExecutor) Execute(test TestCase) TestResult { |
nothing calls this directly
no outgoing calls
no test coverage detected