moby/daemon/images
Sebastiaan van Stijn d131147a5c
use errors.Is() to handle image store errors
The image store's used are an interface, so there's no guarantee
that implementations don't wrap the errors. Make sure to catch
such cases by using errors.Is.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-02 09:41:50 +01:00
..
cache.go imageservice: Add context to various methods 2022-11-03 12:22:40 +01:00
image.go daemon/images: imageKey() accept string 2023-01-01 13:05:55 +01:00
image_builder.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
image_commit.go daemon, builder: rename variables that collided with imports 2022-08-08 13:16:10 +02:00
image_delete.go daemon/images: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
image_events.go ImageService.GetImage(): pass context 2022-09-07 16:53:45 +02:00
image_exporter.go add image load/save support 2022-08-04 09:41:19 +02:00
image_history.go ImageService.ImageHistory(): pass context 2022-12-09 19:00:49 +01:00
image_import.go imageservice: Add context to various methods 2022-11-03 12:22:40 +01:00
image_list.go use errors.Is() to handle image store errors 2023-01-02 09:41:50 +01:00
image_prune.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
image_pull.go ImageService.GetImage(): pass context 2022-09-07 16:53:45 +02:00
image_push.go use ad-hoc libtrust key 2022-11-28 20:29:19 +01:00
image_search.go daemon/images: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
image_search_test.go daemon/images: use types/registry.AuthConfig 2022-07-29 23:05:17 +02:00
image_squash.go daemon/images: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
image_tag.go ImageService.GetImage(): pass context 2022-09-07 16:53:45 +02:00
image_unix.go Extract ImageService interface from the image service 2022-07-08 13:50:53 +02:00
image_windows.go remove layerstore indexing by OS (used for LCOW) 2021-06-10 17:49:11 +02:00
images_test.go Move cpu variant checks into platform matcher 2021-02-18 16:58:48 +00:00
locals.go filters: lowercase error 2022-03-18 09:44:53 +01:00
service.go Merge pull request #44329 from thaJeztah/remove_trustkey_id_migration 2022-12-01 12:49:54 -08:00
store.go daemon/images: imageKey() accept string 2023-01-01 13:05:55 +01:00
store_test.go daemon/images: imageKey() accept string 2023-01-01 13:05:55 +01:00