github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/quota/types.go (about) 1 package quota // import "github.com/docker/docker/quota" 2 3 import "sync" 4 5 // Quota limit params - currently we only control blocks hard limit 6 type Quota struct { 7 Size uint64 8 } 9 10 // Control - Context to be used by storage driver (e.g. overlay) 11 // who wants to apply project quotas to container dirs 12 type Control struct { 13 backingFsBlockDev string 14 sync.RWMutex // protect nextProjectID and quotas map 15 quotas map[string]uint32 16 }