podman/pkg/api/handlers/libpod
Charlie Doern 050f3291b9 implement podman update
podman update allows users to change the cgroup configuration of an existing container using the already defined resource limits flags
from podman create/run. The supported flags in crun are:

this command is also now supported in the libpod api via the /libpod/containers/<CID>/update endpoint where
the resource limits are passed inthe request body and follow the OCI resource spec format

–memory
–cpus
–cpuset-cpus
–cpuset-mems
–memory-swap
–memory-reservation
–cpu-shares
–cpu-quota
–cpu-period
–blkio-weight
–cpu-rt-period
–cpu-rt-runtime
-device-read-bps
-device-write-bps
-device-read-iops
-device-write-iops
-memory-swappiness
-blkio-weight-device

resolves #15067

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-09-01 13:02:01 -04:00
..
containers.go implement podman update 2022-09-01 13:02:01 -04:00
containers_create.go Use request Context() in API handlers 2022-08-18 23:48:43 +03:00
containers_stats.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
generate.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
healthcheck.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
images.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
images_pull.go Simplify ImagesPull for when Quiet flag is on 2022-08-18 23:48:41 +03:00
images_push.go Use request Context() in API handlers 2022-08-18 23:48:43 +03:00
info.go bump go module to version 4 2022-01-18 12:47:07 +01:00
kube.go Add "podman kube generate" command 2022-08-11 16:58:24 +01:00
manifests.go Use request Context() in API handlers 2022-08-18 23:48:43 +03:00
networks.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
play.go Add "podman kube play" cmd 2022-07-13 15:27:03 +01:00
pods.go Fix streaming for libpod/pods/stats endpoint 2022-07-05 22:02:04 +02:00
secrets.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
swagger_spec.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
system.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
volumes.go libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00