(id string)
| 47 | } |
| 48 | |
| 49 | func (r *failedBuildResolver) Fetch(id string) (*image.Image, error) { |
| 50 | archive, err := docker.TestLoadArchive("../.data/test-docker-image.tar") |
| 51 | if err != nil { |
| 52 | return nil, err |
| 53 | } |
| 54 | return archive.ToImage() |
| 55 | } |
| 56 | |
| 57 | func (r *failedBuildResolver) Build(args []string) (*image.Image, error) { |
| 58 | return nil, fmt.Errorf("some build failure") |
nothing calls this directly
no test coverage detected