Add os, arch, and ismanifest to libpod image list

when listing images through the restful service, consumers want to know
if the image they are listing is a manifest or not because the libpod
endpoint returns both images and manifest lists.

in addition, we now add `arch` and `os` as fields in the libpod endpoint
for image listing as well.

Fixes: #22184
Fixes: #22185

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2024-04-03 11:06:40 -05:00
parent 0b0335259e
commit 08a49389c8
6 changed files with 67 additions and 5 deletions

View File

@ -52,7 +52,7 @@ my $Format_Exceptions = <<'END_EXCEPTIONS';
# Deep internal structs; pretty sure these are permanent exceptions
events .Details
history .ImageHistoryLayer
images .ImageSummary
images .Arch .ImageSummary .Os .IsManifestList
network-ls .Network
# FIXME: this one, maybe? But someone needs to write the text