automation-tests/pkg/api/handlers/compat
Nalin Dahyabhai 426db6fcc1 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>
2023-11-30 09:00:52 -05:00
..
auth.go fix(deps): update module github.com/docker/docker to v24 2023-05-22 15:32:12 +02:00
changes.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers.go Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
containers_archive.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_attach.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_create.go Set StopTimeout for compat API if not set by client 2023-08-24 13:24:41 -04:00
containers_export.go export: use io.Writer instead of file 2022-12-20 14:38:41 +01:00
containers_logs.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_pause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_prune.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers_restart.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_start.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_stats_freebsd.go cmd/podman/system: add API server support on FreeBSD 2023-06-29 13:10:44 +01:00
containers_stats_linux.go vendor: update c/common 2023-11-02 19:46:22 +01:00
containers_stop.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
containers_top.go Fix output of podman --remote top 2023-10-16 17:25:10 -04:00
containers_unpause.go bump go module to version 4 2022-01-18 12:47:07 +01:00
events.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
exec.go remote: exec: do not leak session IDs on errors 2023-10-19 11:34:36 +02:00
images.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
images_build.go Add status messages to podman --remote commit 2023-11-01 14:31:09 -04:00
images_history.go Add sha256: to images history id for docker compatibility 2023-04-26 14:38:07 -04:00
images_prune.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
images_push.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
images_remove.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
images_save.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
images_search.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
images_tag.go Fix stutters 2022-09-10 07:52:00 -04:00
info.go fix(deps): update module github.com/docker/docker to v24 2023-05-22 15:32:12 +02:00
networks.go fix(api): Ensure compatibality for network connect 2023-10-17 22:56:32 +02:00
ping.go /_ping handler: return OSType http header 2023-08-28 22:28:16 +08:00
resize.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
secrets.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
system.go Vendor c/image after https://github.com/containers/image/pull/1816 2023-02-08 22:37:38 +01:00
types.go stats compat API: return "id" lowercase 2023-03-22 14:36:35 +01:00
unsupported.go bump go module to version 4 2022-01-18 12:47:07 +01:00
version.go api: fix slow version endpoint 2023-07-10 15:46:45 +02:00
volumes.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00