Skip to content

Commit d00ecdc

Browse files
dmcgowanthaJeztah
authored andcommitted
Move pkg/streamformatter to api/pkg/streamformatter
Signed-off-by: Derek McGowan <derek@mcg.dev> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 66862e1 commit d00ecdc

File tree

21 files changed

+307
-15
lines changed

21 files changed

+307
-15
lines changed

api/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ go 1.23.0
55
require (
66
github.com/docker/go-connections v0.5.0
77
github.com/docker/go-units v0.5.0
8+
github.com/google/go-cmp v0.5.9
89
github.com/moby/docker-image-spec v1.3.1
910
github.com/opencontainers/go-digest v1.0.0
1011
github.com/opencontainers/image-spec v1.1.1
1112
golang.org/x/time v0.11.0
1213
gotest.tools/v3 v3.5.2
1314
)
14-
15-
require github.com/google/go-cmp v0.5.9 // indirect
File renamed without changes.
File renamed without changes.
File renamed without changes.

daemon/builder/dockerfile/copy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919
"github.com/docker/docker/daemon/builder/remotecontext/urlutil"
2020
"github.com/docker/docker/daemon/internal/system"
2121
"github.com/docker/docker/pkg/longpath"
22-
"github.com/docker/docker/pkg/streamformatter"
2322
"github.com/moby/buildkit/frontend/dockerfile/instructions"
2423
"github.com/moby/go-archive"
2524
"github.com/moby/moby/api/pkg/progress"
25+
"github.com/moby/moby/api/pkg/streamformatter"
2626
"github.com/moby/sys/symlink"
2727
"github.com/moby/sys/user"
2828
ocispec "github.com/opencontainers/image-spec/specs-go/v1"

daemon/containerd/image_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import (
2727
"github.com/docker/docker/daemon/internal/stringid"
2828
"github.com/docker/docker/daemon/server/backend"
2929
"github.com/docker/docker/errdefs"
30-
"github.com/docker/docker/pkg/streamformatter"
3130
imagespec "github.com/moby/docker-image-spec/specs-go/v1"
3231
"github.com/moby/go-archive"
3332
"github.com/moby/moby/api/pkg/progress"
33+
"github.com/moby/moby/api/pkg/streamformatter"
3434
"github.com/moby/moby/api/types/container"
3535
"github.com/moby/moby/api/types/events"
3636
"github.com/moby/moby/api/types/registry"

daemon/containerd/image_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import (
1717
"github.com/distribution/reference"
1818
"github.com/docker/docker/daemon/images"
1919
"github.com/docker/docker/errdefs"
20-
"github.com/docker/docker/pkg/streamformatter"
2120
"github.com/moby/go-archive/compression"
21+
"github.com/moby/moby/api/pkg/streamformatter"
2222
"github.com/moby/moby/api/types/events"
2323
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
2424
"github.com/pkg/errors"

daemon/containerd/image_pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"github.com/docker/docker/daemon/internal/metrics"
2121
"github.com/docker/docker/daemon/internal/stringid"
2222
"github.com/docker/docker/errdefs"
23-
"github.com/docker/docker/pkg/streamformatter"
2423
"github.com/moby/moby/api/pkg/progress"
24+
"github.com/moby/moby/api/pkg/streamformatter"
2525
"github.com/moby/moby/api/types/events"
2626
registrytypes "github.com/moby/moby/api/types/registry"
2727
ocispec "github.com/opencontainers/image-spec/specs-go/v1"

daemon/containerd/image_push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"github.com/distribution/reference"
2020
"github.com/docker/docker/daemon/internal/metrics"
2121
"github.com/docker/docker/errdefs"
22-
"github.com/docker/docker/pkg/streamformatter"
2322
"github.com/moby/moby/api/pkg/progress"
23+
"github.com/moby/moby/api/pkg/streamformatter"
2424
"github.com/moby/moby/api/types/auxprogress"
2525
"github.com/moby/moby/api/types/events"
2626
"github.com/moby/moby/api/types/registry"

0 commit comments

Comments
 (0)