(ctx context.Context, request any)
| 371 | } |
| 372 | |
| 373 | func (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 | |
| 382 | func (m *TaskManager) validateRuntimeFeatures(ctx context.Context, opts runtime.CreateOpts) error { |
| 383 | var spec specs.Spec |
no test coverage detected