quota: move quota package out of graphdriver
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
parent
6f1553625d
commit
c677e4cc87
10 changed files with 10 additions and 10 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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 {
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
@ -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>
|
|
@ -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"
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
|
||||
package quota // import "github.com/docker/docker/quota"
|
||||
|
||||
import "sync"
|
||||
|
Loading…
Reference in a new issue