spiegel_podman/pkg/bindings/containers
Paul Holzinger 42ea0bf9c7
libpod: use io.Writer vs io.WriteCloser for attach streams
We never ever close the stream so we do not need the Close() function in
th ebackend, the caller should close when required which may no be the
case, i.e. when os.Stdout/err is used.
This should not be a breaking change as the io.Writer is a subset of
io.WriteCloser, therfore all code should still compile while allowing to
pass in Writers without Close().

This is useful for podman top where we exec ps in the container via
podman exec.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-07-10 13:33:03 +02:00
..
archive.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
attach.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint.go remote: checkpoint --export prints a rawInput or an error on remote 2022-09-16 16:46:14 +09:00
commit.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
containers.go container wait: support health states 2023-06-23 14:16:32 +02:00
create.go bump go module to version 4 2022-01-18 12:47:07 +01:00
diff.go bump go module to version 4 2022-01-18 12:47:07 +01:00
exec.go Fix stutters 2022-09-10 07:52:00 -04:00
healthcheck.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go podman-remote logs: handle server error correctly 2023-04-20 14:11:03 +02:00
mount.go bump go module to version 4 2022-01-18 12:47:07 +01:00
rename.go bump go module to version 4 2022-01-18 12:47:07 +01:00
term_unix.go move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
term_windows.go move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
types.go libpod: use io.Writer vs io.WriteCloser for attach streams 2023-07-10 13:33:03 +02:00
types_attach_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_checkpoint_options.go Add support for checkpoint image 2022-04-20 18:55:39 +01:00
types_commit_options.go container-commit: support --squash to squash layers into one 2022-02-23 17:38:28 +05:30
types_copy_options.go podman cp: do not overwrite non-dirs with dirs and vice versa 2022-06-10 09:42:19 +02:00
types_create_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_diff_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_execinspect_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_execstart_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_execstartandattach_options.go libpod: use io.Writer vs io.WriteCloser for attach streams 2023-07-10 13:33:03 +02:00
types_exists_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_export_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_healthcheck_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_init_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_inspect_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_kill_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_list_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_log_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_mount_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_mountedcontainerpaths_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_pause_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_prune_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_remove_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_rename_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_resizeexectty_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_resizetty_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_restart_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_restore_options.go fix breaking change in pkg/bindings 2022-03-15 15:06:42 +01:00
types_shouldrestart_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_start_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_stats_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_stop_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_top_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_unmount_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_unpause_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_wait_options.go container wait: support health states 2023-06-23 14:16:32 +02:00
update.go implement podman update 2022-09-01 13:02:01 -04:00