github.com/rumpl/bof@v23.0.0-rc.2+incompatible/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  }