terraform/tfdiags
James Bardin 83538bbecb add tfdiags.GetAttribute
The only contextual information returned by the plugins in a diagnostic
is an attribute path. In order to test the conversions, we need to be
able to extract the cty.Path from a diagnostic if it exists.
2018-10-16 18:50:29 -07:00
..
config_traversals.go tfdiags: helper functions for nicer display of cty.PathError 2018-10-16 18:24:10 -07:00
contextual.go add tfdiags.GetAttribute 2018-10-16 18:50:29 -07:00
contextual_test.go add tfdiags.GetAttribute 2018-10-16 18:50:29 -07:00
diagnostic.go
diagnostic_base.go tfdiags: Contextual diagnostics 2018-10-16 18:24:10 -07:00
diagnostics.go tfdiags: Sort order for diagnostics 2018-10-16 18:50:29 -07:00
diagnostics_test.go tfdiags: Diagnostics.ErrWithWarnings and .NonFatalErr 2018-10-16 18:44:26 -07:00
doc.go
error.go tfdiags: helper functions for nicer display of cty.PathError 2018-10-16 18:24:10 -07:00
hcl.go tfdiags: Helper to construct SourceRange from hcl.Range 2017-10-16 17:51:16 -07:00
rpc_friendly.go tfdiags: Allow construction of RPC-friendly Diagnostics 2017-10-06 11:46:07 -07:00
rpc_friendly_test.go tfdiags: Allow construction of RPC-friendly Diagnostics 2017-10-06 11:46:07 -07:00
severity_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
simple_warning.go
source_range.go
sourceless.go tfdiags: Simple helper for creating "sourceless" diagnostics 2018-10-16 18:24:10 -07:00