github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/daemon/graphdriver/vfs/quota_unsupported.go (about)

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