pkg/stack: move to daemon/internal

This package is used by the daemon to produce a stack-dump, It has no
external consumers, so we can move it to daemon/internal.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-28 18:38:51 +02:00
parent 1d6d8f390f
commit 76e2ca1d41
6 changed files with 4 additions and 4 deletions

View File

@@ -52,8 +52,8 @@ import (
"github.com/containerd/log"
"github.com/docker/docker/daemon/cluster/controllers/plugin"
executorpkg "github.com/docker/docker/daemon/cluster/executor"
"github.com/docker/docker/daemon/internal/stack"
lncluster "github.com/docker/docker/daemon/libnetwork/cluster"
"github.com/docker/docker/pkg/stack"
"github.com/moby/moby/api/types/network"
types "github.com/moby/moby/api/types/swarm"
swarmapi "github.com/moby/swarmkit/v2/api"

View File

@@ -9,10 +9,10 @@ import (
"github.com/containerd/log"
"github.com/docker/docker/daemon/cluster/convert"
"github.com/docker/docker/daemon/internal/stack"
"github.com/docker/docker/daemon/pkg/opts"
"github.com/docker/docker/daemon/server/backend"
"github.com/docker/docker/errdefs"
"github.com/docker/docker/pkg/stack"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/filters"
types "github.com/moby/moby/api/types/swarm"

View File

@@ -8,7 +8,7 @@ import (
"os/signal"
"github.com/containerd/log"
"github.com/docker/docker/pkg/stack"
"github.com/docker/docker/daemon/internal/stack"
"golang.org/x/sys/unix"
)

View File

@@ -7,7 +7,7 @@ import (
"unsafe"
"github.com/containerd/log"
"github.com/docker/docker/pkg/stack"
"github.com/docker/docker/daemon/internal/stack"
"golang.org/x/sys/windows"
)