podman/pkg/specgenutil
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
..
createparse.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go implement podman update 2022-09-01 13:02:01 -04:00
specgenutil_test.go specgen: fix parsing of cgroup devices rule 2022-07-01 09:28:18 +02:00
util.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
volumes_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00