podman/pkg/api/server
Valentin Rothberg f269be3a31 add {generate,play} kube
Add the `podman generate kube` and `podman play kube` command.  The code
has largely been copied from Podman v1 but restructured to not leak the
K8s core API into the (remote) client.

Both commands are added in the same commit to allow for enabling the
tests at the same time.

Move some exports from `cmd/podman/common` to the appropriate places in
the backend to avoid circular dependencies.

Move definitions of label annotations to `libpod/define` and set the
security-opt labels in the frontend to make kube tests pass.

Implement rest endpoints, bindings and the tunnel interface.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-06 17:08:22 +02:00
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Refactor service idle support 2020-04-13 08:11:36 -07:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_containers.go swagger-check: new CI tool to cross-check swagger 2020-04-14 11:27:44 -06:00
register_distribution.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_events.go apiv2 add bindings for logs|events 2020-03-19 09:38:00 -05:00
register_exec.go Implement APIv2 Exec Create and Inspect Endpoints 2020-03-23 16:20:42 -04:00
register_generate.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
register_healthcheck.go add apiv2 healthcheck code 2020-03-13 07:43:12 -05:00
register_images.go image removal: refactor part 2 2020-05-04 16:01:45 +02:00
register_info.go refactor info 2020-04-06 12:45:42 -05:00
register_manifest.go swagger: more consistency fixes 2020-03-18 13:33:07 -06:00
register_monitor.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_ping.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_play.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
register_plugins.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_pods.go implement pod stats 2020-04-27 12:00:35 +02:00
register_swagger.go serve swagger when present 2020-03-18 14:34:14 -05:00
register_swarm.go Register handlers without version to align with docker API 2020-03-05 22:28:22 +00:00
register_system.go Adding system prune for podman v2 2020-04-24 15:44:07 -04:00
register_version.go Refactor handler packages 2020-03-10 08:03:41 -07:00
register_volumes.go podmanv2 volumes 2020-03-24 16:03:49 -05:00
server.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
swagger.go podman v2 remove bloat v2 2020-04-16 12:04:46 -05:00