MCPcopy Index your code
hub / github.com/containerd/containerd / PluginInfo

Method PluginInfo

core/runtime/v2/task_manager.go:373–380  ·  view source on GitHub ↗
(ctx context.Context, request any)

Source from the content-addressed store, hash-verified

371}
372
373func (m *TaskManager) PluginInfo(ctx context.Context, request any) (any, error) {
374 req, ok := request.(*apitypes.RuntimeRequest)
375 if !ok {
376 return nil, fmt.Errorf("unknown request type %T: %w", request, errdefs.ErrNotImplemented)
377 }
378
379 return getRuntimeInfo(ctx, m.manager, req)
380}
381
382func (m *TaskManager) validateRuntimeFeatures(ctx context.Context, opts runtime.CreateOpts) error {
383 var spec specs.Spec

Callers 1

Calls 1

getRuntimeInfoFunction · 0.85

Tested by

no test coverage detected