(_ context.Context, buildContext io.Reader, options client.ImageBuildOptions)
| 182 | } |
| 183 | |
| 184 | func (f *fakeBuild) build(_ context.Context, buildContext io.Reader, options client.ImageBuildOptions) (client.ImageBuildResult, error) { |
| 185 | f.context = tar.NewReader(buildContext) |
| 186 | f.options = options |
| 187 | body := new(bytes.Buffer) |
| 188 | return client.ImageBuildResult{Body: io.NopCloser(body)}, nil |
| 189 | } |
| 190 | |
| 191 | func (f *fakeBuild) headers(t *testing.T) []*tar.Header { |
| 192 | t.Helper() |
no outgoing calls
no test coverage detected