moby/image
Sebastiaan van Stijn a3c97beee0
image: implement CheckOS, deprecate pkg/system IsOSSupported
Implement a function that returns an error to replace existing uses of
the IsOSSupported utility, where callers had to produce the error after
checking.

The IsOSSupported function was used in combination with images, so implementing
a utility in "image" to prevent having to import pkg/system (which contains many
unrelated functions)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-07 22:14:44 +02:00
..
cache Use OCI "History" type instead of inventing our own copy 2023-06-12 13:47:17 -07:00
spec image/spec: Add Go structs 2023-08-31 12:29:45 +02:00
tarexport image: implement CheckOS, deprecate pkg/system IsOSSupported 2023-09-07 22:14:44 +02:00
v1 Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
fs.go image: format code with gofumpt 2023-08-24 17:57:22 +02:00
fs_test.go image: format code with gofumpt 2023-08-24 17:57:22 +02:00
image.go migrate to new github.com/distribution/reference module 2023-09-05 12:09:26 +02:00
image_os.go image: implement CheckOS, deprecate pkg/system IsOSSupported 2023-09-07 22:14:44 +02:00
image_test.go Use OCI "History" type instead of inventing our own copy 2023-06-12 13:47:17 -07:00
rootfs.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
store.go image: implement CheckOS, deprecate pkg/system IsOSSupported 2023-09-07 22:14:44 +02:00
store_test.go image/store: Use errdefs for errors 2022-12-08 17:17:07 +01:00