containerd/images
Claudiu Belu e087b47e98 import: Raise error if the imported image is filtered out
During import, if an image does not match the host's platform,
it won't have any children labels set, which will result in the
Garbage Collector deleting its content later, resulting in an
unusable image. In this case, we should fail early.

This can still be bypassed by using ctr import --all-platforms.

Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-09-13 11:19:48 -07:00
..
archive ctr: Fixes Windows image import 2021-09-02 19:27:28 -07:00
converter converter: use OpenWriter helper function 2021-04-15 19:05:10 +09:00
annotations.go Use a single custom annotation for export 2019-05-21 17:21:26 -07:00
diffid.go image: use generic decompressor for calculating DiffID 2021-03-31 10:21:47 +09:00
handlers.go import: Raise error if the imported image is filtered out 2021-09-13 11:19:48 -07:00
image.go docs: Various typo found by codespell 2020-12-22 13:22:16 +08:00
importexport.go Refactor image importer 2018-09-14 14:21:26 -07:00
mediatypes.go add imgcrypt stream processors to the default config 2021-03-15 13:27:16 +09:00