Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/diagnostics/controllers/DiagnosticsController

Cockpit client (features), v0.8. Source: ui/client/features/diagnostics/controllers/DiagnosticsController.tsx.

Functions#

DiagnosticsController()#

DiagnosticsController(__namedParameters): Element

Defined in: ui/client/features/diagnostics/controllers/DiagnosticsController.tsx:10

The Diagnostics tab body. The run state is owned by the caller (the shell also needs it for the tab badge, status bar and palette), so it is passed in (see useDiagnostics).

Props#

Prop Type Required Default Description
diagnostics DiagnosticsApi Yes —
onOpenPage (target: PageTarget, line: number) => void Yes —

Returns#

Element