@backstage-community/plugin-puppetdb
Version:
Backstage plugin to visualize resource information and Puppet facts from PuppetDB.
36 lines (31 loc) • 1.18 kB
TypeScript
/// <reference types="react" />
import * as react from 'react';
import react__default from 'react';
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.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__default.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 };