pulumi/pkg/codegen/schema
Fraser Waters 2b0a9b958b
Enable support pack for all parameterized packages (#17923)
SupportPack was added to write out sdks in a new style appropriate for
use in conformance tests and for local sdks. When adding parameterized
we tried to treat them the same, always writing out in the new style.
But we we're inconsistent and didn't always check for "parameterization
!= nil" at the same time as "supportPack".

This changes the schema loader to just do that as part of
marshal/unmarshal schema.

The only thing this actually affects is Go sdkgen in that parameterized
providers now write out their top level go.mod as expected.
2024-12-05 11:16:33 +00:00
..
README.md Document code generation concepts (#17162) 2024-09-05 13:12:59 +00:00
bind.go Enable support pack for all parameterized packages (#17923) 2024-12-05 11:16:33 +00:00
docs_parser.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
docs_renderer.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
docs_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
loader.go Implement plugin download cancellation (#17621) 2024-11-12 18:04:25 +00:00
loader_cached.go Split caching logic into it's own type to use with LoaderClient (#17118) 2024-08-31 13:25:20 +00:00
loader_cached_test.go Split caching logic into it's own type to use with LoaderClient (#17118) 2024-08-31 13:25:20 +00:00
loader_client.go Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
loader_js.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_mmap.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_schema_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
loader_server.go Add schema loader service 2023-07-27 15:03:52 +01:00
loader_test.go Have `Host.Provider` accept a `PackageDescriptor` (#17244) 2024-09-12 13:17:30 +00:00
mock_pulumi_schema.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
package_reference.go Enable support pack for all parameterized packages (#17923) 2024-12-05 11:16:33 +00:00
pulumi.json Change parameterization in schemas to base64 strings (#16614) 2024-07-10 15:36:05 +00:00
schema.go Enable support pack for all parameterized packages (#17923) 2024-12-05 11:16:33 +00:00
schema_test.go Reject duplicate schema paths (#17797) 2024-11-18 16:21:09 +00:00

README.md

(schema)=

Pulumi Schema

This package defines Pulumi Schema, a language-neutral specification for cloud resource models. Pulumi Schema is the interface definition language for all Pulumi Packages, and is used as the input to SDK code generation for each supported Pulumi language.