DockerCLI/cli/compose/loader
Sebastiaan van Stijn bc2e274782
vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0
github.com/mitchellh/mapstructure will no longer be maintained by the author,
and github.com/go-viper/mapstructure is nominated as the endorsed fork.

- v1.x changes since last release from mitchellh: https://github.com/go-viper/mapstructure/compare/v1.5.0...v1.6.0
- v2.0 changes: https://github.com/go-viper/mapstructure/compare/v1.6.0...v2.0.0

Breaking changes

Error is removed in favor of errors.Join (backported from Go 1.20 to preserve
compatibility with earlier versions)

What's Changed

- feat!: update module path
- build: update dev env
- feature: add StringToBasicTypeHookFunc and support complex
- Add an example showing how to use a DecodeHookFunc to parse a custom field.
- Remove exposed error type
- Replace internal joined error with errors.Join

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-06 00:05:45 +02: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 vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0 2024-06-06 00:05:45 +02:00
loader_test.go docker stack: allow '=' separator in extra_hosts 2024-02-07 17:57:17 +00: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