Skip to main content

Function: registerSidebarEntry()

function registerSidebarEntry(__namedParameters: SidebarEntryProps): void;

Defined in: plugin/registry.tsx:297

Add a Sidebar Entry to the menu (on the left side of Headlamp).

Parameters​

ParameterType
__namedParametersSidebarEntryProps

Returns​

void

Example​

import { registerSidebarEntry } from '@kinvolk/headlamp-plugin/lib';
registerSidebarEntry({ parent: 'cluster', name: 'traces', label: 'Traces', url: '/traces' });

See​

Sidebar Example