containerd/api/types
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
..
task Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
transfer transfer: add OCI descriptors to Progress structure 2024-01-11 23:56:13 +09:00
descriptor.pb.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
descriptor.proto Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
doc.go Licence header added 2018-02-19 10:32:26 +09:00
introspection.pb.go api/services/instrospection: add PluginInfo 2024-01-25 10:00:30 +09:00
introspection.proto api/services/instrospection: add PluginInfo 2024-01-25 10:00:30 +09:00
metrics.pb.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
metrics.proto Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
mount.pb.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
mount.proto Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
platform_helpers.go platforms: move ToProto, FromProto to api/types 2023-09-13 16:44:52 +02:00
platform.pb.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
platform.proto Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
sandbox.pb.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
sandbox.proto Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00