pulumi/pkg/codegen/schema
Fraser Waters c35306d798
Use publisher and repository fields to default the Go import path (#16899)
Currently we generate an "internal" package in our Go sdks that the
other packages in the sdk need to import. This requires them to know the
base import path (because Go doesn't have relative imports).

We also want to start writing out go.mod files as part of codegen rather
than provider authors manually adding them in the sdk directory above.
This _also_ requires the import path for the module.

Rather than requiring every user to specify the base import path in the
schema "go language" section we improve the default behaviour to use the
provider and repository fields from the schema that users are probably
filling in anyway.
2024-08-07 21:02:07 +00:00
..
bind.go Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
docs_parser.go golangci-lint: Enable staticcheck 2023-01-14 16:59:46 -08:00
docs_renderer.go all: Assert => Assertf 2023-03-03 14:37:43 -08:00
docs_test.go Actually disable plugin acquisition (#14134) 2023-10-14 08:32:43 +00:00
loader.go Refactor MissingError handling (#16689) 2024-07-18 08:33:09 +00:00
loader_client.go Add matrix testing (#13705) 2023-09-13 15:17:46 +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 all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
loader_server.go Add schema loader service 2023-07-27 15:03:52 +01:00
loader_test.go all: Don't use cmdutil.Diag in tests 2023-03-13 12:54:04 -07:00
mock_pulumi_schema.go Fix incorrect YAML type checking of StackReference outputs (#16625) 2024-07-11 14:17:41 +00:00
package_reference.go Use publisher and repository fields to default the Go import path (#16899) 2024-08-07 21:02:07 +00:00
pulumi.json Change parameterization in schemas to base64 strings (#16614) 2024-07-10 15:36:05 +00:00
schema.go Fix a typo (#16898) 2024-08-07 13:23:32 +00:00
schema_test.go Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00