containers / image

Work with containers' images
Apache License 2.0
845 stars 366 forks source link

Improve storage transport documentation, primarily about locking #2291

Closed mtrmac closed 4 months ago

mtrmac commented 5 months ago

In addition to some small docs updates, this introduces storageImageDestinationLockProtected to visibly delineate the fields that need locking. Yes, this is a painful and disruptive change which requires rebasing any other changes, but the time has come. Documenting the relationships of the various layer-related fields, without distracting from the locking rule, seems too hard otherwise.

(I’ll also do the work of rebasing #2288 on top.)

@giuseppe PTAL.