pulumi/pkg
Pat Gavlin 7c6f652c27 [experimental] Add support for YAML schemas.
These changes provide an alternative method for authoring Pulumi
schemas. Rather than hewing closely to the design of OpenAPI, this
package chooses a YAML-based approach that allows for a much more
concise description of a Pulumi schema. Although this package is
intended to cover the majority of use cases, it is not intended to have
feature parity with the JSON-based schema language, and omits some
advanced features for the sake of simplicity.

The two most striking differences are the representations of package
members and property types.

Rather than using separate, flat namespaces for types, resources, and
functions, a YAML schema uses a single, hierarchical namespace. The type
of a member is indicated using a YAML tag; members may be object types,
enum types, resources, components, functions, or modules.

YAML schemas also make use of tags and the module tree to simplify type
references. A type reference may be a primitive type, constructed type,
or a reference to an object type, enum type, or resource. Primitive
types are booleans, strings, integers, and numbers; constructued types
are inputs, arrays, maps, and unions. At the outermost level, a
property's type may also be optional, in which case the property does
not require a value.
2021-07-07 20:02:58 -07:00
..
backend Fix watch command in macos arm64 builds (#7345) 2021-06-21 14:33:30 -07:00
cmd/pulumi Read passphrase from the terminal when rotating. (#7347) 2021-06-22 11:13:57 -07:00
codegen [experimental] Add support for YAML schemas. 2021-07-07 20:02:58 -07:00
engine Add `replaceOnChanges` resource option (#7226) 2021-07-01 13:32:08 -06:00
graph [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
operations [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
resource Add `replaceOnChanges` resource option (#7226) 2021-07-01 13:32:08 -06:00
secrets [cli] Prevent regression in loading passphrase secrets provider from state (#6976) 2021-05-06 14:40:44 +01:00
testing/integration Tracing enhancements for CLI perf metrics capture (#7279) 2021-06-15 13:25:03 -04:00
util [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
go.mod [experimental] Add support for YAML schemas. 2021-07-07 20:02:58 -07:00
go.sum Add a convert-trace command. (#7319) 2021-06-17 14:46:05 -07:00