terraform/states
Martin Atkins a33f941778 states: New SyncState type
This is a wrapper around State that is able to perform higher-level
manipulations (at the granularity of the entire state) in a
concurrency-safe manner, using the lower-level APIs exposed by State and
all of the types it contains.

The granularity of a SyncState operation roughly matches the granularity
off a state-related EvalNode in the "terraform" package, performing a
sequence of more primitive operations while guaranteeing atomicity of the
entire change.

As a compromise for convenience of usage, it's still possible to access
the individual state data objects via this API, but they are always copied
before returning to ensure that two distinct callers cannot have data
races. Callers should access the most granular object possible for their
operation.
2018-10-16 18:49:20 -07:00
..
statefile statefile: New package for loading and saving state files 2018-10-16 18:49:20 -07:00
statemgr statemgr: New package for state managers 2018-10-16 18:49:20 -07:00
doc.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
eachmode_string.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
import.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_generation.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_object.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
module.go states: New SyncState type 2018-10-16 18:49:20 -07:00
objectstatus_string.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
output_value.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
resource.go states: New SyncState type 2018-10-16 18:49:20 -07:00
resource_test.go states: New SyncState type 2018-10-16 18:49:20 -07:00
state.go states: New SyncState type 2018-10-16 18:49:20 -07:00
state_deepcopy.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
state_equal.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
state_test.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
sync.go states: New SyncState type 2018-10-16 18:49:20 -07:00