Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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, 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.