Add DaemonSets as Default Objects
Signed-off-by: Salomon Moreno <msalomon@vmware.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user