mirror of
https://github.com/docker/compose.git
synced 2026-11-19 06:29:52 +00:00
These four operations act from the outside on the container of a service. They only need the Docker client, the concurrency bound, the event bus, the dry-run switch, the Docker CLI (which owns the terminal streams) and the two container lookups, so they move out of the flat pkg/compose package into internal/containerops behind a Backend interface declaring exactly that. composeService implements the interface in a new file and keeps Exec, Copy, Export and Commit as one-line forwarders (the progress wrapper of the last three stays there), so no caller changes. The now unused checkRelayTarget forwarder is dropped. Behavior is unchanged: the cp test still runs through the forwarders. Part of #14396 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||