Add DaemonSets as Default Objects

Signed-off-by: Salomon Moreno <msalomon@vmware.com>
This commit is contained in:
Salomon Moreno
2022-08-09 10:03:55 -05:00
parent 9e20c7afc4
commit 0297da83c0
6 changed files with 37 additions and 4 deletions
+8 -1
View File
@@ -18,6 +18,7 @@ import type { JsonObject } from '@backstage/types';
import {
V1ConfigMap,
V1CronJob,
V1DaemonSet,
V1Deployment,
V1HorizontalPodAutoscaler,
V1Ingress,
@@ -105,7 +106,8 @@ export type FetchResponse =
| CronJobsFetchResponse
| IngressesFetchResponse
| CustomResourceFetchResponse
| StatefulSetsFetchResponse;
| StatefulSetsFetchResponse
| DaemonSetsFetchResponse;
export interface PodFetchResponse {
type: 'pods';
@@ -167,6 +169,11 @@ export interface StatefulSetsFetchResponse {
resources: Array<V1StatefulSet>;
}
export interface DaemonSetsFetchResponse {
type: 'daemonsets';
resources: Array<V1DaemonSet>;
}
export interface KubernetesFetchError {
errorType: KubernetesErrorTypes;
statusCode?: number;