Kubernetes: Resource quotas as default objects (#20951)

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

---------

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
This commit is contained in:
Jenson3210
2023-11-06 22:13:59 +01:00
committed by GitHub
parent f4d6e6382c
commit df40b067e1
8 changed files with 43 additions and 8 deletions
+10
View File
@@ -20,6 +20,7 @@ import { V1Job } from '@kubernetes/client-node';
import { V1LimitRange } from '@kubernetes/client-node';
import { V1Pod } from '@kubernetes/client-node';
import { V1ReplicaSet } from '@kubernetes/client-node';
import { V1ResourceQuota } from '@kubernetes/client-node';
import { V1Service } from '@kubernetes/client-node';
import { V1StatefulSet } from '@kubernetes/client-node';
@@ -249,6 +250,7 @@ export type FetchResponse =
| ConfigMapFetchResponse
| DeploymentFetchResponse
| LimitRangeFetchResponse
| ResourceQuotaFetchResponse
| ReplicaSetsFetchResponse
| HorizontalPodAutoscalersFetchResponse
| JobsFetchResponse
@@ -403,6 +405,14 @@ export interface ReplicaSetsFetchResponse {
type: 'replicasets';
}
// @public (undocumented)
export interface ResourceQuotaFetchResponse {
// (undocumented)
resources: Array<V1ResourceQuota>;
// (undocumented)
type: 'resourcequotas';
}
// @public
export interface ResourceRef {
// (undocumented)
+8
View File
@@ -27,6 +27,7 @@ import {
V1LimitRange,
V1Pod,
V1ReplicaSet,
V1ResourceQuota,
V1Service,
V1StatefulSet,
} from '@kubernetes/client-node';
@@ -125,6 +126,7 @@ export type FetchResponse =
| ConfigMapFetchResponse
| DeploymentFetchResponse
| LimitRangeFetchResponse
| ResourceQuotaFetchResponse
| ReplicaSetsFetchResponse
| HorizontalPodAutoscalersFetchResponse
| JobsFetchResponse
@@ -171,6 +173,12 @@ export interface LimitRangeFetchResponse {
resources: Array<V1LimitRange>;
}
/** @public */
export interface ResourceQuotaFetchResponse {
type: 'resourcequotas';
resources: Array<V1ResourceQuota>;
}
/** @public */
export interface HorizontalPodAutoscalersFetchResponse {
type: 'horizontalpodautoscalers';