package build
import "github.com/docker/buildx/controller/build"
Index ¶
Functions ¶
func RunBuild ¶
func RunBuild(ctx context.Context, dockerCli command.Cli, in *controllerapi.BuildOptions, inStream io.Reader, progress progress.Writer, generateResult bool) (*client.SolveResponse, *build.ResultHandle, *build.Inputs, error)
RunBuild runs the specified build and returns the result.
NOTE: When an error happens during the build and this function acquires the debuggable *build.ResultHandle, this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can inspect the result and debug the cause of that error.
Source Files ¶
- Version
- v0.21.0-rc1
- Published
- Feb 12, 2025
- Platform
- js/wasm
- Imports
- 23 packages
- Last checked
- 9 hours ago –
Tools for package owners.