Skip to content

Commit ae52a22

Browse files
committed
vendor: github.com/docker/docker c04dec11437f (master, v28.x dev)
full diff: moby/moby@fd1a78e...c04dec1 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent d956110 commit ae52a22

File tree

14 files changed

+103
-40
lines changed

14 files changed

+103
-40
lines changed

cli/command/builder/prune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func runPrune(ctx context.Context, dockerCli command.Cli, options pruneOptions)
8181

8282
report, err := dockerCli.Client().BuildCachePrune(ctx, types.BuildCachePruneOptions{
8383
All: options.all,
84-
KeepStorage: options.keepStorage.Value(),
84+
KeepStorage: options.keepStorage.Value(), //nolint:staticcheck // FIXME(thaJeztah): rewrite to use new options; see https://github.com/moby/moby/pull/48720
8585
Filters: pruneFilters,
8686
})
8787
if err != nil {

cli/command/formatter/buildcache.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/docker/docker/api/types"
9+
"github.com/docker/docker/api/types/build"
1010
"github.com/docker/docker/pkg/stringid"
1111
"github.com/docker/go-units"
1212
)
@@ -52,7 +52,7 @@ shared: {{.Shared}}
5252
return Format(source)
5353
}
5454

55-
func buildCacheSort(buildCache []*types.BuildCache) {
55+
func buildCacheSort(buildCache []*build.CacheRecord) {
5656
sort.Slice(buildCache, func(i, j int) bool {
5757
lui, luj := buildCache[i].LastUsedAt, buildCache[j].LastUsedAt
5858
switch {
@@ -71,7 +71,7 @@ func buildCacheSort(buildCache []*types.BuildCache) {
7171
}
7272

7373
// BuildCacheWrite renders the context for a list of containers
74-
func BuildCacheWrite(ctx Context, buildCaches []*types.BuildCache) error {
74+
func BuildCacheWrite(ctx Context, buildCaches []*build.CacheRecord) error {
7575
render := func(format func(subContext SubContext) error) error {
7676
buildCacheSort(buildCaches)
7777
for _, bc := range buildCaches {
@@ -88,7 +88,7 @@ func BuildCacheWrite(ctx Context, buildCaches []*types.BuildCache) error {
8888
type buildCacheContext struct {
8989
HeaderContext
9090
trunc bool
91-
v *types.BuildCache
91+
v *build.CacheRecord
9292
}
9393

9494
func newBuildCacheContext() *buildCacheContext {

cli/command/formatter/disk_usage.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"text/template"
88

99
"github.com/distribution/reference"
10-
"github.com/docker/docker/api/types"
10+
"github.com/docker/docker/api/types/build"
1111
"github.com/docker/docker/api/types/container"
1212
"github.com/docker/docker/api/types/image"
1313
"github.com/docker/docker/api/types/volume"
@@ -38,7 +38,7 @@ type DiskUsageContext struct {
3838
Images []*image.Summary
3939
Containers []*container.Summary
4040
Volumes []*volume.Volume
41-
BuildCache []*types.BuildCache
41+
BuildCache []*build.CacheRecord
4242
BuilderSize int64
4343
}
4444

@@ -441,7 +441,7 @@ func (c *diskUsageVolumesContext) Reclaimable() string {
441441
type diskUsageBuilderContext struct {
442442
HeaderContext
443443
builderSize int64
444-
buildCache []*types.BuildCache
444+
buildCache []*build.CacheRecord
445445
}
446446

447447
func (c *diskUsageBuilderContext) MarshalJSON() ([]byte, error) {

vendor.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/distribution/reference v0.6.0
1515
github.com/docker/cli-docs-tool v0.9.0
1616
github.com/docker/distribution v2.8.3+incompatible
17-
github.com/docker/docker v28.1.2-0.20250515215111-fd1a78e0a388+incompatible // master, v28.x dev
17+
github.com/docker/docker v28.1.2-0.20250516114456-c04dec11437f+incompatible // master, v28.x dev
1818
github.com/docker/docker-credential-helpers v0.9.3
1919
github.com/docker/go-connections v0.5.0
2020
github.com/docker/go-units v0.5.0

vendor.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ github.com/docker/cli-docs-tool v0.9.0/go.mod h1:ClrwlNW+UioiRyH9GiAOe1o3J/TsY3T
5353
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
5454
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
5555
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
56-
github.com/docker/docker v28.1.2-0.20250515215111-fd1a78e0a388+incompatible h1:t6fp4pyFO9bUagzR2mxee6JdTAv5SJmqwMGUlllS7Hc=
57-
github.com/docker/docker v28.1.2-0.20250515215111-fd1a78e0a388+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
56+
github.com/docker/docker v28.1.2-0.20250516114456-c04dec11437f+incompatible h1:0jSTstSvJ1S0l/wH/vJ5JMnsSNpWx6dmqblTwe87dVc=
57+
github.com/docker/docker v28.1.2-0.20250516114456-c04dec11437f+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
5858
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
5959
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
6060
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c h1:lzqkGL9b3znc+ZUgi7FlLnqjQhcXxkNM/quxIjBVMD0=

vendor/github.com/docker/docker/AUTHORS

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/api/types/build/cache.go

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/api/types/build/disk_usage.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/api/types/container/disk_usage.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/api/types/image/disk_usage.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)