automation-tests/common/libimage/manifests
Nalin Dahyabhai 054c4db996 Add libimage/manifests.LockerForImage()
Add a LockerForImage() function that allocates and returns a file-based
lock for an image record that we're using to hold a manifest list.
Without some locking mechanism, two processes that wish to update a list
at roughly the same time can't do so without risk of accidentally
discarding one or the other set of changes.

Multiple processes that merely want to read the list can already safely
do so; only cases with multiple writers that need to bother with using
this function.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2021-07-23 13:12:17 -04:00
..
copy.go new libimage package 2021-04-21 11:17:47 +02:00
manifests.go Add libimage/manifests.LockerForImage() 2021-07-23 13:12:17 -04:00
manifests_test.go Add libimage/manifests.LockerForImage() 2021-07-23 13:12:17 -04:00