containerd/runtime/v2/shim
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
..
publisher.go Remove gogoproto.stdtime 2022-04-19 13:39:30 +00:00
shim_darwin.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00
shim_freebsd.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00
shim_linux.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00
shim_test.go Use t.Setenv instead of os.Setenv 2022-04-01 13:53:17 -07:00
shim_unix.go shimv2: handle sigint/sigterm 2022-01-25 17:57:28 +00:00
shim_windows.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00
shim.go runtime/v2/shim: return if error in load plugin 2022-07-22 23:25:40 +08:00
util_test.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00
util_unix.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
util_windows.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
util.go runtime/v2: manager supports server interceptor 2022-07-22 23:25:40 +08:00