mirror of
https://github.com/docker/compose.git
synced 2026-11-18 14:13:49 +00:00
LoadProject and Generate (the api.ProjectLoader operations) need two things from the engine: the Docker API, to read the containers a project is generated from, and the Docker CLI, which resolves remote Compose files. They now live in internal/projectloader, along with the unsupported attributes detection only the loader uses, behind a Backend interface that composeService implements in a new file of pkg/compose, like internal/inspect. The tests move with the code; their assertions are unchanged, only the way the service is built differs. The canonical container name, which both this package and internal/inspect need, moves to a tiny internal/naming package instead of being copied a third time. pkg/compose keeps its own copy until the shared kernel is extracted. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| desktop | ||
| experimental | ||
| inspect | ||
| locker | ||
| memnet | ||
| naming | ||
| oci | ||
| paths | ||
| pidfile | ||
| projectloader | ||
| registry | ||
| sync | ||
| tracing | ||
| variables.go | ||