spiegel_podman/pkg/specgen/generate
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
..
kube Add init containers to generate and play kube 2021-09-10 09:37:46 -04:00
config_linux.go Pod Device Support 2021-09-20 23:22:43 -04:00
config_linux_cgo.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
config_linux_nocgo.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
config_linux_test.go Add filepath glob support to --security-opt unmask 2021-05-04 14:40:43 -04:00
container.go libpod: add GetConfigNoCopy() 2021-09-29 14:24:09 +02:00
container_create.go libpod: add GetConfigNoCopy() 2021-09-29 14:24:09 +02:00
namespaces.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
oci.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
pod_create.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
ports.go Drop OCICNI dependency 2021-09-15 20:00:28 +02:00
security.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
storage.go fix: unifiedOverlays should be assigned if no conflicts found. 2021-08-17 20:53:32 +05:30
validate.go bump go module to v3 2021-02-22 09:03:51 +01:00