summaryrefslogtreecommitdiff
path: root/libpod/define/pod_inspect.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-03 20:13:51 +0000
committerGitHub <noreply@github.com>2022-07-03 20:13:51 +0000
commit73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6 (patch)
tree5db98fc07babcc3b1a1f5bb71252edf6b939096f /libpod/define/pod_inspect.go
parentfd33ab09365994ba4625f238c88474a4167ede66 (diff)
parentb92149e2a8ce596b2839ec404e2ebd457943848f (diff)
downloadpodman-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.go2
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