DockerCLI/cli/compose/loader
Rob Murray 1cddb2b03d
docker stack: allow '=' separator in extra_hosts
extra_hosts in the compose file format allows '=' as a separator, and brackets
around IP addresses, the engine API doesn't.

So, transform the values when reading a compose file for 'docker stack'.

Signed-off-by: Rob Murray <rob.murray@docker.com>
(cherry picked from commit c986d09bca)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-04 11:55:30 +01:00
..
testdata stacks: Add support for start interval 2023-10-20 18:42:59 +02:00
example1.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
example2.env Import docker/docker/cli 2017-04-17 17:40:59 -04:00
full-example.yml stacks: Add support for start interval 2023-10-20 18:42:59 +02:00
full-struct_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
interpolate.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
loader.go docker stack: allow '=' separator in extra_hosts 2024-03-04 11:55:30 +01:00
loader_test.go docker stack: allow '=' separator in extra_hosts 2024-03-04 11:55:30 +01:00
merge.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
merge_test.go add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
types_test.go cli/compose/loader: use golden.Assert() for readability 2024-01-08 14:16:19 +01:00
volume.go fix panic on single-character volumes 2020-02-21 01:38:52 +01:00
volume_test.go cli/container: Don't ignore error when parsing volume spec 2023-07-12 09:45:55 +02:00
windows_path.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
windows_path_test.go compose/loader: fix TestIsAbs not testing all combinations 2019-10-29 15:02:23 +01:00