pulumi/pkg/resource/deploy
Pat Gavlin 73f4f2c464
Reimplement refresh. (#1814)
Replace the Source-based implementation of refresh with a phase that
runs as the first part of plan execution and rewrites the snapshot in-memory.

In order to fit neatly within the existing framework for resource operations,
these changes introduce a new kind of step, RefreshStep, to represent
refreshes. RefreshSteps operate similar to ReadSteps but do not imply that
the resource being read is not managed by Pulumi.

In addition to the refresh reimplementation, these changes incorporate those
from #1394 to run refresh in the integration test framework.

Fixes #1598.
Fixes pulumi/pulumi-terraform#165.
Contributes to #1449.
2018-08-22 17:52:46 -07:00
..
deploytest Implement partial `Read` 2018-08-10 15:10:14 -07:00
providers Implement partial `Read` 2018-08-10 15:10:14 -07:00
plan.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
plan_executor.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
plan_test.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_error.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_eval.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_eval_test.go Implement partial `Read` 2018-08-10 15:10:14 -07:00
source_fixed.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_null.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
step.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
step_executor.go Serialize SourceEvents coming from the refresh source (#1725) 2018-08-08 13:45:48 -07:00
step_generator.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
target.go Add license headers 2018-05-22 15:02:47 -07:00