quota_unsupported.go 538 B

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