@@ -17,15 +17,15 @@ type fakeClient struct {
1717 client.Client
1818 imageTagFunc func (string , string ) error
1919 imageSaveFunc func (images []string , options ... client.ImageSaveOption ) (io.ReadCloser , error )
20- imageRemoveFunc func (image string , options image. RemoveOptions ) ([]image.DeleteResponse , error )
21- imagePushFunc func (ref string , options image. PushOptions ) (io.ReadCloser , error )
20+ imageRemoveFunc func (image string , options client. ImageRemoveOptions ) ([]image.DeleteResponse , error )
21+ imagePushFunc func (ref string , options client. ImagePushOptions ) (io.ReadCloser , error )
2222 infoFunc func () (system.Info , error )
23- imagePullFunc func (ref string , options image. PullOptions ) (io.ReadCloser , error )
23+ imagePullFunc func (ref string , options client. ImagePullOptions ) (io.ReadCloser , error )
2424 imagesPruneFunc func (pruneFilter filters.Args ) (image.PruneReport , error )
2525 imageLoadFunc func (input io.Reader , options ... client.ImageLoadOption ) (image.LoadResponse , error )
26- imageListFunc func (options image. ListOptions ) ([]image.Summary , error )
26+ imageListFunc func (options client. ImageListOptions ) ([]image.Summary , error )
2727 imageInspectFunc func (img string ) (image.InspectResponse , error )
28- imageImportFunc func (source image. ImportSource , ref string , options image. ImportOptions ) (io.ReadCloser , error )
28+ imageImportFunc func (source client. ImageImportSource , ref string , options client. ImageImportOptions ) (io.ReadCloser , error )
2929 imageHistoryFunc func (img string , options ... client.ImageHistoryOption ) ([]image.HistoryResponseItem , error )
3030 imageBuildFunc func (context.Context , io.Reader , build.ImageBuildOptions ) (build.ImageBuildResponse , error )
3131}
@@ -45,15 +45,15 @@ func (cli *fakeClient) ImageSave(_ context.Context, images []string, options ...
4545}
4646
4747func (cli * fakeClient ) ImageRemove (_ context.Context , img string ,
48- options image. RemoveOptions ,
48+ options client. ImageRemoveOptions ,
4949) ([]image.DeleteResponse , error ) {
5050 if cli .imageRemoveFunc != nil {
5151 return cli .imageRemoveFunc (img , options )
5252 }
5353 return []image.DeleteResponse {}, nil
5454}
5555
56- func (cli * fakeClient ) ImagePush (_ context.Context , ref string , options image. PushOptions ) (io.ReadCloser , error ) {
56+ func (cli * fakeClient ) ImagePush (_ context.Context , ref string , options client. ImagePushOptions ) (io.ReadCloser , error ) {
5757 if cli .imagePushFunc != nil {
5858 return cli .imagePushFunc (ref , options )
5959 }
@@ -67,7 +67,7 @@ func (cli *fakeClient) Info(_ context.Context) (system.Info, error) {
6767 return system.Info {}, nil
6868}
6969
70- func (cli * fakeClient ) ImagePull (_ context.Context , ref string , options image. PullOptions ) (io.ReadCloser , error ) {
70+ func (cli * fakeClient ) ImagePull (_ context.Context , ref string , options client. ImagePullOptions ) (io.ReadCloser , error ) {
7171 if cli .imagePullFunc != nil {
7272 return cli .imagePullFunc (ref , options )
7373 }
@@ -88,7 +88,7 @@ func (cli *fakeClient) ImageLoad(_ context.Context, input io.Reader, options ...
8888 return image.LoadResponse {}, nil
8989}
9090
91- func (cli * fakeClient ) ImageList (_ context.Context , options image. ListOptions ) ([]image.Summary , error ) {
91+ func (cli * fakeClient ) ImageList (_ context.Context , options client. ImageListOptions ) ([]image.Summary , error ) {
9292 if cli .imageListFunc != nil {
9393 return cli .imageListFunc (options )
9494 }
@@ -102,8 +102,8 @@ func (cli *fakeClient) ImageInspect(_ context.Context, img string, _ ...client.I
102102 return image.InspectResponse {}, nil
103103}
104104
105- func (cli * fakeClient ) ImageImport (_ context.Context , source image. ImportSource , ref string ,
106- options image. ImportOptions ,
105+ func (cli * fakeClient ) ImageImport (_ context.Context , source client. ImageImportSource , ref string ,
106+ options client. ImageImportOptions ,
107107) (io.ReadCloser , error ) {
108108 if cli .imageImportFunc != nil {
109109 return cli .imageImportFunc (source , ref , options )
0 commit comments