pulumi/pkg/resource/deploy
Alex Clemmer ea32fec8f9 Implement query primitives in the engine
`pulumi query` is designed, essentially, as a souped-up `exec`. We
execute a query program, and add a few convenience constructs (e.g., the
default providers that give you access to things like `getStack`).

Early in the design process, we decided to not re-use the `up`/update
path, both to minimize risk to update operations, and to simplify the
implementation.

This commit will add this "parallel query universe" into the engine
package. In particular, this includes:

* `QuerySource`, which executes the language provider running the query
  program, and providing it with some simple constructs, such as the
  default provider, which provides access to `getStack`. This is much
  like a very simplified `EvalSource`, though notably without any of the
  planning/step execution machinery.
* `queryResmon`, which disallows all resource operations, except the
  `Invoke` that retrieves the resource outputs of some stack's last
  snapshot. This is much like a simplified `resmon`, but without any of
  the provider resolution, and without and support for resource
  operations generally.
* Various static functions that pull together miscellaneous things
  needed to execute a query program. Notably, this includes gathering
  language plugins.
2019-05-02 18:08:08 -07:00
..
deploytest Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
providers Load specific provider versions if requested (#2648) 2019-04-17 11:25:02 -07:00
builtins.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
plan.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
plan_executor.go Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
plan_test.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_error.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_eval.go Remove unused property from resmon 2019-05-02 18:08:08 -07:00
source_eval_test.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
source_fixed.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_null.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_query.go Implement query primitives in the engine 2019-05-02 18:08:08 -07:00
step.go Use Outputs instead of merged Inputs+Outputs (#2659) 2019-04-22 13:52:36 -07:00
step_executor.go Default to unbounded parallelism (#2065) 2018-10-17 15:33:26 -07:00
step_generator.go Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
target.go Add license headers 2018-05-22 15:02:47 -07:00