pulumi/tests/testdata/codegen/external-resource-schema/go/example
Julien 42257d8137
[Go] Allow specifying dependencies for output invokes (#17791)
Provider functions that take inputs as arguments, and return an output
(aka output invokes), now allow specifying a `dependsOn` option. This
allows programs to ensure that invokes are executed after things they
depend on, similar to the [`depdendsOn` resource
option](https://www.pulumi.com/docs/iac/concepts/options/dependson/).

https://github.com/pulumi/pulumi/discussions/17710

This PR introduces a new `Context.InvokeOutput` method that the
generated SDK code uses to call the invoke, and pushes secret and
dependency tracking back into the Go SDK instead of the generated SDK
code.

Stacked on https://github.com/pulumi/pulumi/pull/17818

Fixes https://github.com/pulumi/pulumi/issues/17752

---------

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2024-12-10 13:08:57 +00:00
..
internal Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
argFunction.go [Go] Allow specifying dependencies for output invokes (#17791) 2024-12-10 13:08:57 +00:00
cat.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00
component.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00
doc.go Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
init.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00
provider.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00
pulumi-plugin.json Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
pulumiTypes.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00
workload.go [docs] Emit example constructor syntax for resources in typescript, python, go and csharp (#15624) 2024-03-21 13:41:07 +00:00