buildx/controller
Justin Chadwell a7e471b7b3 controller: only capture the result when invoked through a controller
This ensures that the code used to capture and evaluated a result is
only executed when built through the controller. Otherwise, no build
result should be recorded.

This ensures that new code added to capture and store the build result
for debugging isn't used when BUILDX_EXPERIMENTAL is not set.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-04-18 16:35:42 +01:00
..
build controller: only capture the result when invoked through a controller 2023-04-18 16:35:42 +01:00
control Enable to restore build options from the server 2023-04-15 15:38:05 +09:00
errdefs Allow passing ResultContext from server to the client through grpcerror 2023-04-15 15:11:32 +09:00
local controller: only capture the result when invoked through a controller 2023-04-18 16:35:42 +01:00
pb Enable to restore build options from the server 2023-04-15 15:38:05 +09:00
processes Enable to create container from error 2023-04-15 15:36:33 +09:00
remote controller: only capture the result when invoked through a controller 2023-04-18 16:35:42 +01:00
controller.go lint: ban fmt.Errorf in preference of errors.Errorf 2023-02-01 10:31:01 +00:00