pulumi/cmd
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
..
archive.go Add license headers 2018-05-22 15:02:47 -07:00
cancel.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
config.go Don't use :config: token when sending values to the service 2018-08-22 16:41:46 -07:00
config_test.go Consider the key name as part of secret detection 2018-08-09 19:10:14 -07:00
destroy.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
gen_bash_completion.go Add license headers 2018-05-22 15:02:47 -07:00
gen_markdown.go Add license headers 2018-05-22 15:02:47 -07:00
login.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
logout.go Add license headers 2018-05-22 15:02:47 -07:00
logs.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Add `-g` shorthand for `--generate-only` (#1797) 2018-08-20 10:33:41 -07:00
plugin.go Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
plugin_install.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
plugin_ls.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_rm.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
preview.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
pulumi.go Fix wierd interactions due to Cobra and glog 2018-08-20 14:08:40 -07:00
refresh.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
stack.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
stack_export.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
stack_graph.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
stack_import.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
stack_init.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
stack_ls.go Remove PPC-specific codepaths (#1741) 2018-08-08 19:26:51 -07:00
stack_output.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Tweak help text for `pulumi stack rm -f` (#1789) 2018-08-20 12:32:58 -07:00
stack_select.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
up.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
util.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
whoami.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00