refactor: prepare kubernetes backend fan out handler for new endpoint (#11952)

* refactor: prepare kubernetes backend fan out handler for new endpoint

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* add changeset

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* PR api report feedback

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* update api docs

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix api report warnings

Signed-off-by: Matthew Clarke <mclarke@spotify.com>
This commit is contained in:
Matthew Clarke
2022-06-15 15:18:35 -04:00
committed by GitHub
parent 1857c85533
commit 0791af993f
19 changed files with 430 additions and 262 deletions
+8 -6
View File
@@ -29,13 +29,15 @@ import {
} from '@kubernetes/client-node';
import { Entity } from '@backstage/catalog-model';
export interface KubernetesRequestBody {
auth?: {
google?: string;
oidc?: {
[key: string]: string;
};
export interface KubernetesRequestAuth {
google?: string;
oidc?: {
[key: string]: string;
};
}
export interface KubernetesRequestBody {
auth?: KubernetesRequestAuth;
entity: Entity;
}