containerd/api
Michael Crosby 9f0bc2b53f Add UUID and server info to introspection
Closes #1862

This adds a new rpc to the introspection service to provide server
information with a generated UUID that is done on demand and the os and
arch of the server.

ctr output:

```bash
> sudo ctr version

Client:
  Version:  v1.2.0-802-g57821695.m
  Revision: 578216950de9c1c188708369e2a31ac6c494dfee.m

Server:
  Version:  v1.2.0-802-g57821695.m
  Revision: 578216950de9c1c188708369e2a31ac6c494dfee.m
  UUID: 92e982a9-f13e-4a2c-9032-e69b27fed454
  OS: linux
  ARCH: amd64
```

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-06 14:40:48 +00:00
..
events Regenerate protobufs 2019-04-03 23:41:15 +02:00
services Add UUID and server info to introspection 2019-08-06 14:40:48 +00:00
types Regenerate protobufs 2019-04-03 23:41:15 +02:00
1.0.pb.txt api: lock down 1.0 API descriptors 2017-12-05 13:17:08 -08:00
1.1.pb.txt api: update API capture for 1.1 release 2018-04-06 13:52:10 -07:00
1.2.pb.txt Prepare 1.2 release 2018-10-24 16:14:46 -07:00
next.pb.txt Add UUID and server info to introspection 2019-08-06 14:40:48 +00:00
README.md Minor typo fix. 2017-08-10 06:23:21 +00:00

This directory contains the GRPC API definitions for containerd.

All defined services and messages have been aggregated into *.pb.txt descriptors files in this directory. Definitions present here are considered frozen after the release.

At release time, the current next.pb.txt file will be moved into place to freeze the API changes for the minor version. For example, when 1.0.0 is released, next.pb.txt should be moved to 1.0.txt. Notice that we leave off the patch number, since the API will be completely locked down for a given patch series.

We may find that by default, protobuf descriptors are too noisy to lock down API changes. In that case, we may filter out certain fields in the descriptors, possibly regenerating for old versions.

This process is similar to the process used to ensure backwards compatibility in Go.