terraform/backend/local
Martin Atkins d2c3403ab6 command: Use the new terminal.Streams object
Here we propagate in the initialized terminal.Streams from package main,
and then onwards to backends running in CLI mode.

This also replaces our use of helper/wrappedstreams to determine whether
stdin is a terminal or a pipe. helper/wrappedstreams returns incorrect
file descriptors on Windows, causing StdinPiped to always return false on
that platform and thus causing one of the odd behaviors discussed in

Finally, this includes some wrappers around the ability to look up the
number of columns in the terminal in preparation for use elsewhere. These
wrappers deal with the fact that our unit tests typically won't populate
meta.Streams.
2021-01-13 15:37:04 -08:00
..
testdata refresh is expected for destroy 2021-01-08 13:29:54 -05:00
backend.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
backend_apply.go rely solely on the plan changes for outputs 2020-10-12 18:59:14 -04:00
backend_apply_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_local.go set SkipRefresh for plan and apply 2020-12-10 09:47:13 -05:00
backend_local_test.go * backend/local: push responsibility for unlocking state into individual operations 2020-08-11 11:23:42 -04:00
backend_plan.go unused 2020-12-02 13:59:19 -05:00
backend_plan_test.go refresh is expected for destroy 2021-01-08 13:29:54 -05:00
backend_refresh.go insert PlanRefresh into the context 2020-09-24 09:34:49 -04:00
backend_refresh_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
cli.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
counthookaction_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
hook_count.go backend/local: Fix incorrect destroy/update count on apply 2018-12-11 18:06:53 +00:00
hook_count_action.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
hook_count_test.go legacy types in backend/local 2020-12-02 12:33:18 -05:00
hook_state.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
hook_state_test.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
local_test.go use a single log writer 2020-10-19 14:29:54 -04:00
testing.go update MockProvider usage 2021-01-12 17:47:55 -05:00