Fix backward compatibility with old task shims

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2021-10-05 14:51:12 -07:00
parent 33786ee4d2
commit a3d298193c
7 changed files with 43 additions and 19 deletions

View File

@@ -57,8 +57,8 @@ const (
RuntimePlugin Type = "io.containerd.runtime.v1"
// RuntimePluginV2 implements a runtime v2
RuntimePluginV2 Type = "io.containerd.runtime.v2"
// RuntimePluginV2Service is a shim provided service implemented on top of runtime v2 plugins.
RuntimePluginV2Service Type = "io.containerd.runtime.v2.service"
// RuntimeShimPlugin implements the shim manager for runtime v2.
RuntimeShimPlugin Type = "io.containerd.runtime-shim.v2"
// ServicePlugin implements a internal service
ServicePlugin Type = "io.containerd.service.v1"
// GRPCPlugin implements a grpc service