podman/pkg/api/handlers/libpod
Daniel J Walsh 22474095ab
Fix handling of remove of bogus volumes, networks and Pods
In podman containers rm and podman images rm, the commands
exit with error code 1 if the object does not exists.

This PR implements similar functionality to volumes, networks, and Pods.

Similarly if volumes or Networks are in use by other containers, and return
exit code 2.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-29 15:52:43 -04:00
..
containers.go Unconditionally retrieve pod names via API 2020-08-10 10:15:51 -04:00
containers_create.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_stats.go stats: break out CLI options 2020-09-24 14:28:10 +02:00
copy.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate.go APIv2 add generate systemd endpoint 2020-09-02 22:06:19 +02:00
healthcheck.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
images.go Refactor remote pull to provide progress 2020-09-16 10:44:26 -07:00
images_pull.go Restore 'id' stanza in pull results 2020-09-21 08:51:52 -07:00
info.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
manifests.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
networks.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
play.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pods.go fix APIv2 pods top of non-exist pod gets two response value 2020-09-09 18:50:17 +08:00
swagger.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volumes.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00