pulumi/pkg/engine
Pat Gavlin 855f1fd1cd
Revise host mode. (#5317)
* Revise host mode.

The current implementation of host mode uses a `pulumi host` command and
an ad-hoc communication protocol between the engine and client to
connect a language host after the host has begun listening. The most
significant disadvantages of this approach are the communication
protocol (which currently requires the use of stdout), the host-specific
command, and the difficulty of accommodating the typical program-bound
lifetime for an update.

These changes reimplement host mode by adding engine support for
connecting to an existing language runtime service rather than launching
a plugin. This capability is provided via an engine-specific language
runtime, `client`, which accepts the address of the existing languge
runtime service as a runtime option. The CLI exposes this runtime via
the `--client` flag to the `up` and `preview` commands, which similarly
accepts the address of an existing language runtime service as an
argument. These changes also adjust the automation API to consume the
new host mode implementation.
2020-09-14 17:40:17 -07:00
..
destroy.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
diff.go Protect against engine event mutation. (#5003) 2020-07-16 23:52:31 -07:00
engine.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
errors.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
events.go Protect against engine event mutation. (#5003) 2020-07-16 23:52:31 -07:00
eventsink.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
lifecycle_test.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
plan.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
plugin_host.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
plugins.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
plugins_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
project.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
query.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
refresh.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
snapshot.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
update.go Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
update_test.go Improve PP naming for local PPs (#3839) 2020-01-30 13:31:41 -08:00