github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/daemon/graphdriver/quota/projectquota_unsupported.go (about)

     1  // +build linux,exclude_disk_quota linux,!cgo
     2  
     3  package quota // import "github.com/docker/docker/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  }