terraform/states/statefile
Martin Atkins 331cb07a05 states/statefile: Tolerate nil state in statefile.New
For historical reasons sometimes we have nil state in situations where
we'd still like to persist state snapshots to a store. To make life easier
for those callers, we'll substitute an empty state if we are given a nil
one, thus allowing us to still generate a valid serialization that will
load back in as an empty state.
2018-10-16 19:14:11 -07:00
..
testdata/roundtrip states: object Private data is []byte, not cty.Value 2018-10-16 19:11:09 -07:00
diagnostics.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
doc.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
file.go states/statefile: Tolerate nil state in statefile.New 2018-10-16 19:14:11 -07:00
marshal_equal.go command: Allow tests to run to completion without panics or hangs 2018-10-16 19:14:11 -07:00
read.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
roundtrip_test.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version0.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version1.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version1_upgrade.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version2.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version2_upgrade.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version3.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
version3_upgrade.go states: object Private data is []byte, not cty.Value 2018-10-16 19:11:09 -07:00
version4.go command: Allow tests to run to completion without panics or hangs 2018-10-16 19:14:11 -07:00
write.go statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00