automation-tests/pkg/api/handlers/libpod
Matthew Heon c51c593ff6 Re-add resource limit warnings to Specgen
These were part of Podman v1.9, but were lost in the transition
to using Specgen to create containers. Most resource limits are
checked via the sysinfo package to ensure they are safe to use
(the cgroup is mounted, kernel support is present, etc) and
removed if not safe. Further, bounds checks are performed to
ensure that values are valid.

Ensure these warnings are printed client-side when they occur.
This part is a little bit gross, as it happens in pkg/infra and
not cmd/podman, which is largely down to how we implemented
`podman run` - all the work is done in pkg/infra and it returns
only once the container has exited, and we need warnings to print
*before* the container runs. The solution here, while inelegant,
avoid the need to extensively refactor our handling of run.

Should fix blkio-limit warnings that were identified by the FCOS
test suite.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-16 17:32:01 -04:00
..
containers.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
containers_create.go Re-add resource limit warnings to Specgen 2020-06-16 17:32:01 -04:00
copy.go v2 copy endpoints 2020-05-26 12:04:20 -05:00
generate.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
healthcheck.go Fix remote integration for healthchecks 2020-05-20 14:43:01 -05:00
images.go Fix leak of empty tarball 2020-06-01 10:07:58 -05:00
info.go refactor info 2020-04-06 12:45:42 -05:00
manifests.go compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
networks.go enable podman v2 networking for remote client 2020-05-12 13:23:43 -05:00
play.go compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
pods.go Turn on More linters 2020-06-15 07:05:56 -04:00
swagger.go enable podman v2 networking for remote client 2020-05-12 13:23:43 -05:00
system.go Turn on More linters 2020-06-15 07:05:56 -04:00
volumes.go Turn on More linters 2020-06-15 07:05:56 -04:00