github.com/wozhu6104/docker@v20.10.10+incompatible/daemon/graphdriver/vfs/quota_unsupported.go (about) 1 // +build !linux 2 3 package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs" 4 5 import "github.com/docker/docker/quota" 6 7 type driverQuota struct { 8 } 9 10 func setupDriverQuota(driver *Driver) error { 11 return nil 12 } 13 14 func (d *Driver) setQuotaOpt(size uint64) error { 15 return quota.ErrQuotaNotSupported 16 } 17 18 func (d *Driver) getQuotaOpt() uint64 { 19 return 0 20 } 21 22 func (d *Driver) setupQuota(dir string, size uint64) error { 23 return quota.ErrQuotaNotSupported 24 } 25 26 func (d *Driver) quotaSupported() bool { 27 return false 28 }