(ctx context.Context, ref string, options client.ImagePullOptions)
| 217 | } |
| 218 | |
| 219 | func (d *DryRunClient) ImagePull(ctx context.Context, ref string, options client.ImagePullOptions) (client.ImagePullResponse, error) { |
| 220 | if _, _, err := d.resolver.Resolve(ctx, ref); err != nil { |
| 221 | return nil, err |
| 222 | } |
| 223 | return fakeStreamResult{ReadCloser: http.NoBody}, nil |
| 224 | } |
| 225 | |
| 226 | func (d *DryRunClient) ImagePush(ctx context.Context, ref string, options client.ImagePushOptions) (client.ImagePushResponse, error) { |
| 227 | if _, _, err := d.resolver.Resolve(ctx, ref); err != nil { |
no outgoing calls
no test coverage detected