compose/pkg/compose
Milas Bowman 1ee44a0acb
config: use correct YAML marshal func (#9712)
The `compose-spec/compose-go` lib is written with `gopkg.in/yaml.v2`
as a target.

When marshalling via CLI (`compose convert` / `compose config`), we
were using a _different_ YAML lib, which was a fork of `go-yaml`,
which is what `gopkg.in/yaml.v2` is based off of.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-08-03 20:41:43 +00:00
..
testdata prefer canonical `compose.yaml` file name 2021-06-22 11:23:57 +02:00
attach.go Fix nolint issues 2022-07-13 19:33:06 +02:00
build.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
build_buildkit.go Bump buildx to v0.8.0 2022-03-11 14:05:55 +01:00
build_classic.go as --no-build is set, set service image to default image name 2022-07-29 17:41:53 +02:00
compose.go config: use correct YAML marshal func (#9712) 2022-08-03 20:41:43 +00:00
container.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
containers.go align cp command index management with exec command 2022-05-10 10:50:40 +02:00
convergence.go Fix LinkLocalIPs in V2 2022-07-29 21:19:34 +02:00
convergence_test.go prevent getCanonicalContainerName to crash 2022-03-07 14:58:39 +01:00
convert.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
cp.go Add "style" tag to gocritic 2022-07-13 19:33:06 +02:00
create.go Fix LinkLocalIPs in V2 2022-07-29 21:19:34 +02:00
create_test.go use '-' as separator by default for image name 2022-07-29 18:55:22 +02:00
dependencies.go fixed some spelling mistakes 2022-06-14 21:33:36 +02:00
dependencies_test.go introduce `convergence` to hold per-service Containers and prevent race conditions 2021-06-25 13:18:00 +02:00
down.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
down_test.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
envresolver.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
envresolver_test.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
errors.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
events.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
exec.go align cp command index management with exec command 2022-05-10 10:50:40 +02:00
filters.go move compose-cli code into docker/compose/v2 2021-08-31 19:09:19 +02:00
hash.go update usage strings for consistency 2022-08-02 13:32:29 +02:00
images.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
kill.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
kill_test.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
logs.go Fix nolint issues 2022-07-13 19:33:06 +02:00
ls.go Add gocritic to linters 2022-07-13 19:33:03 +02:00
ls_test.go Add unit tests for combinedConfigFiles logic 2022-02-18 16:37:35 +01:00
metrics.go Add gocritic to linters 2022-07-13 19:33:03 +02:00
pause.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
port.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
printer.go Add "style" tag to gocritic 2022-07-13 19:33:06 +02:00
ps.go Filter `compose ps` output by provided compose model 2022-08-02 22:33:26 +02:00
ps_test.go Filter `compose ps` output by provided compose model 2022-08-02 22:33:26 +02:00
pull.go inspect image ID after pull to se com.docker.compose.image 2022-04-21 22:42:29 +02:00
push.go composeService to use dockerCli's In/Out/Err streams 2022-03-03 16:34:57 +01:00
remove.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
restart.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
run.go config: case-insensitive env vars on Windows (#9438) 2022-08-02 14:56:09 -04:00
secrets.go Add "opinionated" tag to gocritic 2022-07-13 19:33:06 +02:00
start.go Use appropriate dependency condition for one-shot containers when running `compose up --wait` 2022-06-18 01:20:40 +02:00
stop.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
stop_test.go if command is ran with a compose file, apply the compose model, not just project name 2022-08-02 22:33:26 +02:00
top.go project name MUST be lowercase 2022-04-13 09:49:01 +02:00
up.go up: do not stop dependency containers (#9701) 2022-08-02 15:25:59 -04:00