diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-04 11:59:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 11:59:58 +0000 |
commit | 8aa869e6288997f01ddb7b8daf78e0edb653fc13 (patch) | |
tree | e08af5b0d7a759b90dfd35212e6a2835976f76d4 /libpod/volume.go | |
parent | 96eb3691305fda9c8018387ca6bb3a19af1a3080 (diff) | |
parent | c0952c73341321b309174a4e83e2e74d509b98a8 (diff) | |
download | podman-8aa869e6288997f01ddb7b8daf78e0edb653fc13.tar.gz podman-8aa869e6288997f01ddb7b8daf78e0edb653fc13.tar.bz2 podman-8aa869e6288997f01ddb7b8daf78e0edb653fc13.zip |
Merge pull request #10973 from rhatdan/quota
Support size options on builtin volumes
Diffstat (limited to 'libpod/volume.go')
-rw-r--r-- | libpod/volume.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/volume.go b/libpod/volume.go index 506c45b5a..8f3dc4fcc 100644 --- a/libpod/volume.go +++ b/libpod/volume.go @@ -49,6 +49,10 @@ type VolumeConfig struct { UID int `json:"uid"` // GID the volume will be created as. GID int `json:"gid"` + // Size maximum of the volume. + Size uint64 `json:"size"` + // Inodes maximum of the volume. + Inodes uint64 `json:"inodes"` } // VolumeState holds the volume's mutable state. |