Commit 03f3f420 authored by Euan Kemp's avatar Euan Kemp

Godeps: Update rkt to v1.4.0

parent 2e9bcb83
......@@ -391,8 +391,8 @@
},
{
"ImportPath": "github.com/coreos/rkt/api/v1alpha",
"Comment": "v1.2.1-24-ge568957",
"Rev": "e56895779706097a5fdfc7099003d105cc325638"
"Comment": "v1.4.0",
"Rev": "f5b69782d120a7ae5ada8f2ebad97a014a98ebd5"
},
{
"ImportPath": "github.com/cpuguy83/go-md2man/md2man",
......
......@@ -9,3 +9,13 @@ For more information, see:
- #1359
- #1468
- [API Service Subcommand](../../Documentation/subcommands/api-service.md)
## Protobuf
The rkt gRPC API uses Protocol Buffers for its services.
In order to rebuild the generated code make sure you have protobuf 3.0.0 installed (https://github.com/google/protobuf)
and execute from the top-level directory:
```
$ make protobuf
```
......@@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// To compile, run 'protoc -I api/v1alpha api/v1alpha/api.proto --go_out=plugins=grpc:api/v1alpha' in rkt root directory.
// The protoc version must be 3.0.0.
// *************************************************** //
// ************ WARNING - HERE BE DRAGONS ************ //
// //
......@@ -172,6 +169,22 @@ message Pod {
// Annotations on this pod.
repeated KeyValue annotations = 7;
// Cgroup of the pod, empty if the pod is not running.
string cgroup = 8;
// Timestamp of when the pod is created, nanoseconds since epoch.
// Zero if the pod is not created.
int64 created_at = 9;
// Timestamp of when the pod is started, nanoseconds since epoch.
// Zero if the pod is not started.
int64 started_at = 10;
// Timestamp of when the pod is moved to exited-garbage/garbage,
// in nanoseconds since epoch.
// Zero if the pod is not moved to exited-garbage/garbage yet.
int64 gc_marked_at = 11;
}
message KeyValue {
......@@ -201,6 +214,9 @@ message PodFilter {
// If not empty, the pods that have all of the annotations will be returned.
repeated KeyValue annotations = 6;
// If not empty, the pods whose cgroup are listed will be returned.
repeated string cgroups = 7;
}
// ImageFilter defines the condition that the returned images need to satisfy in ListImages().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment