mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-10 10:55:46 +00:00
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> |
||
|---|---|---|
| .. | ||
| docs.go | ||
| handler_api.go | ||
| listener_api.go | ||
| register_auth.go | ||
| register_containers.go | ||
| register_distribution.go | ||
| register_events.go | ||
| register_exec.go | ||
| register_healthcheck.go | ||
| register_images.go | ||
| register_info.go | ||
| register_manifest.go | ||
| register_monitor.go | ||
| register_ping.go | ||
| register_plugins.go | ||
| register_pods.go | ||
| register_swagger.go | ||
| register_swarm.go | ||
| register_system.go | ||
| register_version.go | ||
| register_volumes.go | ||
| server.go | ||
| swagger.go | ||