compose/pkg/compose
cuiweixie 3bac9ffd08 Refactor to use maps.Copy
Signed-off-by: cuiweixie <cuiweixie@gmail.com>
2025-08-25 08:57:52 +02:00
..
testdata Publish compose file with required siblings used by extends 2025-03-07 13:58:10 +01:00
transform implement extends.file replace without yqlib 2025-03-11 14:18:41 +01:00
apiSocket.go mount /var/run/docker.sock for --use-api-socket 2025-06-30 18:45:39 +02:00
attach.go (refactoring) introduce monitor to manage containers events and application termination 2025-07-16 17:24:11 +02:00
attach_service.go go ahead and wire up sig-proxy and no-stdin for consistency with underlying docker container attach 2024-01-08 17:15:11 -06:00
build.go introduce build.provenance and sbom support 2025-07-21 17:07:41 +02:00
build_bake.go add --provenance and --sbom flag to generated bake command line, 2025-08-13 09:36:22 +02:00
build_buildkit.go add dry-run support to bake build 2025-07-15 10:52:03 +02:00
build_classic.go bump github.com/docker/docker, docker/cli v28.2.2 2025-06-02 10:39:56 +02:00
build_test.go select services implicitly declared by a service:xx build dependency 2025-05-05 10:20:19 +02:00
commit.go bump github.com/docker/docker, docker/cli v28.2.2 2025-06-02 10:39:56 +02:00
compose.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
container.go
containers.go (refactoring) introduce monitor to manage containers events and application termination 2025-07-16 17:24:11 +02:00
convergence.go Refactor to use maps.Copy 2025-08-25 08:57:52 +02:00
convergence_test.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
convert.go e2e test for start_interval 2025-04-30 11:08:09 +02:00
cp.go pkg/compose: use local copy of pkg/system.IsAbs 2025-07-21 16:02:52 +02:00
create.go remove import aliases for containerd/errdefs 2025-07-21 15:51:39 +02:00
create_test.go introduce networks.interface_name 2025-04-24 12:06:17 +02:00
dependencies.go remove utils.Contains to prefer slice.ContainsFunc 2025-05-27 15:16:50 +02:00
dependencies_test.go Set Required false to depends_on containers for compose -p stop/down 2024-04-11 10:48:09 +02:00
desktop.go remove support of Synchronize File Shares integration with Docker Desktop 2025-04-22 15:29:23 +02:00
down.go remove import aliases for containerd/errdefs 2025-07-21 15:51:39 +02:00
down_test.go pkg/compose: remove uses of moby/errdefs 2025-07-21 15:51:39 +02:00
envresolver.go format code with gofumpt 2024-12-17 16:50:14 +01:00
envresolver_test.go ci: remove uses of deprecated gotest.tools v2 (#9935) 2022-11-07 14:07:41 -05:00
events.go feat: add since & until flags to events command 2025-07-09 10:08:33 +02:00
exec.go add a default statut messsage to exec error to avoid empty line display 2025-06-27 20:44:49 +02:00
export.go pkg/compose: implement Export using atomicwriter 2025-04-09 08:26:11 +02:00
filters.go detect network conflict as name is not guaranteed to be unique (#10612) 2023-05-31 14:46:23 -04:00
generate.go replace uses of golang.org/x/exp/(maps|slices) for stdlib 2025-06-02 10:43:17 +02:00
hash.go Recreate container on volume configuration change 2024-12-12 19:11:00 +01:00
hash_test.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
hook.go (refactoring) introduce monitor to manage containers events and application termination 2025-07-16 17:24:11 +02:00
image_pruner.go remove import aliases for containerd/errdefs 2025-07-21 15:51:39 +02:00
images.go remove import aliases for containerd/errdefs 2025-07-21 15:51:39 +02:00
images_test.go include platform and creation date listing image used by running compose application 2025-06-02 16:07:24 +02:00
kill.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
kill_test.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
logs.go use logs API with Since to collect the very first logs after restart 2025-07-16 17:24:11 +02:00
logs_test.go (refactoring) introduce monitor to manage containers events and application termination 2025-07-16 17:24:11 +02:00
ls.go refactor: use slices.Contains to simplify code 2025-05-27 11:45:26 +02:00
ls_test.go bump golangci-lint to version v2.0.2 2025-03-31 18:50:15 +02:00
model.go add missing _MODEL suffix to model variable pass to dependent services of a model 2025-07-29 09:40:46 +02:00
monitor.go monitor must watch events even when context is cancelled 2025-07-17 15:08:35 +02:00
pause.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
plugins.go use cli-plugins/metadata package 2025-08-05 10:01:53 +02:00
plugins_windows.go append .exe to provider name doing executable lookup on windows 2025-05-14 17:19:35 +02:00
port.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
printer.go use logs API with Since to collect the very first logs after restart 2025-07-16 17:24:11 +02:00
ps.go golangci-lint: enable copyloopvar linter 2025-02-10 13:46:41 +01:00
ps_test.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
publish.go improve publish bind mount warning message 2025-06-30 18:45:30 +02:00
publish_test.go implement extends.file replace without yqlib 2025-03-11 14:18:41 +01:00
pull.go pkg/compose: simplify getting auth-config key 2025-08-05 10:08:23 +02:00
push.go pkg/compose: simplify getting auth-config key 2025-08-05 10:08:23 +02:00
remove.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
restart.go Fix support for depends_on.restart in up and restart commands 2025-03-19 15:29:50 +01:00
run.go introduce support for models 2025-06-30 19:22:35 +02:00
scale.go format code with gofumpt 2024-12-17 16:50:14 +01:00
secrets.go fix(secrets): Reverted secrets file mode 440 -> 444 2025-03-25 07:00:24 +01:00
shellout.go use cli-plugins/metadata package 2025-08-05 10:01:53 +02:00
start.go use log API for containers we didn't attached to 2025-07-29 14:23:24 +02:00
stop.go keep containers attached on stop to capture termination logs 2025-07-15 11:26:44 +02:00
stop_test.go go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1 2025-02-21 15:23:25 +01:00
suffix_unix.go append .exe to provider name doing executable lookup on windows 2025-05-14 17:19:35 +02:00
top.go review: move Summary/Replica collection from cmd/ to pkg/ 2025-03-13 14:23:51 +01:00
up.go only monitor attached services on up command 2025-08-08 17:27:08 +02:00
viz.go golangci-lint: enable copyloopvar linter 2025-02-10 13:46:41 +01:00
viz_test.go ci: enable testifylint linter 2024-11-12 11:12:32 +01:00
volumes.go fix linting errors 2025-06-30 19:38:27 +02:00
volumes_test.go add volumes command test cases 2025-06-30 19:38:27 +02:00
wait.go golangci-lint: enable copyloopvar linter 2025-02-10 13:46:41 +01:00
watch.go show build progress during watch rebuild 2025-07-23 13:57:46 +02:00
watch_test.go (refactoring) introduce monitor to manage containers events and application termination 2025-07-16 17:24:11 +02:00