pulumi/pkg
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
..
backend Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
cmd/pulumi Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
codegen Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
engine Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
graph Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
operations Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
secrets Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
testing/integration Support remote components in Python (#5375) 2020-09-30 14:09:20 -07:00
util Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
go.mod [cli] Add an import command. (#4765) 2020-10-14 12:51:53 +01:00
go.sum [cli] Add an import command. (#4765) 2020-10-14 12:51:53 +01:00