pulumi/pkg/codegen
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
..
docs Reorder resource docs templates to make deprecated more prominent (#5523) 2020-10-07 21:25:25 +01:00
dotnet [codegen/dotnet] Add support for ResourceType and isComponent (#5460) 2020-10-13 12:33:22 -06:00
go PR comments 2020-10-06 16:13:49 -07:00
hcl2 Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
importer Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
internal/test [codegen/dotnet] Add support for ResourceType and isComponent (#5460) 2020-10-13 12:33:22 -06:00
nodejs Split schema tests by language (#5540) 2020-10-10 13:47:23 -07:00
python Split schema tests by language (#5540) 2020-10-10 13:47:23 -07:00
schema Make plugin methods contextful. 2020-10-22 09:53:47 -07:00
docs.go [codegen/docs] Reimplement example extraction. (#4851) 2020-06-18 12:32:15 -07:00
docs_test.go [codegen/docs] Reimplement example extraction. (#4851) 2020-06-18 12:32:15 -07:00
utilities.go Add a helper function to clean the codegen dir (#5018) 2020-07-15 16:11:37 -07:00