spiegel_podman/pkg/api/server
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
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Refactor service idle support 2020-04-13 08:11:36 -07:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_containers.go swagger-check: new CI tool to cross-check swagger 2020-04-14 11:27:44 -06:00
register_distribution.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_events.go apiv2 add bindings for logs|events 2020-03-19 09:38:00 -05:00
register_exec.go Implement APIv2 Exec Create and Inspect Endpoints 2020-03-23 16:20:42 -04:00
register_healthcheck.go add apiv2 healthcheck code 2020-03-13 07:43:12 -05:00
register_images.go image removal: refactor part 2 2020-05-04 16:01:45 +02:00
register_info.go refactor info 2020-04-06 12:45:42 -05:00
register_manifest.go swagger: more consistency fixes 2020-03-18 13:33:07 -06:00
register_monitor.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_ping.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_plugins.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_pods.go implement pod stats 2020-04-27 12:00:35 +02:00
register_swagger.go serve swagger when present 2020-03-18 14:34:14 -05:00
register_swarm.go Register handlers without version to align with docker API 2020-03-05 22:28:22 +00:00
register_system.go Adding system prune for podman v2 2020-04-24 15:44:07 -04:00
register_version.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_volumes.go podmanv2 volumes 2020-03-24 16:03:49 -05:00
server.go Instrumentation to answer #5765 2020-04-22 11:07:28 -07:00
swagger.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00