mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
pkg/system: move to daemon/internal
It has no external users, and this package still has too many different responsibilities, some of which may be available elsewhere, so moving it internal so that we can decide to dismantle it further. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -17,10 +17,10 @@ import (
|
||||
"github.com/docker/docker/daemon/builder"
|
||||
"github.com/docker/docker/daemon/builder/remotecontext"
|
||||
"github.com/docker/docker/daemon/builder/remotecontext/urlutil"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/docker/docker/pkg/longpath"
|
||||
"github.com/docker/docker/pkg/progress"
|
||||
"github.com/docker/docker/pkg/streamformatter"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/moby/buildkit/frontend/dockerfile/instructions"
|
||||
"github.com/moby/go-archive"
|
||||
"github.com/moby/sys/symlink"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/Microsoft/go-winio"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/moby/sys/reexec"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/sys/windows"
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"github.com/containerd/log"
|
||||
"github.com/docker/docker/daemon/config"
|
||||
"github.com/docker/docker/daemon/container"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/docker/docker/daemon/libnetwork"
|
||||
"github.com/docker/docker/daemon/network"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ import (
|
||||
"github.com/docker/docker/daemon/container"
|
||||
"github.com/docker/docker/daemon/internal/libcontainerd/local"
|
||||
"github.com/docker/docker/daemon/internal/libcontainerd/remote"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/docker/docker/daemon/libnetwork"
|
||||
nwconfig "github.com/docker/docker/daemon/libnetwork/config"
|
||||
winlibnetwork "github.com/docker/docker/daemon/libnetwork/drivers/windows"
|
||||
@@ -25,7 +26,6 @@ import (
|
||||
"github.com/docker/docker/daemon/network"
|
||||
"github.com/docker/docker/pkg/parsers/operatingsystem"
|
||||
"github.com/docker/docker/pkg/sysinfo"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
containertypes "github.com/moby/moby/api/types/container"
|
||||
networktypes "github.com/moby/moby/api/types/network"
|
||||
"github.com/moby/sys/user"
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/docker/docker/pkg/pools"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/moby/sys/userns"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"golang.org/x/sys/unix"
|
||||
"gotest.tools/v3/assert"
|
||||
is "gotest.tools/v3/assert/cmp"
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
"github.com/containerd/containerd/v2/core/mount"
|
||||
"github.com/docker/docker/daemon/graphdriver/overlayutils"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/moby/sys/userns"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/sys/unix"
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
)
|
||||
|
||||
// mkdirAllWithChtimes is nearly an identical copy to the [os.MkdirAll] but
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
v1 "github.com/docker/docker/daemon/internal/image/v1"
|
||||
"github.com/docker/docker/daemon/internal/ioutils"
|
||||
"github.com/docker/docker/daemon/internal/layer"
|
||||
"github.com/docker/docker/pkg/system"
|
||||
"github.com/docker/docker/daemon/internal/system"
|
||||
"github.com/moby/go-archive"
|
||||
"github.com/moby/moby/api/types/events"
|
||||
"github.com/moby/sys/sequential"
|
||||
|
||||
Reference in New Issue
Block a user