spiegel_podman/pkg/bindings
Matthew Heon eff0c29098 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-20 12:16:53 -04:00
..
containers Unconditionally retrieve pod names via API 2020-08-20 12:16:53 -04:00
generate move go module to v2 2020-07-06 15:52:17 +02:00
images move go module to v2 2020-07-06 15:52:17 +02:00
manifests move go module to v2 2020-07-06 15:52:17 +02:00
network move go module to v2 2020-07-06 15:52:17 +02:00
play move go module to v2 2020-07-06 15:52:17 +02:00
pods move go module to v2 2020-07-06 15:52:17 +02:00
system move go module to v2 2020-07-06 15:52:17 +02:00
test Unconditionally retrieve pod names via API 2020-08-20 12:16:53 -04:00
volumes move go module to v2 2020-07-06 15:52:17 +02:00
bindings.go V2 podman system connection 2020-06-24 14:41:09 -04:00
connection.go move go module to v2 2020-07-06 15:52:17 +02:00
errors.go move go module to v2 2020-07-06 15:52:17 +02:00