podman/pkg/api/server
Matthew Heon 569854d634 Unconditionally retrieve pod names via API
The ListContainers API previously had a Pod parameter, which
determined if pod name was returned (but, notably, not Pod ID,
which was returned unconditionally). This was fairly confusing,
so we decided to deprecate/remove the parameter and return it
unconditionally.

To do this without serious performance implications, we need to
avoid expensive JSON decodes of pod configuration in the DB. The
way our Bolt tables are structured, retrieving name given ID is
actually quite cheap, but we did not expose this via the Libpod
API. Add a new GetName API to do this.

Fixes #7214

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-08-10 10:15:51 -04:00
..
idletracker Fix: Correct connection counters for hijacked connections 2020-07-09 22:17:27 +03:00
docs.go Remove 'experimental' from API doc 2020-07-25 13:57:40 -04:00
handler_api.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_archive.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_auth.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_containers.go Unconditionally retrieve pod names via API 2020-08-10 10:15:51 -04:00
register_distribution.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_events.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_exec.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_generate.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_healthcheck.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_images.go Make `search --no-trunc` work for podman remote 2020-07-31 15:39:57 +02:00
register_info.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_manifest.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_monitor.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_networks.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_ping.go Add versioned _ping endpoint 2020-07-31 10:19:23 -07:00
register_play.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_plugins.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_pods.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_swarm.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_system.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_version.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
register_volumes.go [CI:DOCS] apiv2 fix volumes not inculded field 2020-07-29 12:08:51 -04:00
server.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00