plugin/registry
Index
Enumerations
| Enumeration | Description |
|---|---|
| DefaultAppBarAction | - |
| DefaultDetailsViewSection | - |
| DefaultSidebars | - |
Classes
| Class | Description |
|---|---|
| PluginManager | A wrapper class for initiating calls to Electron via desktopApi for managing plugins. |
| Registry | - |
Interfaces
| Interface | Description |
|---|---|
| AppLogoProps | - |
| ClusterChooserProps | - |
| CreateResourceEvent | Event fired when creating a resource. |
| DeleteResourceEvent | Event fired when a resource is to be deleted. |
| DetailsViewSectionProps | - |
| EditResourceEvent | Event fired when editing a resource. |
| ErrorBoundaryEvent | Event fired when an error boundary is triggered. |
| EventListEvent | Event fired when kubernetes events are loaded (for a resource or not). |
| HeadlampEvent | Represents a Headlamp event. It can be one of the default events or a custom event. |
| LogsEvent | Event fired when viewing pod logs. |
| PluginLoadingErrorEvent | Event fired when there is an error while loading a plugin. |
| PluginSettingsDetailsProps | Props for PluginSettingsDetailsProps component. |
| PluginsLoadedEvent | Event fired when all plugins are loaded. |
| PodAttachEvent | Event fired when attaching to a pod. |
| ResourceDetailsViewLoadedEvent | Event fired when a resource is loaded in the details view. |
| ResourceListViewLoadedEvent | Event fired when a list view is loaded for a resource. |
| RestartResourceEvent | Event fired when restarting a resource. |
| ScaleResourceEvent | Event fired when scaling a resource. |
| SectionFuncProps | - |
| SidebarEntryProps | Represents an entry in the sidebar menu. |
| TerminalEvent | Event fired when using the terminal. |
Type Aliases
| Type alias | Description |
|---|---|
| AppBarActionProcessorType | - |
| AppLogoType | - |
| ClusterChooserType | - |
| DetailsViewHeaderActionType | - |
| DetailsViewHeaderActionsProcessor | - |
| DetailsViewSectionType | - |
| HeadlampEventCallback | - |
| PluginSettingsComponentType | PluginSettingsComponentType is the type of the component associated with the plugin's settings. |
| sectionFunc | - |
Variables
| Variable | Description |
|---|---|
| DefaultHeadlampEvents | - |
| DetailsViewDefaultHeaderActions | - |
Functions
| Function | Description |
|---|---|
| getHeadlampAPIHeaders | Returns headers for making API calls to the headlamp-server backend. |
| registerAppBarAction | Add a component into the app bar (at the top of the app). |
| registerAppLogo | Add a logo for Headlamp to use instead of the default one. |
| registerClusterChooser | Use a custom cluster chooser button |
| registerDetailsViewHeaderAction | Add a component into the details view header. |
| registerDetailsViewHeaderActionsProcessor | Add a processor for the details view header actions. Allowing the modification of header actions. |
| registerDetailsViewSection | Append a component to the details view for a given resource. |
| registerDetailsViewSectionsProcessor | Add a processor for the details view sections. Allowing the modification of what sections are shown. |
| registerGetTokenFunction | Override headlamp getToken method |
| registerHeadlampEventCallback | Add a callback for headlamp events. |
| registerPluginSettings | Register a plugin settings component. |
| registerResourceTableColumnsProcessor | Add a processor for the resource table columns. Allowing the modification of what tables show. |
| registerRoute | Add a Route for a component. |
| registerRouteFilter | Remove routes. |
| registerSetTokenFunction | Override headlamp setToken method |
| registerSidebarEntry | Add a Sidebar Entry to the menu (on the left side of Headlamp). |
| registerSidebarEntryFilter | Remove sidebar menu items. |
| runCommand | Runs a shell command and returns an object that mimics the interface of a ChildProcess object returned by Node's spawn function. |