mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Move registry to daemon/pkg/registry
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/docker/docker/daemon/config"
|
||||
"github.com/docker/docker/daemon/pkg/opts"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
dopts "github.com/docker/docker/internal/opts"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/spf13/pflag"
|
||||
)
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ import (
|
||||
"dario.cat/mergo"
|
||||
"github.com/containerd/log"
|
||||
"github.com/docker/docker/daemon/pkg/opts"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
dopts "github.com/docker/docker/internal/opts"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api"
|
||||
"github.com/moby/moby/api/types/versions"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"dario.cat/mergo"
|
||||
"github.com/docker/docker/daemon/libnetwork/ipamutils"
|
||||
"github.com/docker/docker/daemon/pkg/opts"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
"github.com/spf13/pflag"
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
cerrdefs "github.com/containerd/errdefs"
|
||||
"github.com/containerd/log"
|
||||
"github.com/distribution/reference"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/dockerversion"
|
||||
"github.com/docker/docker/pkg/useragent"
|
||||
"github.com/docker/docker/registry"
|
||||
registrytypes "github.com/moby/moby/api/types/registry"
|
||||
)
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ import (
|
||||
dlogger "github.com/docker/docker/daemon/logger"
|
||||
"github.com/docker/docker/daemon/network"
|
||||
"github.com/docker/docker/daemon/pkg/plugin"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/daemon/snapshotter"
|
||||
"github.com/docker/docker/daemon/stats"
|
||||
volumesservice "github.com/docker/docker/daemon/volume/service"
|
||||
@@ -64,7 +65,6 @@ import (
|
||||
"github.com/docker/docker/pkg/idtools"
|
||||
"github.com/docker/docker/pkg/plugingetter"
|
||||
"github.com/docker/docker/pkg/sysinfo"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/moby/buildkit/util/grpcerrors"
|
||||
"github.com/moby/buildkit/util/tracing"
|
||||
"github.com/moby/locker"
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/containerd/containerd/v2/core/remotes/docker"
|
||||
hostconfig "github.com/containerd/containerd/v2/core/remotes/docker/config"
|
||||
cerrdefs "github.com/containerd/errdefs"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,13 +19,13 @@ import (
|
||||
"github.com/docker/docker/daemon/internal/filedescriptors"
|
||||
"github.com/docker/docker/daemon/internal/metrics"
|
||||
"github.com/docker/docker/daemon/logger"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/dockerversion"
|
||||
"github.com/docker/docker/internal/platform"
|
||||
"github.com/docker/docker/pkg/meminfo"
|
||||
"github.com/docker/docker/pkg/parsers/kernel"
|
||||
"github.com/docker/docker/pkg/parsers/operatingsystem"
|
||||
"github.com/docker/docker/pkg/sysinfo"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api/types"
|
||||
"github.com/moby/moby/api/types/system"
|
||||
"github.com/opencontainers/selinux/go-selinux"
|
||||
|
||||
@@ -14,8 +14,8 @@ import (
|
||||
"github.com/docker/docker/daemon/internal/image"
|
||||
"github.com/docker/docker/daemon/internal/layer"
|
||||
refstore "github.com/docker/docker/daemon/internal/refstore"
|
||||
registrypkg "github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/pkg/progress"
|
||||
registrypkg "github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api/types/events"
|
||||
"github.com/moby/moby/api/types/registry"
|
||||
"github.com/opencontainers/go-digest"
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/docker/distribution"
|
||||
"github.com/docker/distribution/manifest/manifestlist"
|
||||
"github.com/docker/distribution/manifest/schema2"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/opencontainers/go-digest"
|
||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/containerd/log"
|
||||
"github.com/distribution/reference"
|
||||
refstore "github.com/docker/docker/daemon/internal/refstore"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/moby/moby/api/types/events"
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -22,10 +22,10 @@ import (
|
||||
"github.com/docker/docker/daemon/internal/image"
|
||||
"github.com/docker/docker/daemon/internal/layer"
|
||||
refstore "github.com/docker/docker/daemon/internal/refstore"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/pkg/ioutils"
|
||||
"github.com/docker/docker/pkg/progress"
|
||||
"github.com/docker/docker/pkg/stringid"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/opencontainers/go-digest"
|
||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
"github.com/distribution/reference"
|
||||
"github.com/docker/docker/daemon/internal/image"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
registrytypes "github.com/moby/moby/api/types/registry"
|
||||
"github.com/opencontainers/go-digest"
|
||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
|
||||
@@ -17,10 +17,10 @@ import (
|
||||
"github.com/docker/docker/daemon/internal/distribution/metadata"
|
||||
"github.com/docker/docker/daemon/internal/distribution/xfer"
|
||||
"github.com/docker/docker/daemon/internal/layer"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/pkg/ioutils"
|
||||
"github.com/docker/docker/pkg/progress"
|
||||
"github.com/docker/docker/pkg/stringid"
|
||||
"github.com/docker/docker/registry"
|
||||
apitypes "github.com/moby/moby/api/types"
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
@@ -13,8 +13,8 @@ import (
|
||||
"github.com/docker/docker/daemon/internal/distribution/metadata"
|
||||
"github.com/docker/docker/daemon/internal/layer"
|
||||
refstore "github.com/docker/docker/daemon/internal/refstore"
|
||||
registrypkg "github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/pkg/progress"
|
||||
registrypkg "github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api/types/registry"
|
||||
"github.com/opencontainers/go-digest"
|
||||
"gotest.tools/v3/assert"
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
"github.com/docker/distribution/manifest/schema2"
|
||||
"github.com/docker/distribution/registry/client"
|
||||
"github.com/docker/distribution/registry/client/auth"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/dockerversion"
|
||||
"github.com/docker/docker/registry"
|
||||
registrytypes "github.com/moby/moby/api/types/registry"
|
||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/distribution/reference"
|
||||
registrypkg "github.com/docker/docker/registry"
|
||||
registrypkg "github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/moby/moby/api/types/registry"
|
||||
"gotest.tools/v3/assert"
|
||||
)
|
||||
|
||||
@@ -16,10 +16,10 @@ import (
|
||||
"github.com/containerd/containerd/v2/plugins/content/local"
|
||||
"github.com/containerd/log"
|
||||
v2 "github.com/docker/docker/daemon/pkg/plugin/v2"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/internal/containerfs"
|
||||
"github.com/docker/docker/internal/lazyregexp"
|
||||
"github.com/docker/docker/pkg/authorization"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api/types"
|
||||
"github.com/moby/moby/api/types/events"
|
||||
"github.com/moby/pubsub"
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/docker/docker/daemon/config"
|
||||
"github.com/docker/docker/daemon/images"
|
||||
"github.com/docker/docker/daemon/libnetwork"
|
||||
"github.com/docker/docker/registry"
|
||||
"github.com/docker/docker/daemon/pkg/registry"
|
||||
"gotest.tools/v3/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
registrypkg "github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/docker/docker/integration/internal/requirement"
|
||||
registrypkg "github.com/docker/docker/registry"
|
||||
"github.com/moby/moby/api/types/registry"
|
||||
"gotest.tools/v3/assert"
|
||||
is "gotest.tools/v3/assert/cmp"
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/daemon/pkg/plugin"
|
||||
registrypkg "github.com/docker/docker/registry"
|
||||
registrypkg "github.com/docker/docker/daemon/pkg/registry"
|
||||
"github.com/moby/go-archive"
|
||||
"github.com/moby/moby/api/types"
|
||||
"github.com/moby/moby/api/types/events"
|
||||
|
||||
Reference in New Issue
Block a user