containerd/runtime
Wei Fu b297775eaf runtime/v2/shim: return if error in load plugin
If there is any unskipable error during setuping shim plugins, we should
fail return error to prevent from leaky shim instance. For example,
there is error during init task plugin, the shim ttrpc server will not
contain any shim API method. The any call to the shim will receive that

  failed to create shim task: service containerd.task.v2.Task: not implemented

Then containerd can't use `Shutdown` to let the shim close. The shim
will be leaky. And also fail return if there is no ttrpc service.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2022-07-22 23:25:40 +08:00
..
linux/runctypes make protos 2022-04-27 21:31:16 +00:00
opts Update cgroups to v1.0.2 2021-10-08 17:48:33 -07:00
restart fix monitor restart 2022-04-20 21:44:29 +08:00
v1 make protos 2022-04-27 21:31:16 +00:00
v2 runtime/v2/shim: return if error in load plugin 2022-07-22 23:25:40 +08:00
events.go Licence header added 2018-02-19 10:32:26 +09:00
monitor.go Add runtime label to metrics 2021-07-23 10:04:46 -07:00
runtime.go Launch sandboxed containers from task service 2022-04-08 13:33:47 -07:00
task_list.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
task.go Consolidate gogo/protobuf dependencies under our own protobuf package 2022-04-19 15:53:36 +00:00
typeurl.go Licence header added 2018-02-19 10:32:26 +09:00