WithNoParallelism turns off parallelism for a build. The default is to use thread.Parallelism(). Used for testing.
()
| 304 | // |
| 305 | // Used for testing. |
| 306 | func WithNoParallelism() BuildImageOption { |
| 307 | return func(buildImageOptions *buildImageOptions) { |
| 308 | buildImageOptions.noParallelism = true |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | // CloneImage returns a deep copy of the given image. |
| 313 | func CloneImage(image Image) (Image, error) { |
no outgoing calls
searching dependent graphs…