fix(deps): update module github.com/docker/docker to v27 #4524
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (6)
mock/docker/config.go|1| : # github.com/go-vela/worker/mock/docker
mock/docker/image.go|253 col 31| cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
mock/docker/mock.go|110 col 32| cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
runtime/docker/docker.go|9 col 7| could not import github.com/go-vela/worker/mock/docker (-: # github.com/go-vela/worker/mock/docker
mock/docker/image.go|253 col 31| cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
mock/docker/mock.go|110 col 32| cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
Filtered Findings (0)
Annotations
Check failure on line 1 in mock/docker/config.go
github-actions / golangci
[golangci] mock/docker/config.go#L1
: # github.com/go-vela/worker/mock/docker
Raw output
mock/docker/config.go:1: : # github.com/go-vela/worker/mock/docker
Check failure on line 253 in mock/docker/image.go
github-actions / golangci
[golangci] mock/docker/image.go#L253
cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
Raw output
mock/docker/image.go:253:31: cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
have ImageImport(context.Context, types.ImageImportSource, string, image.ImportOptions) (io.ReadCloser, error)
want ImageImport(context.Context, image.ImportSource, string, image.ImportOptions) (io.ReadCloser, error)
Check failure on line 110 in mock/docker/mock.go
github-actions / golangci
[golangci] mock/docker/mock.go#L110
cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
Raw output
mock/docker/mock.go:110:32: cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
have ImageImport(context.Context, types.ImageImportSource, string, image.ImportOptions) (io.ReadCloser, error)
want ImageImport(context.Context, image.ImportSource, string, image.ImportOptions) (io.ReadCloser, error) (typecheck)
// SPDX-License-Identifier: Apache-2.0
Check failure on line 9 in runtime/docker/docker.go
github-actions / golangci
[golangci] runtime/docker/docker.go#L9
could not import github.com/go-vela/worker/mock/docker (-: # github.com/go-vela/worker/mock/docker
Raw output
runtime/docker/docker.go:9:7: could not import github.com/go-vela/worker/mock/docker (-: # github.com/go-vela/worker/mock/docker
Check failure on line 253 in mock/docker/image.go
github-actions / golangci
[golangci] mock/docker/image.go#L253
cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
Raw output
mock/docker/image.go:253:31: cannot use (*ImageService)(nil) (value of type *ImageService) as client.ImageAPIClient value in variable declaration: *ImageService does not implement client.ImageAPIClient (wrong type for method ImageImport)
have ImageImport(context.Context, types.ImageImportSource, string, image.ImportOptions) (io.ReadCloser, error)
want ImageImport(context.Context, image.ImportSource, string, image.ImportOptions) (io.ReadCloser, error)
Check failure on line 110 in mock/docker/mock.go
github-actions / golangci
[golangci] mock/docker/mock.go#L110
cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
Raw output
mock/docker/mock.go:110:32: cannot use (*mock)(nil) (value of type *mock) as client.CommonAPIClient value in variable declaration: *mock does not implement client.CommonAPIClient (wrong type for method ImageImport)
have ImageImport(context.Context, types.ImageImportSource, string, image.ImportOptions) (io.ReadCloser, error)
want ImageImport(context.Context, image.ImportSource, string, image.ImportOptions) (io.ReadCloser, error)) (typecheck)
mock "github.com/go-vela/worker/mock/docker"
^