spiegel_podman/pkg/bindings
Valentin Rothberg 7f97896c59 image removal: refactor part 2
Continue the refactoring of image removal.  I didn't manage to break all
the following changes into smaller and easier to digest commits due to
time constraints:

 * Return an error slice instead of a single error. Use multierror only
   in the client/frontend.  Reflect that in the types.

 * Use the batch image removal in the client while preserving the more
   rest-idiomatic single-image removal endpoint.

 * Add a new handler for the single-image removal endpoint to make it
   share the same code as the batch endpoint.

 * Expose bindings for the single and batch endpoints, so we can
   properly test them.

 * Add several convenience functions for error handling to
   pkg/errorhandling.

 * Set the correct error type in libpod to set the exit code to 2 when
   one or more containers are using an image.

 * Massage the bindings tests a bit and tackle compilation errors.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-04 16:01:45 +02:00
..
containers podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00
generate [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00
images image removal: refactor part 2 2020-05-04 16:01:45 +02:00
manifests apiv2 addition of manifests 2020-03-16 10:03:55 -05:00
network Add support for ssh:// and unix:// podman clients 2020-02-20 14:18:45 -07:00
play [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00
pods implement pod stats 2020-04-27 12:00:35 +02:00
system Merge pull request #5907 from sujil02/systemprune-v2 2020-04-28 18:11:39 +02:00
test image removal: refactor part 2 2020-05-04 16:01:45 +02:00
volumes podmanv2 volumes 2020-03-24 16:03:49 -05:00
bindings.go apiv2 add bindings for logs|events 2020-03-19 09:38:00 -05:00
connection.go podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
errors.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00
version.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00