buildx/build
Jonathan A. Sternberg 5c89004bb6
driver: initialize tracer delegate in driver handle instead of individual plugins
This refactors the driver handle to initialize the tracer delegate
inside of the driver handle instead of the individual plugins.

This provides more uniformity to how the tracer delegate is created by
allowing the driver handle to pass additional client options to the
drivers when they create the client. It also avoids creating the tracer
delegate client multiple times because the driver handle will only
initialize the client once. This prevents some drivers, like the remote
driver, from accidentally registering multiple clients as tracer
delegates.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2024-03-27 15:13:43 -05:00
..
build.go driver: initialize tracer delegate in driver handle instead of individual plugins 2024-03-27 15:13:43 -05:00
dial.go Add dial-stdio command 2024-02-08 22:16:00 +00:00
driver.go build: move solveOpt to local struct type 2023-12-11 19:53:05 +01:00
driver_test.go build: infer platform from first node if none set 2023-11-28 11:55:47 +01:00
git.go chore: switch to LocalMounts implementation 2024-03-13 18:59:14 +01:00
git_test.go chore: switch to LocalMounts implementation 2024-03-13 18:59:14 +01:00
invoke.go build: rename ResultContext to ResultHandle 2023-05-31 09:50:46 +01:00
localstate.go build: support local state group 2023-09-30 01:08:06 +02:00
opt.go chore: switch to LocalMounts implementation 2024-03-13 18:59:14 +01:00
result.go controller: return original error to preserve stacktrace 2023-10-13 12:09:35 +09:00
url.go build: set remote bake def and remote dockerfile as internal solve 2023-07-19 04:18:28 +02:00
utils.go driver: initialize tracer delegate in driver handle instead of individual plugins 2024-03-27 15:13:43 -05:00
utils_test.go Permit '=' separator and '[ipv6]' in --add-host 2023-11-22 10:52:14 +00:00