@@ -67,7 +67,7 @@ func (i *ImageService) ImageHistory(ctx context.Context, image string) ([]image.
67
67
// a mocked call to import a Docker image.
68
68
//
69
69
// https://pkg.go.dev/github.com/docker/docker/client#Client.ImageImport
70
- func (i * ImageService ) ImageImport (ctx context.Context , source types. ImageImportSource , ref string , options image.ImportOptions ) (io.ReadCloser , error ) {
70
+ func (i * ImageService ) ImageImport (ctx context.Context , source image. ImportSource , ref string , options image.ImportOptions ) (io.ReadCloser , error ) {
71
71
return nil , nil
72
72
}
73
73
@@ -143,7 +143,7 @@ func (i *ImageService) ImageList(ctx context.Context, options image.ListOptions)
143
143
//
144
144
// https://pkg.go.dev/github.com/docker/docker/client#Client.ImageLoad
145
145
func (i * ImageService ) ImageLoad (ctx context.Context , input io.Reader , quiet bool ) (types.ImageLoadResponse , error ) {
146
- return types. ImageLoadResponse {}, nil
146
+ return image. LoadResponse {}, nil
147
147
}
148
148
149
149
// ImagePull is a helper function to simulate
@@ -239,8 +239,8 @@ func (i *ImageService) ImageTag(ctx context.Context, image, ref string) error {
239
239
// a mocked call to prune Docker images.
240
240
//
241
241
// https://pkg.go.dev/github.com/docker/docker/client#Client.ImagesPrune
242
- func (i * ImageService ) ImagesPrune (ctx context.Context , pruneFilter filters.Args ) (types. ImagesPruneReport , error ) {
243
- return types. ImagesPruneReport {}, nil
242
+ func (i * ImageService ) ImagesPrune (ctx context.Context , pruneFilter filters.Args ) (image. PruneReport , error ) {
243
+ return image. PruneReport {}, nil
244
244
}
245
245
246
246
// WARNING: DO NOT REMOVE THIS UNDER ANY CIRCUMSTANCES
0 commit comments