terraform/backend/local
James Bardin e9a76808df create clistate.Locker interface
Simplify the use of clistate.Lock by creating a clistate.Locker
instance, which stores the context of locking a state, to allow unlock
to be called without knowledge of how the state was locked.

This alows the backend code to bring the needed UI methods to the point
where the state is locked, and still unlock the state from an outer
scope.

Provide a NoopLocker as well, so that callers can always call Unlock
without verifying the status of the lock.

Add the StateLocker field to the backend.Operation, so that the state
lock can be carried between the different function scopes of the backend
code. This will allow the backend context to lock the state before it's
read, while allowing the different operations to unlock the state when
they complete.
2018-02-23 16:48:15 -05:00
..
test-fixtures core: Move Refreh/Plan diff count to general operation test 2017-06-24 07:54:40 -07:00
backend.go create clistate.Locker interface 2018-02-23 16:48:15 -05:00
backend_apply.go create clistate.Locker interface 2018-02-23 16:48:15 -05:00
backend_apply_test.go update test state strings for backend/local 2017-11-07 21:23:10 -05:00
backend_local.go create clistate.Locker interface 2018-02-23 16:48:15 -05:00
backend_plan.go create clistate.Locker interface 2018-02-23 16:48:15 -05:00
backend_plan_test.go cannot destroy without a config 2017-11-07 21:23:37 -05:00
backend_refresh.go create clistate.Locker interface 2018-02-23 16:48:15 -05:00
backend_refresh_test.go update test state strings for backend/local 2017-11-07 21:23:10 -05:00
backend_test.go missed the local state backend 2018-02-20 22:09:54 -05:00
cli.go cli: allow disabling "next steps" message in terraform plan 2017-09-14 10:51:41 -07:00
counthookaction_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
hook_count.go core: Skip diff hooks for stubs on eval altogether 2017-06-24 08:01:17 -07:00
hook_count_action.go
hook_count_test.go core: Skip diff hooks for stubs on eval altogether 2017-06-24 08:01:17 -07:00
hook_state.go
hook_state_test.go
local_test.go
testing.go command + backend: rename various API objects to "Workspace" terminology 2017-06-09 16:26:25 -07:00