-
Notifications
You must be signed in to change notification settings - Fork 152
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
Conversation
There was a problem hiding this 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.
proto/dependencies.sh
Outdated
|
||
base=https://raw.githubusercontent.com/kubernetes | ||
|
||
curl -s ${base}/apimachinery/master/pkg/api/resource/generated.proto \ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
Comment addressed, ptal. Thanks |
@mbohlool (only tested w/ Java)