Schema loading#

pulumi/pulumi:proto/pulumi/codegen/loader.proto

Services#

๐Ÿ”Œ Loader#

Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools. This is currently unstable and experimental.

๐Ÿ“ž GetSchema#

โคต๏ธ GetSchemaRequest โคด๏ธ GetSchemaResponse

GetSchema tries to find a schema for the given package and version.

Messages#

๐Ÿ“จ GetSchemaRequest#

GetSchemaRequest allows the engine to return a schema for a given package and version.

package string

the package name for the schema being requested.

version string

the version for the schema being requested, must be a valid semver or empty.

download_url string

the optional download url for the schema being requested.

parameterization Parameterization

the parameterization for the schema being requested, can be empty.

๐Ÿ“จ GetSchemaResponse#

GetSchemaResponse returns the schema data for the requested package.

schema bytes

the JSON encoded schema.

๐Ÿ“จ Parameterization#

Parameterization specifies the name, version, and value for a parameterized package.

name string

the parameterized package name.

version string

the parameterized package version.

value bytes

the parameter value for the parameterized package.