spiegel_podman/pkg/specgen
Valentin Rothberg 5ea369adef libpod: add GetConfigNoCopy()
Add a new function to libpod to directly access the runtime
configuration without creating an expensive deep copy.  Further migrate
a number of callers to this new function.

This drops the number of calls to JSONDeepCopy from 4 to 1 in a simple
`podman run --rm -d busybox top`.

Future work: Please note that there are more callers of GetConfig() that
can me migrated to GetConfigNoCopy().

[NO TESTS NEEDED]

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-09-29 14:24:09 +02:00
..
generate libpod: add GetConfigNoCopy() 2021-09-29 14:24:09 +02:00
config_unsupported.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
container_validate.go bump go module to v3 2021-02-22 09:03:51 +01:00
namespaces.go Add support for pod inside of user namespace. 2021-08-09 15:17:22 -04:00
pod_validate.go --infra-name command line argument 2021-07-15 21:27:51 -03:00
podspecgen.go Pod Device Support 2021-09-20 23:22:43 -04:00
specgen.go Pod Device Support 2021-09-20 23:22:43 -04:00
volumes.go libpod/option.go remove error stutter from wrap/wraf 2021-08-17 16:14:02 +05:30