Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GetSchema. #1181

Merged
merged 5 commits into from
Jun 30, 2020
Merged

Implement GetSchema. #1181

merged 5 commits into from
Jun 30, 2020

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Jun 29, 2020

These changes implement the resource provider's GetSchema method in
order to facilitate code generation (e.g. for docs and for the proposed
import command).

As part of these changes, I refactored the Makefile s.t. each language
has its own target, and I updated the generator s.t. the schema is read
from disk unless it is the target language. The only exception is the
.NET code generator, which still uses the Swagger spec for YAML support.

Fixes #1180.

Proposed changes

Related issues (optional)

These changes implement the resource provider's GetSchema method in
order to facilitate code generation (e.g. for docs and for the proposed
import command).

As part of these changes, I refactored the Makefile s.t. each language
has its own target, and I updated the generator s.t. the schema is read
from disk unless it is the target language. The only exception is the
.NET code generator, which still uses the Swagger spec for YAML support.

Fixes #1180.
@pgavlin pgavlin requested a review from lblackstone June 29, 2020 21:00
Makefile Show resolved Hide resolved
provider/cmd/pulumi-gen-kubernetes/main.go Outdated Show resolved Hide resolved
provider/cmd/pulumi-gen-kubernetes/main.go Outdated Show resolved Hide resolved
@pgavlin pgavlin requested a review from lblackstone June 30, 2020 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the provider interface's GetSchema method.
2 participants