spiegel_podman/pkg/bindings/containers
Nalin Dahyabhai 81068edf81 Accept a config blob alongside the "changes" slice when committing
When committing containers to create new images, accept a container
config blob being passed in the body of the API request by adding a
Config field to our API structures.  Populate it from the body of
requests that we receive, and use its contents as the body of requests
that we make.

Make the libpod commit endpoint split changes values at newlines, just
like the compat endpoint does.

Pass both the config blob and the "changes" slice to buildah's Commit()
API, so that it can handle cases where they overlap or conflict.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-02-07 20:23:42 +00:00
..
archive.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
attach.go vendor of containers/common 2023-09-20 08:39:49 -04:00
checkpoint.go remote: checkpoint --export prints a rawInput or an error on remote 2022-09-16 16:46:14 +09:00
commit.go Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00:00
containers.go Fix output of podman --remote top 2023-10-16 17:25:10 -04: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 pkg/bindings: add new APIVersionError error type 2023-12-01 10:00:07 +00: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 Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00: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 Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00:00
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_execremove_options.go remote: exec: do not leak session IDs on errors 2023-10-19 11:34:36 +02: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 Fix: use --all in podman stats to get all containers stats 2023-07-26 09:41:14 +03: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