2021-08-23 13:14:53 +00:00
|
|
|
//go:build !linux
|
2017-10-30 20:18:14 +00:00
|
|
|
// +build !linux
|
|
|
|
|
2018-02-05 21:05:59 +00:00
|
|
|
package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
|
2017-10-30 20:18:14 +00:00
|
|
|
|
2020-08-09 20:04:43 +00:00
|
|
|
import "github.com/docker/docker/quota"
|
2017-10-30 20:18:14 +00:00
|
|
|
|
|
|
|
type driverQuota struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func setupDriverQuota(driver *Driver) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-01-15 11:49:23 +00:00
|
|
|
func (d *Driver) setQuotaOpt(size uint64) error {
|
|
|
|
return quota.ErrQuotaNotSupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *Driver) getQuotaOpt() uint64 {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-10-30 20:18:14 +00:00
|
|
|
func (d *Driver) setupQuota(dir string, size uint64) error {
|
|
|
|
return quota.ErrQuotaNotSupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *Driver) quotaSupported() bool {
|
|
|
|
return false
|
|
|
|
}
|