spiegel_podman/pkg/api/handlers/compat
Valentin Rothberg 4df6e31ccb remote build: fix streaming and error handling
Address a number of issues in the streaming logic in remote build, most
importantly an error in using buffered channels on the server side.

The pattern below does not guarantee that the channel is entirely read
before the context fires.

for {
	select {
		case <- bufferedChannel:
		...
		case <- ctx.Done():
		...
	}
}

Fixes: #10154
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-07-28 14:46:15 +02:00
..
auth.go remove pkg/registries 2021-06-25 09:56:21 +02:00
changes.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
containers.go Health Check is not handled in the compat LibpodToContainerJSON 2021-06-23 13:16:19 -04:00
containers_archive.go support container to container copy 2021-07-27 15:32:23 +02:00
containers_attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_create.go support tag@digest notation 2021-05-31 14:38:43 +02:00
containers_export.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_logs.go Implemented Until Query Parameter for Containers/logs 2021-07-09 12:21:46 -04:00
containers_pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_prune.go Containers prune endpoint should use only prune filters 2021-03-30 10:19:22 +02:00
containers_restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_start.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
containers_stats.go added tests in python rest api 2021-06-01 14:54:02 -04:00
containers_stop.go podman-remote stop -time 0 does not work 2021-03-05 10:39:17 -05:00
containers_top.go Trim white space from /top endpoint results 2021-03-30 10:42:06 -07:00
containers_unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
events.go remote events: fix --stream=false 2021-06-04 12:51:43 +02:00
exec.go Fix resize race with podman exec -it 2021-06-16 16:43:30 +02:00
images.go compat: image create: handle platform correctly 2021-07-20 09:00:44 +02:00
images_build.go remote build: fix streaming and error handling 2021-07-28 14:46:15 +02:00
images_history.go vendor containers/common@main 2021-07-16 14:19:56 +02:00
images_prune.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_push.go Use request context instead of background 2021-06-01 15:25:20 +02:00
images_remove.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_tag.go vendor containers/common@main 2021-07-16 14:19:56 +02:00
info.go bump go module to v3 2021-02-22 09:03:51 +01:00
networks.go Return macvlan object in /network REST API response 2021-07-14 12:24:03 -07:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go Fix resize race with podman exec -it 2021-06-16 16:43:30 +02:00
secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05:00
swagger.go Fix network prune api docs 2021-06-08 11:38:26 +02:00
system.go bump go module to v3 2021-02-22 09:03:51 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to v3 2021-02-22 09:03:51 +01:00
version.go [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
volumes.go Allow docker volume create API to pass without name 2021-04-27 10:32:06 -04:00