spiegel_podman/pkg/bindings/containers
Daniel J Walsh e7df73efad
Fix handling of container remove
I found several problems with container remove

podman-remote rm --all
Was not handled

podman-remote rm --ignore
Was not handled

Return better errors when attempting to remove an --external container.
Currently we return the container does not exists, as opposed to container
is an external container that is being used.

This patch also consolidates the tunnel code to use the same code for
removing the container, as the local API, removing duplication of code
and potential problems.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-20 07:37:13 -05:00
..
archive.go remote copy 2020-12-18 12:08:49 +01:00
attach.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
checkpoint.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
commit.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
containers.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
create.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
diff.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
exec.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
healthcheck.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
logs.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
mount.go podman v3 container bindings 2020-12-21 09:21:46 -06:00
rename.go Container rename bindings 2021-01-15 12:57:22 +01:00
types.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
types_attach_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_checkpoint_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_commit_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_create_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_diff_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_execinspect_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_execstart_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_execstartandattach_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_exists_options.go Add binding options for container|pod exists 2021-01-18 13:48:51 -06:00
types_export_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_healthcheck_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_init_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_inspect_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_kill_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_list_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_log_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_mount_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_mountedcontainerpaths_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_pause_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_prune_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_remove_options.go Fix handling of container remove 2021-01-20 07:37:13 -05:00
types_rename_options.go Container rename bindings 2021-01-15 12:57:22 +01:00
types_resizeexectty_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_resizetty_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_restart_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_restore_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_shouldrestart_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_start_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_stats_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_stop_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_top_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_unmount_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_unpause_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00
types_wait_options.go Makefile: add target to generate bindings 2021-01-14 11:54:57 -05:00