spiegel_podman/pkg/api/server
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
..
idle Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
doc.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
handler_api.go Use 8k buffer to help clients w/ broken parsing 2022-07-29 00:51:44 -05:00
handler_logging.go Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
handler_panic.go bump go module to version 4 2022-01-18 12:47:07 +01:00
handler_rid.go bump go module to version 4 2022-01-18 12:47:07 +01:00
listener_api.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
register_archive.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_auth.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_containers.go implement podman update 2022-09-01 13:02:01 -04:00
register_distribution.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_events.go Use 8k buffer to help clients w/ broken parsing 2022-07-29 00:51:44 -05:00
register_exec.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_generate.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_healthcheck.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_images.go Use 8k buffer to help clients w/ broken parsing 2022-07-29 00:51:44 -05:00
register_info.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_kube.go Add "podman kube generate" command 2022-08-11 16:58:24 +01:00
register_manifest.go podman manifest create: accept --amend and --insecure flags 2022-08-16 19:45:36 -04:00
register_monitor.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_networks.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_ping.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_plugins.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_pods.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_secrets.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_swagger.go bump go module to version 4 2022-01-18 12:47:07 +01:00
register_swarm.go Remove unused param and clean API handlers 2022-01-22 00:31:18 +01:00
register_system.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_version.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
register_volumes.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
server.go Add "podman kube generate" command 2022-08-11 16:58:24 +01:00