pulumi/pkg/resource/deploy
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
..
deploytest Revise host mode. (#5317) 2020-09-14 17:40:17 -07:00
providers Initial support for remote component construction. (#5280) 2020-09-07 19:33:55 -07:00
builtins.go Initial support for remote component construction. (#5280) 2020-09-07 19:33:55 -07:00
plan.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
plan_executor.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
plan_test.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
source.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
source_error.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
source_eval.go Initial support for remote component construction. (#5280) 2020-09-07 19:33:55 -07:00
source_eval_test.go Avoid replace on second update with import applied (#4403) 2020-04-15 18:52:40 -07:00
source_fixed.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
source_null.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
source_query.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
source_query_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
step.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
step_executor.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
step_generator.go Revert "Narrow a few interfaces." (#4987) 2020-07-09 15:19:12 +01:00
step_generator_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
target.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00