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:07:10 -07:00
parent 215bd5a6ff
commit f1017c3bc4
2 changed files with 2 additions and 2 deletions
@@ -16,7 +16,7 @@
import { Config, ConfigReader } from '@backstage/config';
import { getCombinedClusterSupplier } from './index';
import { PluginEndpointDiscovery } from '@backstage/backend-common/dist';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
describe('getCombinedClusterSupplier', () => {
it('should retrieve cluster details from config', async () => {
@@ -20,7 +20,7 @@ import { ClusterDetails, KubernetesClustersSupplier } from '../types/types';
import { ConfigClusterLocator } from './ConfigClusterLocator';
import { GkeClusterLocator } from './GkeClusterLocator';
import { CatalogClusterLocator } from './CatalogClusterLocator';
import { PluginEndpointDiscovery } from '@backstage/backend-common/dist';
import { PluginEndpointDiscovery } from '@backstage/backend-common';
import { CatalogClient } from '@backstage/catalog-client';
class CombinedClustersSupplier implements KubernetesClustersSupplier {