Function: registerSidebarEntry()
function registerSidebarEntry(__namedParameters: SidebarEntryProps): void
Add a Sidebar Entry to the menu (on the left side of Headlamp).
Parameters
Parameter | Type |
---|---|
__namedParameters | SidebarEntryProps |
Returns
void
Example
import { registerSidebarEntry } from '@kinvolk/headlamp-plugin/lib';
registerSidebarEntry({ parent: 'cluster', name: 'traces', label: 'Traces', url: '/traces' });