@jfvilas/plugin-kubelog-backend
Version:
Backstage backend plugin for Kubelog
24 lines (20 loc) • 846 B
TypeScript
import express from 'express';
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
import { DiscoveryService, RootConfigService, LoggerService, UserInfoService, AuthService, HttpAuthService } from '@backstage/backend-plugin-api';
type KubelogRouterOptions = {
discoverySvc: DiscoveryService;
configSvc: RootConfigService;
loggerSvc: LoggerService;
userInfoSvc: UserInfoService;
authSvc: AuthService;
httpAuthSvc: HttpAuthService;
};
/**
*
* @param options core services we need for kubelog to work
* @returns an express Router
*/
declare function createRouter(options: KubelogRouterOptions): Promise<express.Router>;
declare const kubelogPlugin: _backstage_backend_plugin_api.BackendFeatureCompat;
export { createRouter, kubelogPlugin as default };
export type { KubelogRouterOptions };