1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

quota: move quota package out of graphdriver

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
Timo Rothenpieler 2020-08-09 20:04:43 +00:00
parent 6f1553625d
commit c677e4cc87
10 changed files with 10 additions and 10 deletions

View file

@ -13,8 +13,8 @@ import (
"unsafe"
"github.com/docker/docker/daemon/graphdriver"
"github.com/docker/docker/daemon/graphdriver/quota"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/quota"
units "github.com/docker/go-units"
"golang.org/x/sys/unix"
"gotest.tools/v3/assert"

View file

@ -18,7 +18,6 @@ import (
"github.com/containerd/containerd/sys"
"github.com/docker/docker/daemon/graphdriver"
"github.com/docker/docker/daemon/graphdriver/overlayutils"
"github.com/docker/docker/daemon/graphdriver/quota"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/chrootarchive"
"github.com/docker/docker/pkg/containerfs"
@ -27,6 +26,7 @@ import (
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/parsers"
"github.com/docker/docker/pkg/system"
"github.com/docker/docker/quota"
units "github.com/docker/go-units"
"github.com/moby/locker"
"github.com/moby/sys/mount"

View file

@ -6,12 +6,12 @@ import (
"path/filepath"
"github.com/docker/docker/daemon/graphdriver"
"github.com/docker/docker/daemon/graphdriver/quota"
"github.com/docker/docker/errdefs"
"github.com/docker/docker/pkg/containerfs"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/parsers"
"github.com/docker/docker/pkg/system"
"github.com/docker/docker/quota"
units "github.com/docker/go-units"
"github.com/opencontainers/selinux/go-selinux/label"
"github.com/pkg/errors"

View file

@ -1,7 +1,7 @@
package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
import (
"github.com/docker/docker/daemon/graphdriver/quota"
"github.com/docker/docker/quota"
"github.com/sirupsen/logrus"
)

View file

@ -2,7 +2,7 @@
package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
import "github.com/docker/docker/daemon/graphdriver/quota"
import "github.com/docker/docker/quota"
type driverQuota struct {
}

View file

@ -1,4 +1,4 @@
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
package quota // import "github.com/docker/docker/quota"
import "github.com/docker/docker/errdefs"

View file

@ -9,7 +9,7 @@
// for both xfs/ext4 for kernel version >= v4.5
//
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
package quota // import "github.com/docker/docker/quota"
/*
#include <stdlib.h>

View file

@ -1,6 +1,6 @@
// +build linux
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
package quota // import "github.com/docker/docker/quota"
import (
"io"

View file

@ -1,6 +1,6 @@
// +build linux,exclude_disk_quota linux,!cgo !linux
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
package quota // import "github.com/docker/docker/quota"
func NewControl(basePath string) (*Control, error) {
return nil, ErrQuotaNotSupported

View file

@ -1,4 +1,4 @@
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
package quota // import "github.com/docker/docker/quota"
import "sync"