mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-26 00:27:03 -04:00
Previously we had the progress messages directly inlined as events of the PlanStackChanges operation, but that means that there's no common interface type for progress events across both the plan and apply phases, making it hard for Go implementations to share marshaling code between the two phases. Now we'll use a new StackChangeProgress message type to contain all of the progress message situations. This makes constructing and using the progress messages a little more verbose -- an extra layer of message -- but means that we can write code that works generically with the StackChangeProgress generated struct and thus share it between the two phases, leading to less code overall. As of this commit we don't yet have the apply phase generating any progress messages, but we'll extend it in a subsequent commit now that it's possible to share more of that event-generating code between the two phases. |
||
|---|---|---|
| .. | ||
| callbacks.go | ||
| component.go | ||
| component_instance.go | ||
| componentinstancestatus_string.go | ||
| doc.go | ||
| provisionerstatus_string.go | ||
| resource_instance.go | ||
| resourceinstancestatus_string.go | ||