pulumi/pkg/codegen/go
Fraser Waters a460640bf6
Add 'parameterization' to pulumi-plugin.json (#17867)
Part of https://github.com/pulumi/pulumi/issues/17507

For importing resources of parameterized resources we need to be able to
find the parameterized package descriptions without running the users
program. This is the first part of fixing that. We add the parameterized
information about the package into it's pulumi-plugin.json file, so this
file now describes the overall package not just the base provider
plugin.

Once this is merged there are two follow ups;
1) See about fixing sdk-gen to not emit the large byte value twice (in
the source code where we currently have it, and now in the
pulumi-plugin.json). We can probably fix all the sdks to just read from
the embedded plugin file.
2) Update the language hosts to support a "GetAllPackages" instead of
"GetAllPlugins" to read out this information from the pulumi-plugin.json
files.
2024-11-27 16:46:15 +00:00
..
gen_program_test Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +00:00
doc.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
doc_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
embeddedUtilities.go Support returning plain values from methods (#13592) 2023-11-18 06:02:06 +00:00
gen.go Add 'parameterization' to pulumi-plugin.json (#17867) 2024-11-27 16:46:15 +00:00
gen_program.go Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
gen_program_expression_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_expressions.go [PCL] Support generating invokes options from PCL for invokes (#17696) 2024-11-11 13:01:24 +00:00
gen_program_inline_invoke.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_json.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_optionals.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_read_dir.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_splat.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_ternaries.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_test.go Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +00:00
gen_program_utils.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_spill.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
importer.go [go/program-gen] Implement importPathPattern in Go language options to override emitted paths in generated Go programs (#16267) 2024-05-30 19:51:12 +00:00
utilities.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
utilities_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00