pulumi/pkg/resource/deploy/deploytest
Fraser Waters 4a12902bde
Keep package refs separate from providers (#16458)
A few weeks ago we added the concept of package references, mostly for
parametrised providers so that we wouldn't have to send the parameter
value over and over for each `RegisterResourceRequest`. This was done by
sending the package reference through the `provider` field.

Nothing yet uses this feature (it hasn't yet been added to any language
SDKs), and thinking over this the last week I realised there was an
issue using this for extension packages.

When using an extension provider it's valid to also specify an explicit
provider, which will be using the `provider` field. At this point
there's no where for the SDK to send extra information to the engine
about the parameterisation.

This is a small reworking of this idea to use a separate `package`
field, so that even for an extension type we can specify the
parameterised package it comes from and an explicit provider for it.
2024-06-24 14:59:18 +00:00
..
analyzer.go Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
analyzer_test.go Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
backendclient.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
callbacks.go Engine support for remote transforms (#15290) 2024-02-21 16:30:46 +00:00
languageruntime.go Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
languageruntime_test.go Query language runtime for options during “pulumi new” (#16346) 2024-06-17 17:10:55 +00:00
pluginhost.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
pluginhost_test.go Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00
provider.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
provider_test.go Normalize plugin.Provider methods to (Context, Request) -> (Response, error) (#16302) 2024-06-07 19:47:49 +00:00
resourcemonitor.go Keep package refs separate from providers (#16458) 2024-06-24 14:59:18 +00:00
resourcemonitor_test.go deploytest/RegisterResource: return struct instead of values (#15988) 2024-04-19 11:08:56 +00:00
sink.go [ci] `pkg/resource/deploy` coverage (#14831) 2023-12-19 16:14:40 +00:00