feat: add test and basic docs for catalog cluster locator

Signed-off-by: Jonah Back <jonah@jonahback.com>
This commit is contained in:
Jonah Back
2022-06-20 15:28:48 -07:00
parent 746ec700ea
commit 9462a2ce8d
+5
View File
@@ -14,6 +14,7 @@ import type { KubernetesRequestAuth } from '@backstage/plugin-kubernetes-common'
import type { KubernetesRequestBody } from '@backstage/plugin-kubernetes-common';
import { Logger } from 'winston';
import type { ObjectsByEntityResponse } from '@backstage/plugin-kubernetes-common';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
import { PodStatus } from '@kubernetes/client-node/dist/top';
// @alpha (undocumented)
@@ -158,6 +159,8 @@ export interface KubernetesEnvironment {
// (undocumented)
config: Config;
// (undocumented)
discovery: PluginEndpointDiscovery;
// (undocumented)
logger: Logger;
}
@@ -272,6 +275,8 @@ export interface RouterOptions {
// (undocumented)
config: Config;
// (undocumented)
discovery: PluginEndpointDiscovery;
// (undocumented)
logger: Logger;
}