api: add v1 API protobuf definition and generated codes. #1359
Conversation
0a49fef
to
b62f66c
Compare
Major changes from the original proposal are:
|
Also cc our kubelet friends :) @yujuhong @dchen1107 @vishh |
// PodState defines the possible states of the pod. | ||
enum PodState { | ||
POD_STATE_UNDEFINED = 0; | ||
POD_STATE_EMBRYO = 1; |
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 you document the semantics of each of these states? I assume the kubelet will have to directly deal with these states.
94844fe
to
61508ea
Compare
@vishh Added app state events and documented the pod states. |
89ccc65
to
03e77c5
Compare
Added two more rpc:
|
db0b2f3
to
316d2f2
Compare
Updated the |
ed33f6f
to
d8698d7
Compare
8e1f75a
to
9a60275
Compare
@jonboulle I implemented all the intefaces in the my api_service branch. Seems it's time to get those merged one by one now. We can start from this one |
9a60275
to
fb9bc10
Compare
Anyone wants to give a lgtm? @jonboulle @iaguis @alban |
@yifan-gu could you send an email to rkt-dev asking for feedback? |
8213b21
to
965e595
Compare
@@ -0,0 +1,988 @@ | |||
// Code generated by protoc-gen-go. | |||
// source: api.proto | |||
// DO NOT EDIT! |
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.
Since this is a generated file, shouldn't it be removed from the git repository and add calls to protoc-gen-go
in some makefiles?
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's probably needed by apps that want to build against it.
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.
yes
965e595
to
7f9387c
Compare
7f9387c
to
c9960c8
Compare
Will merge after CI green if no more objections |
As discussed oob please mark this clearly as alpha and document that it is
|
Marked in the .proto file here: |
8e4c773
to
b9c7fc6
Compare
b9c7fc6
to
ac03a80
Compare
api: add v1 API protobuf definition and generated codes.
/cc @jonboulle @eyakubovich @philips