Skip to content

Commit

Permalink
Merge pull request containerd#565 from ijc25/execution-service-get-co…
Browse files Browse the repository at this point in the history
…ntainer-info

Add ContainerService.Info to get info about a single container
  • Loading branch information
estesp authored Feb 24, 2017
2 parents 8de7b60 + cc253b0 commit 994aebc
Show file tree
Hide file tree
Showing 5 changed files with 291 additions and 57 deletions.
245 changes: 206 additions & 39 deletions api/services/execution/execution.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions api/services/execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ service ContainerService {
rpc Create(CreateRequest) returns (CreateResponse);
rpc Start(StartRequest) returns (google.protobuf.Empty);
rpc Delete(DeleteRequest) returns (google.protobuf.Empty);
rpc Info(InfoRequest) returns (containerd.v1.types.Container);
rpc List(ListRequest) returns (ListResponse);
rpc Events(EventsRequest) returns (stream containerd.v1.types.Event);
}
Expand Down Expand Up @@ -45,6 +46,10 @@ message DeleteResponse {
uint32 exit_status = 2;
}

message InfoRequest {
string id = 1 [(gogoproto.customname) = "ID"];
}

message ListRequest {
}

Expand Down
Loading

0 comments on commit 994aebc

Please sign in to comment.