@backstage-community/plugin-puppetdb
Version:
Backstage plugin to visualize resource information and Puppet facts from PuppetDB.
34 lines (29 loc) • 1.16 kB
TypeScript
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';
/**
* Create the PuppetDB frontend plugin.
*
* @public
* */
declare const puppetdbPlugin: _backstage_core_plugin_api.BackstagePlugin<{}, {}, {}>;
/**
* Creates a routable extension for the PuppetDB plugin content.
*
* @public
*/
declare const PuppetDbPage: () => react_jsx_runtime.JSX.Element;
/**
* Checks if the entity has a puppet certname annotation.
* @param entity - The entity to check for the puppet certname annotation.
*
* @public
*/
declare const isPuppetDbAvailable: (entity: Entity) => boolean;
/** @public */
declare const Router: () => react_jsx_runtime.JSX.Element;
/** @public */
declare const puppetDbRouteRef: _backstage_core_plugin_api.RouteRef<undefined>;
/** @public */
declare const puppetDbReportRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/:hash">>;
export { PuppetDbPage, Router, isPuppetDbAvailable, puppetdbPlugin as plugin, puppetDbReportRouteRef, puppetDbRouteRef, puppetdbPlugin };