Skip to content

Commit f776cd6

Browse files
Merge pull request moby#50367 from dmcgowan/move-volume-daemon
Move volume under daemon
2 parents 2f4f78b + 17d5f73 commit f776cd6

97 files changed

Lines changed: 83 additions & 83 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

daemon/archive_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
containertypes "github.com/docker/docker/api/types/container"
1212
"github.com/docker/docker/api/types/events"
1313
"github.com/docker/docker/daemon/container"
14+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
1415
"github.com/docker/docker/errdefs"
1516
"github.com/docker/docker/pkg/ioutils"
16-
volumemounts "github.com/docker/docker/volume/mounts"
1717
"github.com/moby/go-archive"
1818
"github.com/pkg/errors"
1919
)

daemon/cluster/executor/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
networktypes "github.com/docker/docker/daemon/libnetwork/types"
2323
networkSettings "github.com/docker/docker/daemon/network"
2424
"github.com/docker/docker/daemon/pkg/plugin"
25+
volumeopts "github.com/docker/docker/daemon/volume/service/opts"
2526
"github.com/docker/docker/image"
26-
volumeopts "github.com/docker/docker/volume/service/opts"
2727
"github.com/moby/swarmkit/v2/agent/exec"
2828
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
2929
)

daemon/cluster/executor/container/adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
executorpkg "github.com/docker/docker/daemon/cluster/executor"
2424
"github.com/docker/docker/daemon/libnetwork"
2525
networkSettings "github.com/docker/docker/daemon/network"
26-
volumeopts "github.com/docker/docker/volume/service/opts"
26+
volumeopts "github.com/docker/docker/daemon/volume/service/opts"
2727
gogotypes "github.com/gogo/protobuf/types"
2828
"github.com/moby/swarmkit/v2/agent/exec"
2929
"github.com/moby/swarmkit/v2/api"

daemon/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
"github.com/docker/docker/daemon/container"
2323
"github.com/docker/docker/daemon/network"
2424
"github.com/docker/docker/daemon/pkg/opts"
25+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
2526
"github.com/docker/docker/errdefs"
2627
"github.com/docker/docker/image"
2728
"github.com/docker/docker/oci/caps"
28-
volumemounts "github.com/docker/docker/volume/mounts"
2929
"github.com/docker/go-connections/nat"
3030
"github.com/moby/sys/signal"
3131
ocispec "github.com/opencontainers/image-spec/specs-go/v1"

daemon/container/container.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ import (
2929
"github.com/docker/docker/daemon/logger/local"
3030
"github.com/docker/docker/daemon/logger/loggerutils/cache"
3131
"github.com/docker/docker/daemon/network"
32+
"github.com/docker/docker/daemon/volume"
33+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
3234
"github.com/docker/docker/errdefs"
3335
"github.com/docker/docker/image"
3436
"github.com/docker/docker/oci"
35-
"github.com/docker/docker/volume"
36-
volumemounts "github.com/docker/docker/volume/mounts"
3737
"github.com/docker/go-units"
3838
agentexec "github.com/moby/swarmkit/v2/agent/exec"
3939
"github.com/moby/sys/atomicwriter"

daemon/container/container_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/docker/docker/api/types/events"
1515
mounttypes "github.com/docker/docker/api/types/mount"
1616
swarmtypes "github.com/docker/docker/api/types/swarm"
17-
volumemounts "github.com/docker/docker/volume/mounts"
17+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
1818
"github.com/moby/sys/mount"
1919
"github.com/opencontainers/selinux/go-selinux/label"
2020
"github.com/pkg/errors"

daemon/containerfs_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
containertypes "github.com/docker/docker/api/types/container"
1919
"github.com/docker/docker/daemon/container"
20-
"github.com/docker/docker/internal/mounttree"
20+
"github.com/docker/docker/daemon/internal/mounttree"
2121
"github.com/docker/docker/internal/unshare"
2222
"github.com/docker/docker/pkg/fileutils"
2323
)

daemon/create_unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
containertypes "github.com/docker/docker/api/types/container"
1414
mounttypes "github.com/docker/docker/api/types/mount"
1515
"github.com/docker/docker/daemon/container"
16+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
17+
volumeopts "github.com/docker/docker/daemon/volume/service/opts"
1618
"github.com/docker/docker/oci"
1719
"github.com/docker/docker/pkg/idtools"
18-
volumemounts "github.com/docker/docker/volume/mounts"
19-
volumeopts "github.com/docker/docker/volume/service/opts"
2020
"github.com/opencontainers/selinux/go-selinux/label"
2121
"github.com/pkg/errors"
2222
)

daemon/create_windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
containertypes "github.com/docker/docker/api/types/container"
88
"github.com/docker/docker/daemon/container"
9-
volumemounts "github.com/docker/docker/volume/mounts"
10-
volumeopts "github.com/docker/docker/volume/service/opts"
9+
volumemounts "github.com/docker/docker/daemon/volume/mounts"
10+
volumeopts "github.com/docker/docker/daemon/volume/service/opts"
1111
)
1212

1313
// createContainerOSSpecificSettings performs host-OS specific container create functionality

daemon/daemon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ import (
5959
"github.com/docker/docker/daemon/pkg/plugin"
6060
"github.com/docker/docker/daemon/snapshotter"
6161
"github.com/docker/docker/daemon/stats"
62+
volumesservice "github.com/docker/docker/daemon/volume/service"
6263
"github.com/docker/docker/distribution"
6364
dmetadata "github.com/docker/docker/distribution/metadata"
6465
"github.com/docker/docker/dockerversion"
@@ -71,7 +72,6 @@ import (
7172
"github.com/docker/docker/pkg/sysinfo"
7273
refstore "github.com/docker/docker/reference"
7374
"github.com/docker/docker/registry"
74-
volumesservice "github.com/docker/docker/volume/service"
7575
"github.com/moby/buildkit/util/grpcerrors"
7676
"github.com/moby/buildkit/util/tracing"
7777
"github.com/moby/locker"

0 commit comments

Comments
 (0)