pulumi/pkg
joeduffy 97deabb9bd Finish interface for reading configuration¬
This continues the previous commit and establishes the interpreter
context so that we can use the new host interface.  In summary:

    * Instead of using the NullSource for destructions -- which
      doesn't hook up an interpreter and so any reads of configuration
      variables will fail -- we will enlighten the EvalSource to know
      how to orchestrate destruction interpretation.  The primary
      difference is that we don't actually run the code, but *we do*
      perform all of the necessary configuration and variable init.

    * Associate the active interpreter with the plugin context as
      we are executing, so that the host object can actually read the
      state from the heap as requested to do so by attached plugins.

    * Rename anything "engine" related to use the term "host"; this
      avoids introducing unnecesarily new terminology.

    * Add a new pkg/resource/provider/ package where we can begin
      consolidating helper functionality for resource providers.
      Right now, this includes a wrapper interface atop the gRPC
      machinery necessary to contact the host, in addition to a
      Main function that hides some boilerplate entrypoint code.

    * Add a rpcutil.IsBenignCloseErr routine to let us ignore
      "benign" gRPC errors that are knowingly returned at shutdown.

This commit completes pulumi/lumi#117.
2017-06-21 10:31:06 -07:00
..
compiler Synchronize access to type caches 2017-06-20 18:16:53 -07:00
diag Introduce an interface to read config 2017-06-20 19:45:07 -07:00
encoding Do an initial pass over TODOs 2017-06-05 18:11:51 -07:00
eval Use Location.Read from plugin host 2017-06-21 08:43:05 -07:00
graph A few tweaks to lint fixes 2017-06-13 16:47:55 -07:00
pack Do an initial pass over TODOs 2017-06-05 18:11:51 -07:00
resource Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
tokens Implemented suggested edits 2017-06-08 11:44:16 -07:00
tools/lumidl Implement get functions on all resources 2017-06-19 17:29:02 -07:00
util Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
workspace Added specified changes 2017-06-09 12:51:31 -07:00