containerd/api/services
Akihiro Suda 22d586e515
api/services/instrospection: add PluginInfo
The new `PlunginInfo()` call can be used for instrospecting the details
of the runtime plugin.

```console
$ ctr plugins inspect-runtime --runtime=io.containerd.runc.v2 --runc-binary=runc
{
    "Name": "io.containerd.runc.v2",
    "Version": {
        "Version": "v2.0.0-beta.0-XX-gXXXXXXXXX.m",
        "Revision": "v2.0.0-beta.0-XX-gXXXXXXXXX.m"
    },
    "Options": {
        "binary_name": "runc"
    },
    "Features": {
        "ociVersionMin": "1.0.0",
        "ociVersionMax": "1.1.0-rc.2",
        ...,
    },
    "Annotations": null
}
```

The shim binary has to support `-info` flag, see `runtime/v2/README.md`

Replaces PR 8509 (`api/services/task: add RuntimeInfo()`)

Co-authored-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-25 10:00:30 +09:00
..
containers/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
content/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
diff/v1 api: introduce sync_fs to diff.ApplyRequest 2023-12-12 10:18:39 +08:00
events/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
images/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
introspection/v1 api/services/instrospection: add PluginInfo 2024-01-25 10:00:30 +09:00
leases/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
namespaces/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
sandbox/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
snapshots/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
streaming/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
tasks/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
transfer/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
ttrpc/events/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
version/v1 Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00