Method
executor
(files tfpath.Layout, stage database.ProvisionerJobTimingStage)
Source from the content-addressed store, hash-verified
| 161 | } |
| 162 | |
| 163 | func (s *server) executor(files tfpath.Layout, stage database.ProvisionerJobTimingStage) *executor { |
| 164 | return &executor{ |
| 165 | server: s, |
| 166 | mut: s.execMut, |
| 167 | binaryPath: s.binaryPath, |
| 168 | cachePath: s.cachePath, |
| 169 | cliConfigPath: s.cliConfigPath, |
| 170 | files: files, |
| 171 | logger: s.logger.Named("executor"), |
| 172 | timings: newTimingAggregator(stage), |
| 173 | } |
| 174 | } |
Tested by
no test coverage detected