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:
@@ -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)
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user