github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/graphdriver/vfs/quota_unsupported.go (about) 1 // +build !linux 2 3 package vfs // import "github.com/demonoid81/moby/daemon/graphdriver/vfs" 4 5 import "github.com/demonoid81/moby/daemon/graphdriver/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 }