pulumi/cmd
joeduffy c5b7b6ef11 Bring back component outputs
This change brings back component outputs to the overall system again.
In doing so, it generally overhauls the way we do resource RPCs a bit:

* Instead of RegisterResource and CompleteResource, we call these
  BeginRegisterResource and EndRegisterResource, which begins to model
  these as effectively "asynchronous" resource requests.  This should also
  help with parallelism (https://github.com/pulumi/pulumi/issues/106).

* Flip the CLI/engine a little on its head.  Rather than it driving the
  planning and deployment process, we move more to a model where it
  simply observes it.  This is done by implementing an event handler
  interface with three events: OnResourceStepPre, OnResourceStepPost,
  and OnResourceComplete.  The first two are invoked immediately before
  and after any step operation, and the latter is invoked whenever a
  EndRegisterResource comes in.  The reason for the asymmetry here is
  that the checkpointing logic in the deployment engine is largely
  untouched (intentionally, as this is a sensitive part of the system),
  and so the "begin"/"end" nature doesn't flow through faithfully.

* Also make the engine more event-oriented in its terminology and the
  way it handles the incoming BeginRegisterResource and
  EndRegisterResource events from the language host.  This is the first
  step down a long road of incrementally refactoring the engine to work
  this way, a necessary prerequisite for parallelism.
2017-11-29 07:42:14 -08:00
..
lumidl Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
api.go Canonicalize where we use the Pulumi API (#556) 2017-11-13 18:25:57 -08:00
backend.go Refactoring of OperationsProvider code 2017-11-19 22:28:49 -08:00
backend_cloud.go Bring back component outputs 2017-11-29 07:42:14 -08:00
backend_local.go Merge remote-tracking branch 'origin/resource_parenting' into resource_parenting_lite 2017-11-28 11:03:34 -08:00
config.go Bring back component outputs 2017-11-29 07:42:14 -08:00
config_test.go Save config information in Pulumi.yaml 2017-10-20 13:30:07 -07:00
creds.go Add 'pulumi login' test 2017-11-02 11:19:00 -07:00
crypt.go Bring back component outputs 2017-11-29 07:42:14 -08:00
debug_cmds.go Add developer only pulumi archive command 2017-11-21 16:02:34 -08:00
destroy.go Add "kill" as a "destroy" SuggestFor 2017-11-13 17:27:45 -08:00
init.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
login.go Change configuration verbs for getting and setting values 2017-11-16 11:39:28 -08:00
logs.go Collect logs in parallel 2017-11-22 21:33:36 -08:00
preview.go Add a handful of aliases/suggestions (#557) 2017-11-13 14:59:11 -08:00
provider_local.go Add (back) component outputs 2017-11-20 17:38:09 -08:00
pulumi.go Bring back component outputs 2017-11-29 07:42:14 -08:00
stack.go Add (back) component outputs 2017-11-20 17:38:09 -08:00
stack_init.go Pass cloud name in options bag instead of an explicit parameter 2017-11-02 11:19:00 -07:00
stack_ls.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
stack_rm.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
stack_select.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
update.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
util.go Change configuration verbs for getting and setting values 2017-11-16 11:39:28 -08:00
util_password.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
util_password_windows.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
version.go Construct version based on git information 2017-10-16 18:35:41 -07:00