spiegel_podman/pkg/api/server
Paul Holzinger 3bcfd256b3
manifest endpoints fix ordering
OK this is a pretty bad design IMO. We have to endpoints:
manifest create: `POST /{name}`
manifest push: `POST /{name}/registry/{destination}`

So basically all push requests are valid create requests.
Fortunately we can change the order in which the endpoints are matched.
If the logic matches push first it will fall back to create if the
request does not have the `/registry/{}` part.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-04-27 14:57:25 +02:00
..
idle Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
docs.go Update swagger documentation 2021-12-31 08:43:56 -05:00
handler_api.go bump go module to version 4 2022-01-18 12:47:07 +01:00
handler_logging.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
handler_panic.go bump go module to version 4 2022-01-18 12:47:07 +01:00
handler_rid.go bump go module to version 4 2022-01-18 12:47:07 +01:00
listener_api.go Make podman service log events 2020-11-19 14:42:56 -07:00
register_archive.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_auth.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_containers.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_distribution.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_events.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_exec.go Update swagger to improve compatibility 2022-03-22 15:20:30 -07:00
register_generate.go Handlers for generate systemd with custom dependencies 2022-01-19 21:46:16 +05:00
register_healthcheck.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_images.go Revert "images --size" 2022-04-14 10:58:36 +02:00
register_info.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_manifest.go manifest endpoints fix ordering 2022-04-27 14:57:25 +02:00
register_monitor.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_networks.go Update swagger to improve compatibility 2022-03-22 15:20:30 -07:00
register_ping.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_play.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_plugins.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_pods.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_secrets.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_swagger.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_swarm.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
register_system.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_version.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_volumes.go bump go module to version 4 2022-01-18 12:47:07 +01:00
server.go systemd socker activation: check listener 2022-04-21 14:07:54 +02:00
swagger.go Update swagger to improve compatibility 2022-03-22 15:20:30 -07:00