UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

26 lines (25 loc) 1.97 kB
/* * Copyright 2025 The Kubernetes Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import * as CommonComponents from './components/common'; import * as K8s from './lib/k8s'; import * as ApiProxy from './lib/k8s/apiProxy'; import * as Notification from './lib/notification'; import * as Router from './lib/router'; import * as Utils from './lib/util'; import { Headlamp, Plugin } from './plugin/lib'; import Registry, { DetailsViewDefaultHeaderActions, getHeadlampAPIHeaders, registerAppBarAction, registerAppLogo, registerClusterChooser, registerDetailsViewHeaderAction, registerDetailsViewHeaderActionsProcessor, registerDetailsViewSection, registerGetTokenFunction, registerPluginSettings, registerResourceTableColumnsProcessor, registerRoute, registerRouteFilter, registerSidebarEntry, registerSidebarEntryFilter, } from './plugin/registry'; // We export k8s (lowercase) since someone may use it as we do in the Headlamp source code. export { ApiProxy, K8s, K8s as k8s, CommonComponents, Utils, Router, Plugin, Registry, Headlamp, Notification, DetailsViewDefaultHeaderActions, getHeadlampAPIHeaders, registerAppLogo, registerAppBarAction, registerClusterChooser, registerDetailsViewHeaderAction, registerDetailsViewSection, registerRoute, registerRouteFilter, registerSidebarEntry, registerSidebarEntryFilter, registerDetailsViewHeaderActionsProcessor, registerGetTokenFunction, registerResourceTableColumnsProcessor, registerPluginSettings, };