pulumi/pkg/codegen/internal/test/testdata
Pat Gavlin 236ce54269
[schema] Add the Pulumi Package metaschema. (#7952)
The Pulumi Package metaschema is a JSON schema definition that describes
the format of a Pulumi Package schema. The metaschema can be used to
validate certain basic properties of a Pulumi Package schema, including
(but not limited to):

- data types (e.g. is this property a string?)
- data formats (e.g. is this string property a valid regex?)
- object shapes (e.g. is this object missing required properties?)

The schema binder has been updated to use the metaschema as its first
validation pass.

In addition to its use in the binder, the metaschema has its own page in
the developer documentation. This page is generated using a small tool,
jsonschema2md.go.
2021-09-20 12:00:42 -07:00
..
dash-named-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
external-resource-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
hyphen-url iwahbe/7858/fix nodejs hypen imports (#7993) 2021-09-20 10:11:44 -07:00
input-collision Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
nested-module Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
nested-module-thirdparty Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
output-funcs [schema] Add the Pulumi Package metaschema. (#7952) 2021-09-20 12:00:42 -07:00
plain-schema-gh6957 Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
provider-config-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
replace-on-change Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
resource-args-python Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
resource-property-overlap Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
schema Validate Name, Version and Enviroment (#7896) 2021-09-17 12:12:22 -07:00
simple-enum-schema [schema] Add the Pulumi Package metaschema. (#7952) 2021-09-20 12:00:42 -07:00
simple-methods-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
simple-plain-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
simple-plain-schema-with-root-package Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
simple-resource-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
simple-resource-schema-custom-pypackage-name Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
simple-yaml-schema Emit schema.Package.Version when possible (#7938) 2021-09-17 23:11:54 -07:00
aws-eks.pp [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
aws-eks.pp.cs Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-eks.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-eks.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-eks.pp.ts [codegen/nodejs] Await invokes in async contexts. (#4598) 2020-05-11 10:21:56 -07:00
aws-fargate.pp Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-fargate.pp.cs [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
aws-fargate.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-fargate.pp.py Ensure the correct qualified code is emitted for Python ResourceOptions (#5824) 2020-11-24 02:21:25 +00:00
aws-fargate.pp.ts [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
aws-s3-folder.pp HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
aws-s3-folder.pp.cs Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-s3-folder.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-s3-folder.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-s3-folder.pp.ts [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
aws-s3-logging.pp Fix output property names in Python codegen. 2020-04-21 10:25:27 -07:00
aws-s3-logging.pp.cs Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-s3-logging.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
aws-s3-logging.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-s3-logging.pp.ts Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-webserver.pp HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
aws-webserver.pp.cs Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-webserver.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-webserver.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-webserver.pp.ts HCL2/NodeJS: fix proxy apply lowering for promises (#4317) 2020-04-07 09:25:50 -07:00
aws.json Fix inconsistent object type naming. (#6686) 2021-04-15 19:03:28 -07:00
azure-native.json Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.cs Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.go Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.py [codegen/python] Improve program gen perf. (#7547) 2021-07-16 15:45:00 -07:00
azure-native.pp.ts Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-sa.pp Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.cs Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
azure-sa.pp.py Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.ts Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure.json [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
functions.pp [codegen/*] Add join and toBase64 functions. (#5012) 2021-07-28 20:41:23 -07:00
functions.pp.cs [codegen/*] Add join and toBase64 functions. (#5012) 2021-07-28 20:41:23 -07:00
functions.pp.go [codegen/*] Add join and toBase64 functions. (#5012) 2021-07-28 20:41:23 -07:00
functions.pp.py [codegen/*] Add join and toBase64 functions. (#5012) 2021-07-28 20:41:23 -07:00
functions.pp.ts [codegen/*] Add join and toBase64 functions. (#5012) 2021-07-28 20:41:23 -07:00
kubernetes-operator.pp Use a package map where appropriate (#5127) 2020-08-06 19:09:18 -07:00
kubernetes-operator.pp.cs Fix C# program gen for Kubernetes examples (#5129) 2020-08-07 09:31:42 -06:00
kubernetes-operator.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
kubernetes-operator.pp.py [codegen/python] Improve program gen perf. (#7547) 2021-07-16 15:45:00 -07:00
kubernetes-operator.pp.ts Use a package map where appropriate (#5127) 2020-08-06 19:09:18 -07:00
kubernetes-pod.pp Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
kubernetes-pod.pp.cs Fix C# program gen for Kubernetes examples (#5129) 2020-08-07 09:31:42 -06:00
kubernetes-pod.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-pod.pp.py Remove UsesIOClasses check. (#5827) 2020-11-24 19:15:37 -06:00
kubernetes-pod.pp.ts tests for kubernetes program generation (#5105) 2020-08-05 09:15:36 -07:00
kubernetes-template.pp Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.cs Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.py [codegen/python] Improve program gen perf. (#7547) 2021-07-16 15:45:00 -07:00
kubernetes-template.pp.ts Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes.json tests for kubernetes program generation (#5105) 2020-08-05 09:15:36 -07:00
random-pet.pp [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.cs [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
random-pet.pp.py [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.ts [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random.json [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
resource-options.pp [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
resource-options.pp.cs [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
resource-options.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
resource-options.pp.py Ensure the correct qualified code is emitted for Python ResourceOptions (#5824) 2020-11-24 02:21:25 +00:00
resource-options.pp.ts [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
secret.pp [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.cs [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
secret.pp.py [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.ts [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
types.json [sdk/dotnet] Fix collections in input unions. (#7601) 2021-07-22 13:11:33 -07:00