| 347 | } |
| 348 | |
| 349 | type pushWriter struct { |
| 350 | base *dockerBase |
| 351 | ref string |
| 352 | |
| 353 | pipe *io.PipeWriter |
| 354 | |
| 355 | done chan struct{} |
| 356 | closeOnce sync.Once |
| 357 | |
| 358 | pipeC chan *io.PipeWriter |
| 359 | respC chan *http.Response |
| 360 | errC chan error |
| 361 | |
| 362 | isManifest bool |
| 363 | |
| 364 | expected digest.Digest |
| 365 | tracker StatusTracker |
| 366 | } |
| 367 | |
| 368 | func newPushWriter(db *dockerBase, ref string, expected digest.Digest, tracker StatusTracker, isManifest bool) *pushWriter { |
| 369 | // Initialize and create response |
nothing calls this directly
no outgoing calls
no test coverage detected