podman/pkg/api/handlers/libpod
Valentin Rothberg b028f6aa75 add new libpod/images/$name/resolve endpoint
Podman Desktop [1] is looking into improving the user experience which
requires to know the source of an image.  Consider the user triggers an
image pull and Podman Desktop wants to figure out whether the image name
refers to a Red Hat registry, for instance, to prompt installing the RH
auth extension.

Since the input values of images may be a short name [2], Podman Desktop
has no means to figure out the (potential) source of the image.  Hence,
add a new `/resolve` endpoint to allow external callers to figure out
the (potential) fully-qualified image name of a given value.

With the new endpoint, Podman Desktop can ask Podman directly to resolve
the image name and then make an informed decision whether to prompt the
user to perform certain tasks or not.  This for sure can also be used
for any other registry (e.g., Quay, Docker Hub).

[1] https://github.com/containers/podman-desktop/issues/5771
[2] https://www.redhat.com/sysadmin/container-image-short-names

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2024-01-31 16:20:16 +01:00
..
containers.go Add missing return after errors 2023-02-06 20:32:06 +01:00
containers_create.go Convert SpecGen values to be nullable where possible 2024-01-30 10:42:24 -05:00
containers_stats.go Fix: use --all in podman stats to get all containers stats 2023-07-26 09:41:14 +03:00
generate.go Add `--podman-only` flag to `podman generate kube` 2023-07-14 09:35:59 -04:00
healthcheck.go Add support for startup healthchecks 2022-11-28 13:30:29 -05:00
images.go add new libpod/images/$name/resolve endpoint 2024-01-31 16:20:16 +01:00
images_pull.go api: add `compatMode` paramenter to libpod's pull endpoint 2023-10-11 10:58:05 +02:00
images_push.go Fix push endpoint stream 2023-12-13 13:01:21 -05:00
info.go bump go module to version 4 2022-01-18 12:47:07 +01:00
kube.go remote: fix podman-remote kube play --publish-all 2023-12-29 12:41:54 +09:00
manifests.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
networks.go Add missing return after errors 2023-02-06 20:32:06 +01:00
play.go Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
pods.go Merge pull request #19066 from Luap99/ps 2023-07-14 13:17:59 +02:00
secrets.go Add --replace flag to podman secret create 2023-07-09 07:26:09 -04:00
swagger_spec.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
system.go Add podman system prune --external 2022-12-05 18:09:21 +01:00
volumes.go Add `since` as valid filter option for `volume` subcommands 2023-07-18 14:52:42 -04:00