terraform/states/statemgr
Kristin Laemmert 6621501ae3
state: remove deprecated state package (#25490)
Most of the state package has been deprecated by the states package.
This PR replaces all the references to the old state package that
can be done simply - the low-hanging fruit.

* states: move state.Locker to statemgr

The state.Locker interface was a wrapper around a statemgr.Full, so
moving this was relatively straightforward.

* command: remove unnecessary use of state package for writing local terraform state files

* move state.LocalState into terraform package

state.LocalState is responsible for managing terraform.States, so it
made sense (to me) to move it into the terraform package.

* slight change of heart: move state.LocalState into clistate instead of
terraform
2020-08-11 11:43:01 -04:00
..
testdata statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
doc.go Update doc.go, fix typo (#20529) 2019-03-01 08:59:01 -08:00
filesystem.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
filesystem_lock_unix.go states/statemgr: Local locks meta is near output path, not input path 2018-11-19 09:02:35 -08:00
filesystem_lock_windows.go states/statemgr: Local locks meta is near output path, not input path 2018-11-19 09:02:35 -08:00
filesystem_test.go missing wg.Wait in concurrent test 2020-04-08 10:55:20 -04:00
helper.go command: Use statemgr.Import and statemgr.Export for state push and pull 2018-11-19 09:02:35 -08:00
lineage.go command/state: update and fix the state push and pull 2018-10-19 19:12:23 +02:00
lock.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
lock_test.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
locker.go Fix typos (#24531) 2020-04-13 08:34:40 -04:00
migrate.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
migrate_test.go states/statemgr: Migrate, Import, and Export functions 2018-11-19 09:02:35 -08:00
persistent.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
plan.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
snapshotmetarel_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
statemgr.go statemgr: Helper funcs RefreshAndRead and WriteAndPersist 2018-10-16 18:58:49 -07:00
statemgr_fake.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
statemgr_test.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
testing.go remove a few traces of states.EachMode 2020-04-30 09:22:15 -04:00
transient.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
transient_inmem.go statemgr: New package for state managers 2018-10-16 18:49:20 -07:00