UNPKG

@veecode-platform/plugin-kong-service-manager

Version:

28 lines (23 loc) 1.22 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as _backstage_core_plugin_api from '@backstage/core-plugin-api'; import { Entity } from '@backstage/catalog-model'; declare const kongServiceManagerPlugin: _backstage_core_plugin_api.BackstagePlugin<{ root: _backstage_core_plugin_api.RouteRef<undefined>; routesList: _backstage_core_plugin_api.SubRouteRef<undefined>; pluginsList: _backstage_core_plugin_api.SubRouteRef<undefined>; removePlugin: _backstage_core_plugin_api.SubRouteRef<undefined>; addPlugin: _backstage_core_plugin_api.SubRouteRef<undefined>; allSpecs: _backstage_core_plugin_api.SubRouteRef<undefined>; }, {}, {}>; /** * @public */ declare const KongServiceManagerContent: () => react_jsx_runtime.JSX.Element; declare const useEntityAnnotation: (entity: Entity) => { serviceName: string | null; kongInstances: string[] | null; kongSpecs: string[] | null; }; declare const isKongServiceManagerAvailable: (entity: Entity) => boolean; declare const isKongManagerSpecAvailable: (entity: Entity) => boolean; export { KongServiceManagerContent, isKongManagerSpecAvailable, isKongServiceManagerAvailable, kongServiceManagerPlugin, useEntityAnnotation };