containerd/core/images
Paweł Gronowski df4d905a6f core/images: Ignore attestations when traversing children
Before this patch, calling `image.Children` on an image built with
BuildKit would produce unnecessary `encountered unknown type
application/vnd.in-toto+json; children may not be fetched` debug logs,
because the media type is neither a known layer or config type.

Make the `image.Children` aware of the attestation layers and don't
attempt to traverse them.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-03-13 18:18:21 +00:00
..
archive Avoid potential reallocs by pre-sizing some slices 2024-07-19 13:05:49 -07:00
converter Switch to new errdefs package 2024-01-25 22:18:45 -08:00
imagetest Move images to core/images 2024-01-17 09:51:26 -08:00
usage Switch to new errdefs package 2024-01-25 22:18:45 -08:00
annotations.go Move images to core/images 2024-01-17 09:51:26 -08:00
diffid.go Move labels to pkg/labels 2024-01-17 09:55:30 -08:00
handlers.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
image_test.go Move images to core/images 2024-01-17 09:51:26 -08:00
image.go core/images: Ignore attestations when traversing children 2025-03-13 18:18:21 +00:00
importexport.go Move images to core/images 2024-01-17 09:51:26 -08:00
labels.go Move images to core/images 2024-01-17 09:51:26 -08:00
mediatypes.go core/images: Ignore attestations when traversing children 2025-03-13 18:18:21 +00:00