@k8slens/kubernetes-contracts 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +260 -0
- package/dist/src/generated/api-versions.d.ts +154 -0
- package/dist/src/generated/api-versions.d.ts.map +1 -0
- package/dist/src/generated/kinds.d.ts +713 -0
- package/dist/src/generated/kinds.d.ts.map +1 -0
- package/dist/src/generated/kubernetes-types.d.ts +7953 -0
- package/dist/src/generated/kubernetes-types.d.ts.map +1 -0
- package/dist/src/kube-resource-kind.d.ts +86 -0
- package/dist/src/kube-resource-kind.d.ts.map +1 -0
- package/dist/src/kubernetes-api-version.d.ts +27 -0
- package/dist/src/kubernetes-api-version.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The kinds Lens itself knows, declared for extensions: each resource type as the API
|
|
3
|
+
* serves it, with the fields a served resource always carries made required, and the
|
|
4
|
+
* typed kind to hand to any contract keyed by kind.
|
|
5
|
+
*
|
|
6
|
+
* GENERATED by packages/technical-features/_kube/kubernetes-contracts/generator. DO NOT EDIT.
|
|
7
|
+
* Regenerate with `npm run generate --workspace @k8slens/kubernetes-contracts`.
|
|
8
|
+
*
|
|
9
|
+
* Derived from @kubernetes/client-node 2.0.0 (Apache-2.0), itself generated from the
|
|
10
|
+
* Kubernetes OpenAPI specification, release-1.36 (Apache-2.0).
|
|
11
|
+
*/
|
|
12
|
+
import type { V1ClusterRole, V1ClusterRoleBinding, V1ConfigMap, V1CronJob, V1CustomResourceDefinition, V1DaemonSet, V1Deployment, V1EndpointSlice, V1Endpoints, V1HorizontalPodAutoscaler, V1Ingress, V1IngressClass, V1Job, V1Lease, V1LimitRange, V1MutatingWebhookConfiguration, V1Namespace, V1NetworkPolicy, V1Node, V1ObjectMeta, V1PersistentVolume, V1PersistentVolumeClaim, V1Pod, V1PodDisruptionBudget, V1PriorityClass, V1ReplicaSet, V1ReplicationController, V1ResourceQuota, V1Role, V1RoleBinding, V1RuntimeClass, V1Secret, V1Service, V1ServiceAccount, V1StatefulSet, V1StorageClass, V1ValidatingWebhookConfiguration, V2HorizontalPodAutoscaler } from "./kubernetes-types";
|
|
13
|
+
/**
|
|
14
|
+
* The metadata of a namespaced resource as the API serves it: the schema leaves
|
|
15
|
+
* every field optional because the same type also describes what a client sends,
|
|
16
|
+
* but a served resource always carries these.
|
|
17
|
+
*/
|
|
18
|
+
export type ServedNamespacedObjectMeta = V1ObjectMeta & {
|
|
19
|
+
name: string;
|
|
20
|
+
namespace: string;
|
|
21
|
+
uid: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The metadata of a cluster-scoped resource as the API serves it: the schema leaves
|
|
25
|
+
* every field optional because the same type also describes what a client sends,
|
|
26
|
+
* but a served resource always carries these.
|
|
27
|
+
*/
|
|
28
|
+
export type ServedClusterScopedObjectMeta = V1ObjectMeta & {
|
|
29
|
+
name: string;
|
|
30
|
+
uid: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* A ClusterRole as `rbac.authorization.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
34
|
+
* fields a served ClusterRole always carries made required.
|
|
35
|
+
*/
|
|
36
|
+
export type ClusterRoleV1 = Omit<V1ClusterRole, "kind" | "apiVersion" | "metadata"> & {
|
|
37
|
+
kind: "ClusterRole";
|
|
38
|
+
apiVersion: "rbac.authorization.k8s.io/v1";
|
|
39
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The ClusterRole kind, declared for `rbac.authorization.k8s.io/v1`. Hand it to any contract keyed by
|
|
43
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: clusterRoleKind, apiVersion: rbacAuthorizationV1, ... })`.
|
|
44
|
+
*/
|
|
45
|
+
export declare const clusterRoleKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
46
|
+
kubeResource: {
|
|
47
|
+
"rbac.authorization.k8s.io/v1": ClusterRoleV1;
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* A ClusterRoleBinding as `rbac.authorization.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
52
|
+
* fields a served ClusterRoleBinding always carries made required.
|
|
53
|
+
*/
|
|
54
|
+
export type ClusterRoleBindingV1 = Omit<V1ClusterRoleBinding, "kind" | "apiVersion" | "metadata"> & {
|
|
55
|
+
kind: "ClusterRoleBinding";
|
|
56
|
+
apiVersion: "rbac.authorization.k8s.io/v1";
|
|
57
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* The ClusterRoleBinding kind, declared for `rbac.authorization.k8s.io/v1`. Hand it to any contract keyed by
|
|
61
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: clusterRoleBindingKind, apiVersion: rbacAuthorizationV1, ... })`.
|
|
62
|
+
*/
|
|
63
|
+
export declare const clusterRoleBindingKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
64
|
+
kubeResource: {
|
|
65
|
+
"rbac.authorization.k8s.io/v1": ClusterRoleBindingV1;
|
|
66
|
+
};
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* A ConfigMap as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
70
|
+
* fields a served ConfigMap always carries made required.
|
|
71
|
+
*/
|
|
72
|
+
export type ConfigMapV1 = Omit<V1ConfigMap, "kind" | "apiVersion" | "metadata"> & {
|
|
73
|
+
kind: "ConfigMap";
|
|
74
|
+
apiVersion: "v1";
|
|
75
|
+
metadata: ServedNamespacedObjectMeta;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* The ConfigMap kind, declared for `v1`. Hand it to any contract keyed by
|
|
79
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: configMapKind, apiVersion: coreV1, ... })`.
|
|
80
|
+
*/
|
|
81
|
+
export declare const configMapKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
82
|
+
kubeResource: {
|
|
83
|
+
v1: ConfigMapV1;
|
|
84
|
+
};
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* A CronJob as `batch/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
88
|
+
* fields a served CronJob always carries made required.
|
|
89
|
+
*/
|
|
90
|
+
export type CronJobV1 = Omit<V1CronJob, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
91
|
+
kind: "CronJob";
|
|
92
|
+
apiVersion: "batch/v1";
|
|
93
|
+
metadata: ServedNamespacedObjectMeta;
|
|
94
|
+
spec: NonNullable<V1CronJob["spec"]>;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The CronJob kind, declared for `batch/v1`. Hand it to any contract keyed by
|
|
98
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: cronJobKind, apiVersion: batchV1, ... })`.
|
|
99
|
+
*/
|
|
100
|
+
export declare const cronJobKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
101
|
+
kubeResource: {
|
|
102
|
+
"batch/v1": CronJobV1;
|
|
103
|
+
};
|
|
104
|
+
}>;
|
|
105
|
+
/**
|
|
106
|
+
* A CustomResourceDefinition as `apiextensions.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
107
|
+
* fields a served CustomResourceDefinition always carries made required.
|
|
108
|
+
*/
|
|
109
|
+
export type CustomResourceDefinitionV1 = Omit<V1CustomResourceDefinition, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
110
|
+
kind: "CustomResourceDefinition";
|
|
111
|
+
apiVersion: "apiextensions.k8s.io/v1";
|
|
112
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
113
|
+
spec: NonNullable<V1CustomResourceDefinition["spec"]>;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* The CustomResourceDefinition kind, declared for `apiextensions.k8s.io/v1`. Hand it to any contract keyed by
|
|
117
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: customResourceDefinitionKind, apiVersion: apiextensionsV1, ... })`.
|
|
118
|
+
*/
|
|
119
|
+
export declare const customResourceDefinitionKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
120
|
+
kubeResource: {
|
|
121
|
+
"apiextensions.k8s.io/v1": CustomResourceDefinitionV1;
|
|
122
|
+
};
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* A DaemonSet as `apps/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
126
|
+
* fields a served DaemonSet always carries made required.
|
|
127
|
+
*/
|
|
128
|
+
export type DaemonSetV1 = Omit<V1DaemonSet, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
129
|
+
kind: "DaemonSet";
|
|
130
|
+
apiVersion: "apps/v1";
|
|
131
|
+
metadata: ServedNamespacedObjectMeta;
|
|
132
|
+
spec: NonNullable<V1DaemonSet["spec"]>;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* The DaemonSet kind, declared for `apps/v1`. Hand it to any contract keyed by
|
|
136
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: daemonSetKind, apiVersion: appsV1, ... })`.
|
|
137
|
+
*/
|
|
138
|
+
export declare const daemonSetKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
139
|
+
kubeResource: {
|
|
140
|
+
"apps/v1": DaemonSetV1;
|
|
141
|
+
};
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* A Deployment as `apps/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
145
|
+
* fields a served Deployment always carries made required.
|
|
146
|
+
*/
|
|
147
|
+
export type DeploymentV1 = Omit<V1Deployment, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
148
|
+
kind: "Deployment";
|
|
149
|
+
apiVersion: "apps/v1";
|
|
150
|
+
metadata: ServedNamespacedObjectMeta;
|
|
151
|
+
spec: NonNullable<V1Deployment["spec"]>;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* The Deployment kind, declared for `apps/v1`. Hand it to any contract keyed by
|
|
155
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: deploymentKind, apiVersion: appsV1, ... })`.
|
|
156
|
+
*/
|
|
157
|
+
export declare const deploymentKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
158
|
+
kubeResource: {
|
|
159
|
+
"apps/v1": DeploymentV1;
|
|
160
|
+
};
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* A Endpoints as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
164
|
+
* fields a served Endpoints always carries made required.
|
|
165
|
+
*/
|
|
166
|
+
export type EndpointsV1 = Omit<V1Endpoints, "kind" | "apiVersion" | "metadata"> & {
|
|
167
|
+
kind: "Endpoints";
|
|
168
|
+
apiVersion: "v1";
|
|
169
|
+
metadata: ServedNamespacedObjectMeta;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* The Endpoints kind, declared for `v1`. Hand it to any contract keyed by
|
|
173
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: endpointsKind, apiVersion: coreV1, ... })`.
|
|
174
|
+
*/
|
|
175
|
+
export declare const endpointsKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
176
|
+
kubeResource: {
|
|
177
|
+
v1: EndpointsV1;
|
|
178
|
+
};
|
|
179
|
+
}>;
|
|
180
|
+
/**
|
|
181
|
+
* A EndpointSlice as `discovery.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
182
|
+
* fields a served EndpointSlice always carries made required.
|
|
183
|
+
*/
|
|
184
|
+
export type EndpointSliceV1 = Omit<V1EndpointSlice, "kind" | "apiVersion" | "metadata"> & {
|
|
185
|
+
kind: "EndpointSlice";
|
|
186
|
+
apiVersion: "discovery.k8s.io/v1";
|
|
187
|
+
metadata: ServedNamespacedObjectMeta;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* The EndpointSlice kind, declared for `discovery.k8s.io/v1`. Hand it to any contract keyed by
|
|
191
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: endpointSliceKind, apiVersion: discoveryV1, ... })`.
|
|
192
|
+
*/
|
|
193
|
+
export declare const endpointSliceKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
194
|
+
kubeResource: {
|
|
195
|
+
"discovery.k8s.io/v1": EndpointSliceV1;
|
|
196
|
+
};
|
|
197
|
+
}>;
|
|
198
|
+
/**
|
|
199
|
+
* A HorizontalPodAutoscaler as `autoscaling/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
200
|
+
* fields a served HorizontalPodAutoscaler always carries made required.
|
|
201
|
+
*/
|
|
202
|
+
export type HorizontalPodAutoscalerV1 = Omit<V1HorizontalPodAutoscaler, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
203
|
+
kind: "HorizontalPodAutoscaler";
|
|
204
|
+
apiVersion: "autoscaling/v1";
|
|
205
|
+
metadata: ServedNamespacedObjectMeta;
|
|
206
|
+
spec: NonNullable<V1HorizontalPodAutoscaler["spec"]>;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* A HorizontalPodAutoscaler as `autoscaling/v2` serves it: the Kubernetes API schema of the kind, with the
|
|
210
|
+
* fields a served HorizontalPodAutoscaler always carries made required.
|
|
211
|
+
*/
|
|
212
|
+
export type HorizontalPodAutoscalerV2 = Omit<V2HorizontalPodAutoscaler, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
213
|
+
kind: "HorizontalPodAutoscaler";
|
|
214
|
+
apiVersion: "autoscaling/v2";
|
|
215
|
+
metadata: ServedNamespacedObjectMeta;
|
|
216
|
+
spec: NonNullable<V2HorizontalPodAutoscaler["spec"]>;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* The HorizontalPodAutoscaler kind, declared for `autoscaling/v1`, `autoscaling/v2`. Hand it to any contract keyed by
|
|
220
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: horizontalPodAutoscalerKind, apiVersion: autoscalingV1, ... })`.
|
|
221
|
+
*/
|
|
222
|
+
export declare const horizontalPodAutoscalerKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
223
|
+
kubeResource: {
|
|
224
|
+
"autoscaling/v1": HorizontalPodAutoscalerV1;
|
|
225
|
+
"autoscaling/v2": HorizontalPodAutoscalerV2;
|
|
226
|
+
};
|
|
227
|
+
}>;
|
|
228
|
+
/**
|
|
229
|
+
* A Ingress as `networking.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
230
|
+
* fields a served Ingress always carries made required.
|
|
231
|
+
*/
|
|
232
|
+
export type IngressV1 = Omit<V1Ingress, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
233
|
+
kind: "Ingress";
|
|
234
|
+
apiVersion: "networking.k8s.io/v1";
|
|
235
|
+
metadata: ServedNamespacedObjectMeta;
|
|
236
|
+
spec: NonNullable<V1Ingress["spec"]>;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* The Ingress kind, declared for `networking.k8s.io/v1`. Hand it to any contract keyed by
|
|
240
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: ingressKind, apiVersion: networkingV1, ... })`.
|
|
241
|
+
*/
|
|
242
|
+
export declare const ingressKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
243
|
+
kubeResource: {
|
|
244
|
+
"networking.k8s.io/v1": IngressV1;
|
|
245
|
+
};
|
|
246
|
+
}>;
|
|
247
|
+
/**
|
|
248
|
+
* A IngressClass as `networking.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
249
|
+
* fields a served IngressClass always carries made required.
|
|
250
|
+
*/
|
|
251
|
+
export type IngressClassV1 = Omit<V1IngressClass, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
252
|
+
kind: "IngressClass";
|
|
253
|
+
apiVersion: "networking.k8s.io/v1";
|
|
254
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
255
|
+
spec: NonNullable<V1IngressClass["spec"]>;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* The IngressClass kind, declared for `networking.k8s.io/v1`. Hand it to any contract keyed by
|
|
259
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: ingressClassKind, apiVersion: networkingV1, ... })`.
|
|
260
|
+
*/
|
|
261
|
+
export declare const ingressClassKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
262
|
+
kubeResource: {
|
|
263
|
+
"networking.k8s.io/v1": IngressClassV1;
|
|
264
|
+
};
|
|
265
|
+
}>;
|
|
266
|
+
/**
|
|
267
|
+
* A Job as `batch/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
268
|
+
* fields a served Job always carries made required.
|
|
269
|
+
*/
|
|
270
|
+
export type JobV1 = Omit<V1Job, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
271
|
+
kind: "Job";
|
|
272
|
+
apiVersion: "batch/v1";
|
|
273
|
+
metadata: ServedNamespacedObjectMeta;
|
|
274
|
+
spec: NonNullable<V1Job["spec"]>;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* The Job kind, declared for `batch/v1`. Hand it to any contract keyed by
|
|
278
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: jobKind, apiVersion: batchV1, ... })`.
|
|
279
|
+
*/
|
|
280
|
+
export declare const jobKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
281
|
+
kubeResource: {
|
|
282
|
+
"batch/v1": JobV1;
|
|
283
|
+
};
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* A Lease as `coordination.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
287
|
+
* fields a served Lease always carries made required.
|
|
288
|
+
*/
|
|
289
|
+
export type LeaseV1 = Omit<V1Lease, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
290
|
+
kind: "Lease";
|
|
291
|
+
apiVersion: "coordination.k8s.io/v1";
|
|
292
|
+
metadata: ServedNamespacedObjectMeta;
|
|
293
|
+
spec: NonNullable<V1Lease["spec"]>;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* The Lease kind, declared for `coordination.k8s.io/v1`. Hand it to any contract keyed by
|
|
297
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: leaseKind, apiVersion: coordinationV1, ... })`.
|
|
298
|
+
*/
|
|
299
|
+
export declare const leaseKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
300
|
+
kubeResource: {
|
|
301
|
+
"coordination.k8s.io/v1": LeaseV1;
|
|
302
|
+
};
|
|
303
|
+
}>;
|
|
304
|
+
/**
|
|
305
|
+
* A LimitRange as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
306
|
+
* fields a served LimitRange always carries made required.
|
|
307
|
+
*/
|
|
308
|
+
export type LimitRangeV1 = Omit<V1LimitRange, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
309
|
+
kind: "LimitRange";
|
|
310
|
+
apiVersion: "v1";
|
|
311
|
+
metadata: ServedNamespacedObjectMeta;
|
|
312
|
+
spec: NonNullable<V1LimitRange["spec"]>;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* The LimitRange kind, declared for `v1`. Hand it to any contract keyed by
|
|
316
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: limitRangeKind, apiVersion: coreV1, ... })`.
|
|
317
|
+
*/
|
|
318
|
+
export declare const limitRangeKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
319
|
+
kubeResource: {
|
|
320
|
+
v1: LimitRangeV1;
|
|
321
|
+
};
|
|
322
|
+
}>;
|
|
323
|
+
/**
|
|
324
|
+
* A MutatingWebhookConfiguration as `admissionregistration.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
325
|
+
* fields a served MutatingWebhookConfiguration always carries made required.
|
|
326
|
+
*/
|
|
327
|
+
export type MutatingWebhookConfigurationV1 = Omit<V1MutatingWebhookConfiguration, "kind" | "apiVersion" | "metadata"> & {
|
|
328
|
+
kind: "MutatingWebhookConfiguration";
|
|
329
|
+
apiVersion: "admissionregistration.k8s.io/v1";
|
|
330
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* The MutatingWebhookConfiguration kind, declared for `admissionregistration.k8s.io/v1`. Hand it to any contract keyed by
|
|
334
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: mutatingWebhookConfigurationKind, apiVersion: admissionregistrationV1, ... })`.
|
|
335
|
+
*/
|
|
336
|
+
export declare const mutatingWebhookConfigurationKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
337
|
+
kubeResource: {
|
|
338
|
+
"admissionregistration.k8s.io/v1": MutatingWebhookConfigurationV1;
|
|
339
|
+
};
|
|
340
|
+
}>;
|
|
341
|
+
/**
|
|
342
|
+
* A Namespace as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
343
|
+
* fields a served Namespace always carries made required.
|
|
344
|
+
*/
|
|
345
|
+
export type NamespaceV1 = Omit<V1Namespace, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
346
|
+
kind: "Namespace";
|
|
347
|
+
apiVersion: "v1";
|
|
348
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
349
|
+
spec: NonNullable<V1Namespace["spec"]>;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* The Namespace kind, declared for `v1`. Hand it to any contract keyed by
|
|
353
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: namespaceKind, apiVersion: coreV1, ... })`.
|
|
354
|
+
*/
|
|
355
|
+
export declare const namespaceKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
356
|
+
kubeResource: {
|
|
357
|
+
v1: NamespaceV1;
|
|
358
|
+
};
|
|
359
|
+
}>;
|
|
360
|
+
/**
|
|
361
|
+
* A NetworkPolicy as `networking.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
362
|
+
* fields a served NetworkPolicy always carries made required.
|
|
363
|
+
*/
|
|
364
|
+
export type NetworkPolicyV1 = Omit<V1NetworkPolicy, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
365
|
+
kind: "NetworkPolicy";
|
|
366
|
+
apiVersion: "networking.k8s.io/v1";
|
|
367
|
+
metadata: ServedNamespacedObjectMeta;
|
|
368
|
+
spec: NonNullable<V1NetworkPolicy["spec"]>;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* The NetworkPolicy kind, declared for `networking.k8s.io/v1`. Hand it to any contract keyed by
|
|
372
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: networkPolicyKind, apiVersion: networkingV1, ... })`.
|
|
373
|
+
*/
|
|
374
|
+
export declare const networkPolicyKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
375
|
+
kubeResource: {
|
|
376
|
+
"networking.k8s.io/v1": NetworkPolicyV1;
|
|
377
|
+
};
|
|
378
|
+
}>;
|
|
379
|
+
/**
|
|
380
|
+
* A Node as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
381
|
+
* fields a served Node always carries made required.
|
|
382
|
+
*/
|
|
383
|
+
export type NodeV1 = Omit<V1Node, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
384
|
+
kind: "Node";
|
|
385
|
+
apiVersion: "v1";
|
|
386
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
387
|
+
spec: NonNullable<V1Node["spec"]>;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* The Node kind, declared for `v1`. Hand it to any contract keyed by
|
|
391
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: nodeKind, apiVersion: coreV1, ... })`.
|
|
392
|
+
*/
|
|
393
|
+
export declare const nodeKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
394
|
+
kubeResource: {
|
|
395
|
+
v1: NodeV1;
|
|
396
|
+
};
|
|
397
|
+
}>;
|
|
398
|
+
/**
|
|
399
|
+
* A PersistentVolume as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
400
|
+
* fields a served PersistentVolume always carries made required.
|
|
401
|
+
*/
|
|
402
|
+
export type PersistentVolumeV1 = Omit<V1PersistentVolume, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
403
|
+
kind: "PersistentVolume";
|
|
404
|
+
apiVersion: "v1";
|
|
405
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
406
|
+
spec: NonNullable<V1PersistentVolume["spec"]>;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* The PersistentVolume kind, declared for `v1`. Hand it to any contract keyed by
|
|
410
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: persistentVolumeKind, apiVersion: coreV1, ... })`.
|
|
411
|
+
*/
|
|
412
|
+
export declare const persistentVolumeKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
413
|
+
kubeResource: {
|
|
414
|
+
v1: PersistentVolumeV1;
|
|
415
|
+
};
|
|
416
|
+
}>;
|
|
417
|
+
/**
|
|
418
|
+
* A PersistentVolumeClaim as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
419
|
+
* fields a served PersistentVolumeClaim always carries made required.
|
|
420
|
+
*/
|
|
421
|
+
export type PersistentVolumeClaimV1 = Omit<V1PersistentVolumeClaim, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
422
|
+
kind: "PersistentVolumeClaim";
|
|
423
|
+
apiVersion: "v1";
|
|
424
|
+
metadata: ServedNamespacedObjectMeta;
|
|
425
|
+
spec: NonNullable<V1PersistentVolumeClaim["spec"]>;
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* The PersistentVolumeClaim kind, declared for `v1`. Hand it to any contract keyed by
|
|
429
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: persistentVolumeClaimKind, apiVersion: coreV1, ... })`.
|
|
430
|
+
*/
|
|
431
|
+
export declare const persistentVolumeClaimKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
432
|
+
kubeResource: {
|
|
433
|
+
v1: PersistentVolumeClaimV1;
|
|
434
|
+
};
|
|
435
|
+
}>;
|
|
436
|
+
/**
|
|
437
|
+
* A Pod as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
438
|
+
* fields a served Pod always carries made required.
|
|
439
|
+
*/
|
|
440
|
+
export type PodV1 = Omit<V1Pod, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
441
|
+
kind: "Pod";
|
|
442
|
+
apiVersion: "v1";
|
|
443
|
+
metadata: ServedNamespacedObjectMeta;
|
|
444
|
+
spec: NonNullable<V1Pod["spec"]>;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* The Pod kind, declared for `v1`. Hand it to any contract keyed by
|
|
448
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: podKind, apiVersion: coreV1, ... })`.
|
|
449
|
+
*/
|
|
450
|
+
export declare const podKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
451
|
+
kubeResource: {
|
|
452
|
+
v1: PodV1;
|
|
453
|
+
};
|
|
454
|
+
}>;
|
|
455
|
+
/**
|
|
456
|
+
* A PodDisruptionBudget as `policy/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
457
|
+
* fields a served PodDisruptionBudget always carries made required.
|
|
458
|
+
*/
|
|
459
|
+
export type PodDisruptionBudgetV1 = Omit<V1PodDisruptionBudget, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
460
|
+
kind: "PodDisruptionBudget";
|
|
461
|
+
apiVersion: "policy/v1";
|
|
462
|
+
metadata: ServedNamespacedObjectMeta;
|
|
463
|
+
spec: NonNullable<V1PodDisruptionBudget["spec"]>;
|
|
464
|
+
};
|
|
465
|
+
/**
|
|
466
|
+
* The PodDisruptionBudget kind, declared for `policy/v1`. Hand it to any contract keyed by
|
|
467
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: podDisruptionBudgetKind, apiVersion: policyV1, ... })`.
|
|
468
|
+
*/
|
|
469
|
+
export declare const podDisruptionBudgetKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
470
|
+
kubeResource: {
|
|
471
|
+
"policy/v1": PodDisruptionBudgetV1;
|
|
472
|
+
};
|
|
473
|
+
}>;
|
|
474
|
+
/**
|
|
475
|
+
* A PriorityClass as `scheduling.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
476
|
+
* fields a served PriorityClass always carries made required.
|
|
477
|
+
*/
|
|
478
|
+
export type PriorityClassV1 = Omit<V1PriorityClass, "kind" | "apiVersion" | "metadata"> & {
|
|
479
|
+
kind: "PriorityClass";
|
|
480
|
+
apiVersion: "scheduling.k8s.io/v1";
|
|
481
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
482
|
+
};
|
|
483
|
+
/**
|
|
484
|
+
* The PriorityClass kind, declared for `scheduling.k8s.io/v1`. Hand it to any contract keyed by
|
|
485
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: priorityClassKind, apiVersion: schedulingV1, ... })`.
|
|
486
|
+
*/
|
|
487
|
+
export declare const priorityClassKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
488
|
+
kubeResource: {
|
|
489
|
+
"scheduling.k8s.io/v1": PriorityClassV1;
|
|
490
|
+
};
|
|
491
|
+
}>;
|
|
492
|
+
/**
|
|
493
|
+
* A ReplicaSet as `apps/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
494
|
+
* fields a served ReplicaSet always carries made required.
|
|
495
|
+
*/
|
|
496
|
+
export type ReplicaSetV1 = Omit<V1ReplicaSet, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
497
|
+
kind: "ReplicaSet";
|
|
498
|
+
apiVersion: "apps/v1";
|
|
499
|
+
metadata: ServedNamespacedObjectMeta;
|
|
500
|
+
spec: NonNullable<V1ReplicaSet["spec"]>;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* The ReplicaSet kind, declared for `apps/v1`. Hand it to any contract keyed by
|
|
504
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: replicaSetKind, apiVersion: appsV1, ... })`.
|
|
505
|
+
*/
|
|
506
|
+
export declare const replicaSetKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
507
|
+
kubeResource: {
|
|
508
|
+
"apps/v1": ReplicaSetV1;
|
|
509
|
+
};
|
|
510
|
+
}>;
|
|
511
|
+
/**
|
|
512
|
+
* A ReplicationController as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
513
|
+
* fields a served ReplicationController always carries made required.
|
|
514
|
+
*/
|
|
515
|
+
export type ReplicationControllerV1 = Omit<V1ReplicationController, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
516
|
+
kind: "ReplicationController";
|
|
517
|
+
apiVersion: "v1";
|
|
518
|
+
metadata: ServedNamespacedObjectMeta;
|
|
519
|
+
spec: NonNullable<V1ReplicationController["spec"]>;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* The ReplicationController kind, declared for `v1`. Hand it to any contract keyed by
|
|
523
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: replicationControllerKind, apiVersion: coreV1, ... })`.
|
|
524
|
+
*/
|
|
525
|
+
export declare const replicationControllerKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
526
|
+
kubeResource: {
|
|
527
|
+
v1: ReplicationControllerV1;
|
|
528
|
+
};
|
|
529
|
+
}>;
|
|
530
|
+
/**
|
|
531
|
+
* A ResourceQuota as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
532
|
+
* fields a served ResourceQuota always carries made required.
|
|
533
|
+
*/
|
|
534
|
+
export type ResourceQuotaV1 = Omit<V1ResourceQuota, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
535
|
+
kind: "ResourceQuota";
|
|
536
|
+
apiVersion: "v1";
|
|
537
|
+
metadata: ServedNamespacedObjectMeta;
|
|
538
|
+
spec: NonNullable<V1ResourceQuota["spec"]>;
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* The ResourceQuota kind, declared for `v1`. Hand it to any contract keyed by
|
|
542
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: resourceQuotaKind, apiVersion: coreV1, ... })`.
|
|
543
|
+
*/
|
|
544
|
+
export declare const resourceQuotaKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
545
|
+
kubeResource: {
|
|
546
|
+
v1: ResourceQuotaV1;
|
|
547
|
+
};
|
|
548
|
+
}>;
|
|
549
|
+
/**
|
|
550
|
+
* A Role as `rbac.authorization.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
551
|
+
* fields a served Role always carries made required.
|
|
552
|
+
*/
|
|
553
|
+
export type RoleV1 = Omit<V1Role, "kind" | "apiVersion" | "metadata"> & {
|
|
554
|
+
kind: "Role";
|
|
555
|
+
apiVersion: "rbac.authorization.k8s.io/v1";
|
|
556
|
+
metadata: ServedNamespacedObjectMeta;
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* The Role kind, declared for `rbac.authorization.k8s.io/v1`. Hand it to any contract keyed by
|
|
560
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: roleKind, apiVersion: rbacAuthorizationV1, ... })`.
|
|
561
|
+
*/
|
|
562
|
+
export declare const roleKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
563
|
+
kubeResource: {
|
|
564
|
+
"rbac.authorization.k8s.io/v1": RoleV1;
|
|
565
|
+
};
|
|
566
|
+
}>;
|
|
567
|
+
/**
|
|
568
|
+
* A RoleBinding as `rbac.authorization.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
569
|
+
* fields a served RoleBinding always carries made required.
|
|
570
|
+
*/
|
|
571
|
+
export type RoleBindingV1 = Omit<V1RoleBinding, "kind" | "apiVersion" | "metadata"> & {
|
|
572
|
+
kind: "RoleBinding";
|
|
573
|
+
apiVersion: "rbac.authorization.k8s.io/v1";
|
|
574
|
+
metadata: ServedNamespacedObjectMeta;
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* The RoleBinding kind, declared for `rbac.authorization.k8s.io/v1`. Hand it to any contract keyed by
|
|
578
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: roleBindingKind, apiVersion: rbacAuthorizationV1, ... })`.
|
|
579
|
+
*/
|
|
580
|
+
export declare const roleBindingKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
581
|
+
kubeResource: {
|
|
582
|
+
"rbac.authorization.k8s.io/v1": RoleBindingV1;
|
|
583
|
+
};
|
|
584
|
+
}>;
|
|
585
|
+
/**
|
|
586
|
+
* A RuntimeClass as `node.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
587
|
+
* fields a served RuntimeClass always carries made required.
|
|
588
|
+
*/
|
|
589
|
+
export type RuntimeClassV1 = Omit<V1RuntimeClass, "kind" | "apiVersion" | "metadata"> & {
|
|
590
|
+
kind: "RuntimeClass";
|
|
591
|
+
apiVersion: "node.k8s.io/v1";
|
|
592
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* The RuntimeClass kind, declared for `node.k8s.io/v1`. Hand it to any contract keyed by
|
|
596
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: runtimeClassKind, apiVersion: nodeV1, ... })`.
|
|
597
|
+
*/
|
|
598
|
+
export declare const runtimeClassKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
599
|
+
kubeResource: {
|
|
600
|
+
"node.k8s.io/v1": RuntimeClassV1;
|
|
601
|
+
};
|
|
602
|
+
}>;
|
|
603
|
+
/**
|
|
604
|
+
* A Secret as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
605
|
+
* fields a served Secret always carries made required.
|
|
606
|
+
*/
|
|
607
|
+
export type SecretV1 = Omit<V1Secret, "kind" | "apiVersion" | "metadata"> & {
|
|
608
|
+
kind: "Secret";
|
|
609
|
+
apiVersion: "v1";
|
|
610
|
+
metadata: ServedNamespacedObjectMeta;
|
|
611
|
+
};
|
|
612
|
+
/**
|
|
613
|
+
* The Secret kind, declared for `v1`. Hand it to any contract keyed by
|
|
614
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: secretKind, apiVersion: coreV1, ... })`.
|
|
615
|
+
*/
|
|
616
|
+
export declare const secretKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
617
|
+
kubeResource: {
|
|
618
|
+
v1: SecretV1;
|
|
619
|
+
};
|
|
620
|
+
}>;
|
|
621
|
+
/**
|
|
622
|
+
* A Service as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
623
|
+
* fields a served Service always carries made required.
|
|
624
|
+
*/
|
|
625
|
+
export type ServiceV1 = Omit<V1Service, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
626
|
+
kind: "Service";
|
|
627
|
+
apiVersion: "v1";
|
|
628
|
+
metadata: ServedNamespacedObjectMeta;
|
|
629
|
+
spec: NonNullable<V1Service["spec"]>;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* The Service kind, declared for `v1`. Hand it to any contract keyed by
|
|
633
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: serviceKind, apiVersion: coreV1, ... })`.
|
|
634
|
+
*/
|
|
635
|
+
export declare const serviceKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
636
|
+
kubeResource: {
|
|
637
|
+
v1: ServiceV1;
|
|
638
|
+
};
|
|
639
|
+
}>;
|
|
640
|
+
/**
|
|
641
|
+
* A ServiceAccount as `v1` serves it: the Kubernetes API schema of the kind, with the
|
|
642
|
+
* fields a served ServiceAccount always carries made required.
|
|
643
|
+
*/
|
|
644
|
+
export type ServiceAccountV1 = Omit<V1ServiceAccount, "kind" | "apiVersion" | "metadata"> & {
|
|
645
|
+
kind: "ServiceAccount";
|
|
646
|
+
apiVersion: "v1";
|
|
647
|
+
metadata: ServedNamespacedObjectMeta;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* The ServiceAccount kind, declared for `v1`. Hand it to any contract keyed by
|
|
651
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: serviceAccountKind, apiVersion: coreV1, ... })`.
|
|
652
|
+
*/
|
|
653
|
+
export declare const serviceAccountKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
654
|
+
kubeResource: {
|
|
655
|
+
v1: ServiceAccountV1;
|
|
656
|
+
};
|
|
657
|
+
}>;
|
|
658
|
+
/**
|
|
659
|
+
* A StatefulSet as `apps/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
660
|
+
* fields a served StatefulSet always carries made required.
|
|
661
|
+
*/
|
|
662
|
+
export type StatefulSetV1 = Omit<V1StatefulSet, "kind" | "apiVersion" | "metadata" | "spec"> & {
|
|
663
|
+
kind: "StatefulSet";
|
|
664
|
+
apiVersion: "apps/v1";
|
|
665
|
+
metadata: ServedNamespacedObjectMeta;
|
|
666
|
+
spec: NonNullable<V1StatefulSet["spec"]>;
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* The StatefulSet kind, declared for `apps/v1`. Hand it to any contract keyed by
|
|
670
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: statefulSetKind, apiVersion: appsV1, ... })`.
|
|
671
|
+
*/
|
|
672
|
+
export declare const statefulSetKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
673
|
+
kubeResource: {
|
|
674
|
+
"apps/v1": StatefulSetV1;
|
|
675
|
+
};
|
|
676
|
+
}>;
|
|
677
|
+
/**
|
|
678
|
+
* A StorageClass as `storage.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
679
|
+
* fields a served StorageClass always carries made required.
|
|
680
|
+
*/
|
|
681
|
+
export type StorageClassV1 = Omit<V1StorageClass, "kind" | "apiVersion" | "metadata"> & {
|
|
682
|
+
kind: "StorageClass";
|
|
683
|
+
apiVersion: "storage.k8s.io/v1";
|
|
684
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
685
|
+
};
|
|
686
|
+
/**
|
|
687
|
+
* The StorageClass kind, declared for `storage.k8s.io/v1`. Hand it to any contract keyed by
|
|
688
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: storageClassKind, apiVersion: storageV1, ... })`.
|
|
689
|
+
*/
|
|
690
|
+
export declare const storageClassKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
691
|
+
kubeResource: {
|
|
692
|
+
"storage.k8s.io/v1": StorageClassV1;
|
|
693
|
+
};
|
|
694
|
+
}>;
|
|
695
|
+
/**
|
|
696
|
+
* A ValidatingWebhookConfiguration as `admissionregistration.k8s.io/v1` serves it: the Kubernetes API schema of the kind, with the
|
|
697
|
+
* fields a served ValidatingWebhookConfiguration always carries made required.
|
|
698
|
+
*/
|
|
699
|
+
export type ValidatingWebhookConfigurationV1 = Omit<V1ValidatingWebhookConfiguration, "kind" | "apiVersion" | "metadata"> & {
|
|
700
|
+
kind: "ValidatingWebhookConfiguration";
|
|
701
|
+
apiVersion: "admissionregistration.k8s.io/v1";
|
|
702
|
+
metadata: ServedClusterScopedObjectMeta;
|
|
703
|
+
};
|
|
704
|
+
/**
|
|
705
|
+
* The ValidatingWebhookConfiguration kind, declared for `admissionregistration.k8s.io/v1`. Hand it to any contract keyed by
|
|
706
|
+
* kind, e.g. `buildDetailsPanelSectionBunch({ kind: validatingWebhookConfigurationKind, apiVersion: admissionregistrationV1, ... })`.
|
|
707
|
+
*/
|
|
708
|
+
export declare const validatingWebhookConfigurationKind: import("@k8slens/injectable").TypedSpecifier<string, {
|
|
709
|
+
kubeResource: {
|
|
710
|
+
"admissionregistration.k8s.io/v1": ValidatingWebhookConfigurationV1;
|
|
711
|
+
};
|
|
712
|
+
}>;
|
|
713
|
+
//# sourceMappingURL=kinds.d.ts.map
|