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

Add scripts for generating protocol buffers. #23

Merged
merged 1 commit into from
Sep 10, 2017

Conversation

brendandburns
Copy link
Contributor

@mbohlool (only tested w/ Java)

Copy link
Contributor

@mbohlool mbohlool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be helpful if we can write up a simple document to explain how are we going to support proto. I got some ideas from this PR. I will do my homework on this after code-freeze.


base=https://raw.githubusercontent.com/kubernetes

curl -s ${base}/apimachinery/master/pkg/api/resource/generated.proto \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make master configurable? the value can come from settings file that openapi generator is using.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

mkdir -p k8s.io/apimachinery/pkg/apis/meta/v1
mkdir -p k8s.io/apimachinery/pkg/util/intstr
mkdir -p k8s.io/apimachinery/pkg/runtime/schema
mkdir -p k8s.io/apis/meta/v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these all generated.proto files we need?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the basic V1 API. Doesn't cover any of the other api groups, we can add them later?

@brendandburns
Copy link
Contributor Author

Comment addressed, ptal.

Thanks
--brendan

@mbohlool mbohlool merged commit 7905662 into kubernetes-client:master Sep 10, 2017
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.

3 participants