WithMaxConcurrency defines upper limit for concurrent operations against engine API
(maxConcurrency int)
| 154 | |
| 155 | // WithMaxConcurrency defines upper limit for concurrent operations against engine API |
| 156 | func WithMaxConcurrency(maxConcurrency int) Option { |
| 157 | return func(s *composeService) error { |
| 158 | s.maxConcurrency = maxConcurrency |
| 159 | return nil |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | // WithDryRun configure Compose to run without actually applying changes |
| 164 | func WithDryRun(s *composeService) error { |