(_ context.Context, options client.ImageTagOptions)
| 37 | func (e fakeStreamResult) Close() error { return e.ReadCloser.Close() } |
| 38 | |
| 39 | func (cli *fakeClient) ImageTag(_ context.Context, options client.ImageTagOptions) (client.ImageTagResult, error) { |
| 40 | if cli.imageTagFunc != nil { |
| 41 | return cli.imageTagFunc(options) |
| 42 | } |
| 43 | return client.ImageTagResult{}, nil |
| 44 | } |
| 45 | |
| 46 | func (cli *fakeClient) ImageSave(_ context.Context, images []string, options ...client.ImageSaveOption) (client.ImageSaveResult, error) { |
| 47 | if cli.imageSaveFunc != nil { |
no outgoing calls
no test coverage detected