github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/graphdriver/quota/projectquota_unsupported.go (about) 1 // +build linux,exclude_disk_quota linux,!cgo 2 3 package quota // import "github.com/demonoid81/moby/daemon/graphdriver/quota" 4 5 func NewControl(basePath string) (*Control, error) { 6 return nil, ErrQuotaNotSupported 7 } 8 9 // SetQuota - assign a unique project id to directory and set the quota limits 10 // for that project id 11 func (q *Control) SetQuota(targetPath string, quota Quota) error { 12 return ErrQuotaNotSupported 13 } 14 15 // GetQuota - get the quota limits of a directory that was configured with SetQuota 16 func (q *Control) GetQuota(targetPath string, quota *Quota) error { 17 return ErrQuotaNotSupported 18 }