pulumi/pkg/resource/deploy/deploytest
Thomas Gummerer b8226b7058
implement engine support for invoke transforms (#16559)
We've recently introduced resource transforms, which allow users to
update any resource options and properties for the duration of a program
using a callback. We want to introduce similar functionality for Invokes
(and eventually also StreamInvokes, Read and Calls). This can help users
e.g. set default providers through transforms consistently for all
components.

While this PR only implements the engine parts of invoke transforms, the
API for this will look very similar to what the API for resource
transforms looks like. For example in TypeScript:

```
pulumi.runtime.registerInvokeTransform(args => {
[...]
});
```

---------

Co-authored-by: Will Jones <will@sacharissa.co.uk>
2024-07-11 16:01:44 +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 implement engine support for invoke transforms (#16559) 2024-07-11 16:01:44 +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