a7b7cd29fc
Move the code which renders Terraform hook callbacks as UI into the views package, backed by a views.View instead of a cli.Ui. Update test setup accordingly. To allow commands to control this hook, we add a hooks member on the backend Operation struct. This supersedes the hooks in the Terraform context, which is not directly controlled by the command logic. This commit should not change how Terraform works, and is refactoring in preparation for more changes which move UI code out of the backend. |
||
---|---|---|
.. | ||
init | ||
local | ||
remote | ||
remote-state | ||
backend.go | ||
backend_test.go | ||
cli.go | ||
operation_type.go | ||
operationtype_string.go | ||
testing.go | ||
unparsed_value.go | ||
unparsed_value_test.go |