Commit marks the process of storing the image as successful and asks for the image to be persisted. unparsedToplevel contains data about the top-level manifest of the source (which may be a single-arch image or a manifest list if PutManifest was only called for the single-arch image with instanceDig
(ctx context.Context, unparsedToplevel UnparsedImage)
| 359 | // - Uploaded data MAY be visible to others before Commit() is called |
| 360 | // - Uploaded data MAY be removed or MAY remain around if Close() is called without Commit() (i.e. rollback is allowed but not guaranteed) |
| 361 | Commit(ctx context.Context, unparsedToplevel UnparsedImage) error |
| 362 | } |
| 363 | |
| 364 | // ManifestTypeRejectedError is returned by ImageDestination.PutManifest if the destination is in principle available, |
no outgoing calls