spiegel_podman/pkg/bindings/containers
Paul Holzinger 75bad52af5
remove unused ShouldRestart() code
Deadcode should that the ShouldRestart() API endpoint was never wired
into the router so the endpoint did not existed and the bindings called
a non existing endpoint which returnd 404 which the binding code
assumed means no restart.

As such remove all this code as it didn't do anything useful. And IMO
exposing a shouldrestart API always feeled wrong to me. The client
should not have to deal with this.

This commit does not change the behavior but it also does not make an
attempt to fix the broken restart handling with the rmeote client. Given
we do not seem to have any user reports about this it seems it is not
used.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-06-26 19:37:13 +02:00
..
archive.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
attach.go Fix QF1003: could use tagged switch" staticcheck warning 2025-03-31 12:27:55 -07:00
checkpoint.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
commit.go fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
containers.go remove unused ShouldRestart() code 2025-06-26 19:37:13 +02:00
create.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
diff.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
exec.go fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00
healthcheck.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
logs.go Apply De Morgan's law 2025-03-31 12:27:55 -07:00
mount.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
rename.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
term_unix.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
term_windows.go pkg/bindings/containers: rm unused break 2025-04-15 14:55:53 -07:00
types.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_attach_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_checkpoint_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_commit_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_copy_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_create_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_diff_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_execinspect_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_execremove_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_execstart_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_execstartandattach_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_exists_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_export_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_healthcheck_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_init_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_inspect_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_kill_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_list_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_log_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_mount_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_mountedcontainerpaths_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_pause_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_prune_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_remove_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_rename_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_resizeexectty_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_resizetty_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_restart_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_restore_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_shouldrestart_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_start_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_stats_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_stop_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_top_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_unmount_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_unpause_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_wait_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
update.go Make Go not panic on a partial container update 2025-04-08 13:38:48 +01:00