compose/internal
Nicolas De Loof 89ff984452 refactor(relay): move the provider relay management to internal/relay
The relay container and the relay link networks that stand in for a
provider service need three things from the engine: the Docker API, the
event bus and whether Docker Desktop is the engine.

They now live in internal/relay behind a Backend interface that
composeService implements in pkg/compose/relay.go, which keeps the names
the lifecycle code calls (ensureServiceRelay, isRelayContainer,
checkRelayTarget...) as one-line forwarders, so none of its callers change.
The one down-specific piece, turning the relay link networks into down
operations gated on the shared limiter, stays in pkg/compose together with
its tests; the other relay tests move with the code, assertions unchanged.

The progress events and the container name the package needs come from two
small shared packages, internal/progress and internal/naming, which the
following moves reuse. pkg/compose keeps its own copies until the shared
kernel is extracted.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-15 09:10:05 +02:00
..
desktop fix(publish): bypass Docker Desktop proxy for loopback registries 2026-06-15 21:18:19 +02:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
inspect refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
locker build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
memnet golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
naming refactor(relay): move the provider relay management to internal/relay 2026-10-15 09:10:05 +02:00
oci test(oci): drop TestNewResolver_SendsPasswordGrant 2026-10-07 14:24:28 +02:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
progress refactor(relay): move the provider relay management to internal/relay 2026-10-15 09:10:05 +02:00
projectloader refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
registry build(deps): bump secrets-engine client to v0.2.0 2026-10-12 16:31:10 +02:00
relay refactor(relay): move the provider relay management to internal/relay 2026-10-15 09:10:05 +02:00
sync fix: share --parallel budget across down's ops and up's log-attach 2026-10-01 16:02:14 +02:00
tracing build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00