Skip to main content

plugin/registry

Index

Enumerations

EnumerationDescription
DefaultAppBarAction-
DefaultDetailsViewSection-
DefaultSidebars-

Classes

ClassDescription
PluginManagerA wrapper class for initiating calls to Electron via desktopApi for managing plugins.
Registry-

Interfaces

InterfaceDescription
AppLogoProps-
ClusterChooserProps-
CreateResourceEventEvent fired when creating a resource.
DeleteResourceEventEvent fired when a resource is to be deleted.
DetailsViewSectionProps-
EditResourceEventEvent fired when editing a resource.
ErrorBoundaryEventEvent fired when an error boundary is triggered.
EventListEventEvent fired when kubernetes events are loaded (for a resource or not).
HeadlampEventRepresents a Headlamp event. It can be one of the default events or a custom event.
LogsEventEvent fired when viewing pod logs.
PluginLoadingErrorEventEvent fired when there is an error while loading a plugin.
PluginSettingsDetailsPropsProps for PluginSettingsDetailsProps component.
PluginsLoadedEventEvent fired when all plugins are loaded.
PodAttachEventEvent fired when attaching to a pod.
ResourceDetailsViewLoadedEventEvent fired when a resource is loaded in the details view.
ResourceListViewLoadedEventEvent fired when a list view is loaded for a resource.
RestartResourceEventEvent fired when restarting a resource.
ScaleResourceEventEvent fired when scaling a resource.
SectionFuncProps-
SidebarEntryPropsRepresents an entry in the sidebar menu.
TerminalEventEvent fired when using the terminal.

Type Aliases

Type aliasDescription
AppBarActionProcessorType-
AppLogoType-
ClusterChooserType-
DetailsViewHeaderActionType-
DetailsViewHeaderActionsProcessor-
DetailsViewSectionType-
HeadlampEventCallback-
PluginSettingsComponentTypePluginSettingsComponentType is the type of the component associated with the plugin's settings.
sectionFunc-

Variables

VariableDescription
DefaultHeadlampEvents-
DetailsViewDefaultHeaderActions-

Functions

FunctionDescription
getHeadlampAPIHeadersReturns headers for making API calls to the headlamp-server backend.
registerAppBarActionAdd a component into the app bar (at the top of the app).
registerAppLogoAdd a logo for Headlamp to use instead of the default one.
registerClusterChooserUse a custom cluster chooser button
registerDetailsViewHeaderActionAdd a component into the details view header.
registerDetailsViewHeaderActionsProcessorAdd a processor for the details view header actions. Allowing the modification of header actions.
registerDetailsViewSectionAppend a component to the details view for a given resource.
registerDetailsViewSectionsProcessorAdd a processor for the details view sections. Allowing the modification of what sections are shown.
registerGetTokenFunctionOverride headlamp getToken method
registerHeadlampEventCallbackAdd a callback for headlamp events.
registerPluginSettingsRegister a plugin settings component.
registerResourceTableColumnsProcessorAdd a processor for the resource table columns. Allowing the modification of what tables show.
registerRouteAdd a Route for a component.
registerRouteFilterRemove routes.
registerSetTokenFunctionOverride headlamp setToken method
registerSidebarEntryAdd a Sidebar Entry to the menu (on the left side of Headlamp).
registerSidebarEntryFilterRemove sidebar menu items.
runCommandRuns a shell command and returns an object that mimics the interface of a ChildProcess object returned by Node's spawn function.