Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c0bb633

Browse files
authored
Merge pull request #400 from rheinwein/ljf-update-docker-plugin-getter
Update dependency path for docker/docker/pkg/plugingetter
2 parents 4bfeaef + ee6f548 commit c0bb633

File tree

26 files changed

+330
-88
lines changed

26 files changed

+330
-88
lines changed

hack/vendor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clone git github.com/Sirupsen/logrus v0.10.0
99
clone git github.com/urfave/cli v1.18.0
1010
clone git github.com/docker/distribution 77b9d2997abcded79a5314970fe69a44c93c25fb
1111
clone git github.com/vbatts/tar-split v0.9.11
12-
clone git github.com/docker/docker 601004e1a714d77d3a43e957b8ae8adbc867b280
12+
clone git github.com/docker/docker 8658748ef716e43a5f6d834825d818012ed6e2c4
1313
clone git github.com/docker/go-units f2145db703495b2e525c59662db69a7344b00bb8
1414
clone git github.com/docker/go-connections 988efe982fdecb46f01d53465878ff1f2ff411ce
1515
clone git github.com/flynn/go-shlex 3f9db97f856818214da2e1057f8ad84803971cff

test/nop.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ func (client *NopClient) ContainerWait(ctx context.Context, container string) (i
196196
return 0, errNoEngine
197197
}
198198

199+
// ContainersPrune requests the daemon to delete unused data
200+
func (client *NopClient) ContainersPrune(ctx context.Context, cfg types.ContainersPruneConfig) (types.ContainersPruneReport, error) {
201+
return types.ContainersPruneReport{}, errNoEngine
202+
}
203+
199204
// CopyFromContainer gets the content from the container and returns it as a Reader to manipulate it in the host
200205
func (client *NopClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error) {
201206
return nil, types.ContainerPathStat{}, errNoEngine
@@ -206,6 +211,11 @@ func (client *NopClient) CopyToContainer(ctx context.Context, container, path st
206211
return errNoEngine
207212
}
208213

214+
// DiskUsage requests the current data usage from the daemon
215+
func (client *NopClient) DiskUsage(ctx context.Context) (types.DiskUsage, error) {
216+
return types.DiskUsage{}, errNoEngine
217+
}
218+
209219
// Events returns a stream of events in the daemon in a ReadCloser
210220
func (client *NopClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error) {
211221
return nil, nil
@@ -276,6 +286,11 @@ func (client *NopClient) ImageTag(ctx context.Context, image, ref string) error
276286
return errNoEngine
277287
}
278288

289+
// ImagesPrune requests the daemon to delete unused data
290+
func (client *NopClient) ImagesPrune(ctx context.Context, cfg types.ImagesPruneConfig) (types.ImagesPruneReport, error) {
291+
return types.ImagesPruneReport{}, errNoEngine
292+
}
293+
279294
// Info returns information about the docker server
280295
func (client *NopClient) Info(ctx context.Context) (types.Info, error) {
281296
return types.Info{}, errNoEngine
@@ -354,3 +369,8 @@ func (client *NopClient) VolumeList(ctx context.Context, filter filters.Args) (t
354369
func (client *NopClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error {
355370
return errNoEngine
356371
}
372+
373+
// VolumesPrune requests the daemon to delete unused data
374+
func (client *NopClient) VolumesPrune(ctx context.Context, cfg types.VolumesPruneConfig) (types.VolumesPruneReport, error) {
375+
return types.VolumesPruneReport{}, errNoEngine
376+
}

vendor/github.com/docker/docker/api/types/client.go

Lines changed: 2 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/types.go

Lines changed: 56 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/client/README.md

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

vendor/github.com/docker/docker/client/client.go

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

vendor/github.com/docker/docker/client/container_prune.go

Lines changed: 26 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/client/disk_usage.go

Lines changed: 26 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)