terraform/tfdiags
Martin Atkins 79b62ae8ca tfdiags: ConsolidateWarnings method
This detects when there are many warning diagnostics with the same summary
and consolidates some of them together into a single diagnostic in order
to make the resulting output less overwhelming when presented in CLI
output where other information is competing for attention with the
warnings.

This is not yet used anywhere. Usage of it will follow in a subsequent
commit.
2019-11-19 15:36:08 -08:00
..
config_traversals.go tfdiags: FormatErrorPrefixed 2018-10-16 19:14:11 -07:00
consolidate_warnings.go tfdiags: ConsolidateWarnings method 2019-11-19 15:36:08 -08:00
consolidate_warnings_test.go tfdiags: ConsolidateWarnings method 2019-11-19 15:36:08 -08:00
contextual.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
contextual_test.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
diagnostic.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
diagnostic_base.go tfdiags: Expose expression evaluation information from diagnostics 2018-10-18 17:12:01 -07:00
diagnostics.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
diagnostics_test.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
doc.go tfdiags: new package for normalizing error and warning messages 2017-10-06 11:46:07 -07:00
error.go tfdiags: Expose expression evaluation information from diagnostics 2018-10-18 17:12:01 -07:00
hcl.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
rpc_friendly.go tfdiags: Expose expression evaluation information from diagnostics 2018-10-18 17:12:01 -07:00
rpc_friendly_test.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
severity_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
simple_warning.go tfdiags: Expose expression evaluation information from diagnostics 2018-10-18 17:12:01 -07:00
source_range.go tfdiags: SourceRange.StartString 2017-10-06 11:46:07 -07:00
sourceless.go tfdiags: Simple helper for creating "sourceless" diagnostics 2018-10-16 18:24:10 -07:00