Skip to main content

Function: registerSidebarEntry()

function registerSidebarEntry(__namedParameters: SidebarEntryProps): void

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

Defined in

src/plugin/registry.tsx:242