(_ context.Context, source client.ImageImportSource, ref string, options client.ImageImportOptions)
| 109 | } |
| 110 | |
| 111 | func (cli *fakeClient) ImageImport(_ context.Context, source client.ImageImportSource, ref string, options client.ImageImportOptions) (client.ImageImportResult, error) { |
| 112 | if cli.imageImportFunc != nil { |
| 113 | return cli.imageImportFunc(source, ref, options) |
| 114 | } |
| 115 | return http.NoBody, nil |
| 116 | } |
| 117 | |
| 118 | func (cli *fakeClient) ImageHistory(_ context.Context, img string, options ...client.ImageHistoryOption) (client.ImageHistoryResult, error) { |
| 119 | if cli.imageHistoryFunc != nil { |