pulumi/pkg/resource/deploy
Pat Gavlin 35d373d137 Make plugin methods contextful.
The interfaces that we use to represent Pulumi plugins are currently
not contextful. This makes it impossible to implement client-side
cancellation and timeouts in an idiomatic fashion. These changes add
context parameters to the plugin interfaces and plumb them upwards
through their callers.

These changes also add a new API to the plugin package,
`NewProviderServer`, that wraps a `plugin.Provider` in a gRPC interface,
allowing it to be used as part of a gRPC server. This makes it simpler
for consumers to author plugins, as they do not need to concern
themselves with the gRPC machinery.
2020-10-22 09:53:47 -07:00
..
deploytest Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
providers Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
builtins.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
import.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
plan.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
plan_executor.go Make plugin methods contextful. 2020-10-22 09:53:47 -07: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 Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
source_eval_test.go Add support for provider-side preview. (#5443) 2020-10-09 13:13:55 -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 Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
source_query_test.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
step.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
step_executor.go Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
step_generator.go Make plugin methods contextful. 2020-10-22 09:53:47 -07: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