automation-tests/pkg/api/handlers
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
..
compat Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
libpod Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
swagger docs(API): Fix compat network (dis-)connect 2023-10-24 17:37:17 +02:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
changes.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
changes_test.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
decoder.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
types.go remote: exec: do not leak session IDs on errors 2023-10-19 11:34:36 +02:00