podman/pkg/specgen
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
..
generate add {generate,play} kube 2020-05-06 17:08:22 +02:00
config_linux.go v2podman container create 2020-04-03 15:43:03 -05:00
config_unsupported.go Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub 2020-03-20 23:25:15 +01:00
container_validate.go Add support for volumes-from, image volumes, init 2020-04-27 13:13:21 -04:00
namespaces.go cgroupsns was not following containers.conf 2020-05-01 15:00:33 -04:00
pod_validate.go specgen: relax test to accept default network 2020-04-27 13:12:19 +02:00
podspecgen.go Rework port parsing to support --expose and -P 2020-05-04 20:57:27 -04:00
specgen.go Add small fixes for 'podman run' from diffing inspect 2020-05-05 20:21:01 -04:00