pulumi/pkg/resource/plugin
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
..
analyzer.go Make more progress on the new deployment model 2017-06-13 07:10:13 -07:00
analyzer_plugin.go Introduce an interface to read config 2017-06-20 19:45:07 -07:00
check.go More progress on pulumi/lumi#90 2017-06-13 07:10:13 -07:00
context.go Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
host.go Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
host_server.go Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
plugin.go Finish interface for reading configuration¬ 2017-06-21 10:31:06 -07:00
provider.go More progress on pulumi/lumi#90 2017-06-13 07:10:13 -07:00
provider_plugin.go Introduce an interface to read config 2017-06-20 19:45:07 -07:00
rpc.go Only mark immediate outputs as outputs 2017-06-13 07:10:13 -07:00