Signed-off-by: Matthew Clarke <mclarke@spotify.com>
This commit is contained in:
Matthew Clarke
2022-09-19 16:07:23 -04:00
parent 72e610f0e4
commit 7a89391d17
+4 -7
View File
@@ -24,10 +24,10 @@ import {
KubernetesApi,
} from '../src';
import {
CustomResourceMatcher,
CustomObjectsByEntityRequest,
FetchResponse,
KubernetesRequestAuth,
ObjectsByEntityResponse,
WorkloadsByEntityRequest,
} from '@backstage/plugin-kubernetes-common';
import fixture1 from '../src/__fixtures__/1-deployments.json';
import fixture2 from '../src/__fixtures__/2-deployments.json';
@@ -62,15 +62,12 @@ class MockKubernetesClient implements KubernetesApi {
);
}
async getWorkloadsByEntity(
_auth: KubernetesRequestAuth,
_entity: Entity,
_request: WorkloadsByEntityRequest,
): Promise<ObjectsByEntityResponse> {
throw new Error('Method not implemented.');
}
async getCustomObjectsByEntity(
_auth: KubernetesRequestAuth,
_customResources: CustomResourceMatcher[],
_entity: Entity,
_request: CustomObjectsByEntityRequest,
): Promise<ObjectsByEntityResponse> {
throw new Error('Method not implemented.');
}