diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-03 20:13:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 20:13:51 +0000 |
commit | 73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6 (patch) | |
tree | 5db98fc07babcc3b1a1f5bb71252edf6b939096f /libpod/define/pod_inspect.go | |
parent | fd33ab09365994ba4625f238c88474a4167ede66 (diff) | |
parent | b92149e2a8ce596b2839ec404e2ebd457943848f (diff) | |
download | podman-73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6.tar.gz podman-73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6.tar.bz2 podman-73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6.zip |
Merge pull request #14802 from cdoern/podMemory
podman pod create --memory
Diffstat (limited to 'libpod/define/pod_inspect.go')
-rw-r--r-- | libpod/define/pod_inspect.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go index c387856e5..935e0f5f9 100644 --- a/libpod/define/pod_inspect.go +++ b/libpod/define/pod_inspect.go @@ -69,6 +69,8 @@ type InspectPodData struct { VolumesFrom []string `json:"volumes_from,omitempty"` // SecurityOpt contains the specified security labels and related SELinux information SecurityOpts []string `json:"security_opt,omitempty"` + // MemoryLimit contains the specified cgroup memory limit for the pod + MemoryLimit uint64 `json:"memory_limit,omitempty"` } // InspectPodInfraConfig contains the configuration of the pod's infra |