quota_unsupported.go 537 B

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