DockerCLI/cli/compose/loader
Sebastiaan van Stijn f88ae74135
Add "host-gateway" to tests for extra_hosts / --add-host
67ebcd6dcf added an exception for
the "host-gateway" magic value to the validation rules, but didn't
add thise value to any of the tests.

This patch adds the magic value to tests, to verify the validation
is skipped for this magic value.

Note that validation on the client side is "optional" and mostly
done to provide a more user-friendly error message for regular
values (IP-addresses).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-15 09:52:55 +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 Add "host-gateway" to tests for extra_hosts / --add-host 2020-04-15 09:52:55 +02:00
full-struct_test.go Add "host-gateway" to tests for extra_hosts / --add-host 2020-04-15 09:52:55 +02:00
interpolate.go Add interpolation type cast for max_replicas_per_node 2019-11-05 08:31:36 +01:00
loader.go compose/loader: define type for transformer-functions 2019-10-31 19:22:21 +01:00
loader_test.go Add "host-gateway" to tests for extra_hosts / --add-host 2020-04-15 09:52:55 +02:00
merge.go Added transforms for compose overrides 2020-01-24 15:52:36 +00:00
merge_test.go Merge pull request #2357 from thaJeztah/gofmt_test 2020-02-26 15:23:57 +01:00
types_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
volume.go fix panic on single-character volumes 2020-02-21 01:38:52 +01:00
volume_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
windows_path.go Detect Windows absolute paths on non-Windows CLI 2019-07-10 21:25:03 +02:00
windows_path_test.go compose/loader: fix TestIsAbs not testing all combinations 2019-10-29 15:02:23 +01:00