podman/pkg/bindings/test
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
..
common_test.go Fix NewSpecGenerator args in pkg/bindings/test 2020-04-27 11:29:43 -04:00
containers_test.go Fix NewSpecGenerator args in pkg/bindings/test 2020-04-27 11:29:43 -04:00
create_test.go Fix NewSpecGenerator args in pkg/bindings/test 2020-04-27 11:29:43 -04:00
exec_test.go Add bindings for Container Exec Create + Inspect 2020-03-26 13:33:33 -04:00
images_test.go image removal: refactor part 2 2020-05-04 16:01:45 +02:00
info_test.go Fix NewSpecGenerator args in pkg/bindings/test 2020-04-27 11:29:43 -04:00
manifests_test.go image removal: refactor part 2 2020-05-04 16:01:45 +02:00
pods_test.go Update pod inspect report to hold current pod status. 2020-04-20 07:05:25 -04:00
system_test.go Adding system prune for podman v2 2020-04-24 15:44:07 -04:00
test_suite_test.go apiv2 binding test fixes 2020-01-29 12:41:39 -06:00
volumes_test.go podmanv2 add core container commands 2020-03-22 13:24:45 -05:00