(task *task.Task, imageName string)
| 316 | } |
| 317 | |
| 318 | func (c Client) PullImageWithProcess(task *task.Task, imageName string) error { |
| 319 | options := image.PullOptions{} |
| 320 | if authStr, ok := loadRegistryAuthFromDockerConfig(imageName); ok { |
| 321 | options.RegistryAuth = authStr |
| 322 | } |
| 323 | return c.PullImageWithProcessAndOptions(task, imageName, options) |
| 324 | } |
| 325 | |
| 326 | func logProcess(progress map[string]interface{}, task *task.Task) { |
| 327 | status, _ := progress["status"].(string) |
no test coverage detected