terraform/plans
Martin Atkins b7db32b819 plans: separate types for encoded and decoded changes
The types here were originally written to allow us to defer decoding of
object values until schemas are available, but it turns out that this was
forcing us to defer decoding longer than necessary and potentially decode
the same value multiple times.

To avoid this, we create pairs of types to represent the encoded and
decoded versions and methods for moving between them. These types are
identical to one another apart from how the dynamic values are
represented.
2018-10-16 18:58:49 -07:00
..
internal/planproto plans: Include target addresses in the plan 2018-10-16 18:50:29 -07:00
planfile plans: separate types for encoded and decoded changes 2018-10-16 18:58:49 -07:00
action.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
action_string.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes.go plans: separate types for encoded and decoded changes 2018-10-16 18:58:49 -07:00
changes_src.go plans: separate types for encoded and decoded changes 2018-10-16 18:58:49 -07:00
changes_state.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
doc.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value_test.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
plan.go plans: Include target addresses in the plan 2018-10-16 18:50:29 -07:00
plan_test.go various: helpers for collecting necessary provider types 2018-10-16 18:50:29 -07:00