spiegel_podman/pkg/api/handlers
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
..
compat Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00:00
libpod Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00: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 fix: pull error response docker rest api compatibility 2023-10-13 20:19:18 -03:00
changes.go Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00:00
changes_test.go Accept a config blob alongside the "changes" slice when committing 2024-02-07 20:23:42 +00: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