@distilled.cloud/kubernetes 0.10.1 → 0.11.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/lib/client/api.d.ts +4 -4
- package/lib/client/api.d.ts.map +1 -1
- package/lib/services/admissionregistration.d.ts +6364 -97
- package/lib/services/admissionregistration.d.ts.map +1 -1
- package/lib/services/admissionregistration.js +54 -0
- package/lib/services/admissionregistration.js.map +1 -1
- package/lib/services/apiextensions.d.ts +1582 -14
- package/lib/services/apiextensions.d.ts.map +1 -1
- package/lib/services/apiextensions.js +9 -0
- package/lib/services/apiextensions.js.map +1 -1
- package/lib/services/apiregistration.d.ts +630 -14
- package/lib/services/apiregistration.d.ts.map +1 -1
- package/lib/services/apiregistration.js +9 -0
- package/lib/services/apiregistration.js.map +1 -1
- package/lib/services/apps.d.ts +58511 -78
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +47 -0
- package/lib/services/apps.js.map +1 -1
- package/lib/services/authentication.d.ts +143 -4
- package/lib/services/authentication.d.ts.map +1 -1
- package/lib/services/authentication.js +3 -0
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/authorization.d.ts +336 -6
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +5 -0
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/autoscaling.d.ts +3127 -31
- package/lib/services/autoscaling.d.ts.map +1 -1
- package/lib/services/autoscaling.js +17 -0
- package/lib/services/autoscaling.js.map +1 -1
- package/lib/services/batch.d.ts +28710 -30
- package/lib/services/batch.d.ts.map +1 -1
- package/lib/services/batch.js +17 -0
- package/lib/services/batch.js.map +1 -1
- package/lib/services/certificates.d.ts +2236 -51
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +30 -0
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/coordination.d.ts +1267 -37
- package/lib/services/coordination.d.ts.map +1 -1
- package/lib/services/coordination.js +16 -0
- package/lib/services/coordination.js.map +1 -1
- package/lib/services/core.d.ts +64516 -243
- package/lib/services/core.d.ts.map +1 -1
- package/lib/services/core.js +116 -0
- package/lib/services/core.js.map +1 -1
- package/lib/services/discovery.d.ts +613 -13
- package/lib/services/discovery.d.ts.map +1 -1
- package/lib/services/discovery.js +6 -0
- package/lib/services/discovery.js.map +1 -1
- package/lib/services/events.d.ts +601 -13
- package/lib/services/events.d.ts.map +1 -1
- package/lib/services/events.js +6 -0
- package/lib/services/events.js.map +1 -1
- package/lib/services/flowcontrol-apiserver.d.ts +1456 -26
- package/lib/services/flowcontrol-apiserver.d.ts.map +1 -1
- package/lib/services/flowcontrol-apiserver.js +17 -0
- package/lib/services/flowcontrol-apiserver.js.map +1 -1
- package/lib/services/internal-apiserver.d.ts +598 -14
- package/lib/services/internal-apiserver.d.ts.map +1 -1
- package/lib/services/internal-apiserver.js +9 -0
- package/lib/services/internal-apiserver.js.map +1 -1
- package/lib/services/networking.d.ts +3914 -79
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +45 -0
- package/lib/services/networking.js.map +1 -1
- package/lib/services/node.d.ts +418 -11
- package/lib/services/node.d.ts.map +1 -1
- package/lib/services/node.js +6 -0
- package/lib/services/node.js.map +1 -1
- package/lib/services/policy.d.ts +808 -16
- package/lib/services/policy.d.ts.map +1 -1
- package/lib/services/policy.js +9 -0
- package/lib/services/policy.js.map +1 -1
- package/lib/services/rbac-authorization.d.ts +1576 -42
- package/lib/services/rbac-authorization.d.ts.map +1 -1
- package/lib/services/rbac-authorization.js +21 -0
- package/lib/services/rbac-authorization.js.map +1 -1
- package/lib/services/resource.d.ts +14825 -170
- package/lib/services/resource.d.ts.map +1 -1
- package/lib/services/resource.js +86 -0
- package/lib/services/resource.js.map +1 -1
- package/lib/services/scheduling.d.ts +1732 -37
- package/lib/services/scheduling.d.ts.map +1 -1
- package/lib/services/scheduling.js +19 -0
- package/lib/services/scheduling.js.map +1 -1
- package/lib/services/storage.d.ts +5034 -71
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +39 -0
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storagemigration.d.ts +590 -14
- package/lib/services/storagemigration.d.ts.map +1 -1
- package/lib/services/storagemigration.js +9 -0
- package/lib/services/storagemigration.js.map +1 -1
- package/package.json +3 -2
- package/src/services/admissionregistration.ts +54 -0
- package/src/services/apiextensions.ts +9 -0
- package/src/services/apiregistration.ts +9 -0
- package/src/services/apps.ts +47 -0
- package/src/services/authentication.ts +3 -0
- package/src/services/authorization.ts +5 -0
- package/src/services/autoscaling.ts +17 -0
- package/src/services/batch.ts +17 -0
- package/src/services/certificates.ts +30 -0
- package/src/services/coordination.ts +16 -0
- package/src/services/core.ts +116 -0
- package/src/services/discovery.ts +6 -0
- package/src/services/events.ts +6 -0
- package/src/services/flowcontrol-apiserver.ts +17 -0
- package/src/services/internal-apiserver.ts +9 -0
- package/src/services/networking.ts +45 -0
- package/src/services/node.ts +6 -0
- package/src/services/policy.ts +9 -0
- package/src/services/rbac-authorization.ts +21 -0
- package/src/services/resource.ts +86 -0
- package/src/services/scheduling.ts +19 -0
- package/src/services/storage.ts +39 -0
- package/src/services/storagemigration.ts +9 -0
package/lib/services/policy.d.ts
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun run generate
|
|
6
6
|
*/
|
|
7
7
|
import * as Schema from "effect/Schema";
|
|
8
|
+
import * as API from "../client/api.ts";
|
|
9
|
+
import { Conflict, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
8
10
|
export declare const CreatePolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{
|
|
9
11
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
10
12
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -82,7 +84,82 @@ export type CreatePolicyV1NamespacedPodDisruptionBudgetOutput = typeof CreatePol
|
|
|
82
84
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
83
85
|
* @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
84
86
|
*/
|
|
85
|
-
export declare const createPolicyV1NamespacedPodDisruptionBudget:
|
|
87
|
+
export declare const createPolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{
|
|
88
|
+
readonly dryRun?: string | undefined;
|
|
89
|
+
readonly fieldValidation?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
readonly apiVersion?: string | undefined;
|
|
92
|
+
readonly kind?: string | undefined;
|
|
93
|
+
readonly metadata?: {
|
|
94
|
+
readonly annotations?: {
|
|
95
|
+
readonly [x: string]: string;
|
|
96
|
+
} | undefined;
|
|
97
|
+
readonly creationTimestamp?: string | undefined;
|
|
98
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
99
|
+
readonly deletionTimestamp?: string | undefined;
|
|
100
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
101
|
+
readonly generateName?: string | undefined;
|
|
102
|
+
readonly generation?: number | undefined;
|
|
103
|
+
readonly labels?: {
|
|
104
|
+
readonly [x: string]: string;
|
|
105
|
+
} | undefined;
|
|
106
|
+
readonly managedFields?: readonly {
|
|
107
|
+
readonly apiVersion?: string | undefined;
|
|
108
|
+
readonly fieldsType?: string | undefined;
|
|
109
|
+
readonly fieldsV1?: unknown;
|
|
110
|
+
readonly manager?: string | undefined;
|
|
111
|
+
readonly operation?: string | undefined;
|
|
112
|
+
readonly subresource?: string | undefined;
|
|
113
|
+
readonly time?: string | undefined;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
readonly name?: string | undefined;
|
|
116
|
+
readonly namespace?: string | undefined;
|
|
117
|
+
readonly ownerReferences?: readonly {
|
|
118
|
+
readonly apiVersion: string;
|
|
119
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
120
|
+
readonly controller?: boolean | undefined;
|
|
121
|
+
readonly kind: string;
|
|
122
|
+
readonly name: string;
|
|
123
|
+
readonly uid: string;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
readonly resourceVersion?: string | undefined;
|
|
126
|
+
readonly selfLink?: string | undefined;
|
|
127
|
+
readonly uid?: string | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
readonly spec?: {
|
|
130
|
+
readonly maxUnavailable?: string | undefined;
|
|
131
|
+
readonly minAvailable?: string | undefined;
|
|
132
|
+
readonly selector?: {
|
|
133
|
+
readonly matchExpressions?: readonly {
|
|
134
|
+
readonly key: string;
|
|
135
|
+
readonly operator: string;
|
|
136
|
+
readonly values?: readonly string[] | undefined;
|
|
137
|
+
}[] | undefined;
|
|
138
|
+
readonly matchLabels?: {
|
|
139
|
+
readonly [x: string]: string;
|
|
140
|
+
} | undefined;
|
|
141
|
+
} | undefined;
|
|
142
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
readonly status?: {
|
|
145
|
+
readonly conditions?: readonly {
|
|
146
|
+
readonly lastTransitionTime: string;
|
|
147
|
+
readonly message: string;
|
|
148
|
+
readonly observedGeneration?: number | undefined;
|
|
149
|
+
readonly reason: string;
|
|
150
|
+
readonly status: string;
|
|
151
|
+
readonly type: string;
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
readonly currentHealthy?: number | undefined;
|
|
154
|
+
readonly desiredHealthy?: number | undefined;
|
|
155
|
+
readonly disruptedPods?: {
|
|
156
|
+
readonly [x: string]: string;
|
|
157
|
+
} | undefined;
|
|
158
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
159
|
+
readonly expectedPods?: number | undefined;
|
|
160
|
+
readonly observedGeneration?: number | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
}, Conflict | UnprocessableEntity, any>;
|
|
86
163
|
export declare const DeletePolicyV1CollectionNamespacedPodDisruptionBudgetInput: Schema.Struct<{
|
|
87
164
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
88
165
|
}>;
|
|
@@ -122,7 +199,37 @@ export type DeletePolicyV1CollectionNamespacedPodDisruptionBudgetOutput = typeof
|
|
|
122
199
|
*
|
|
123
200
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
124
201
|
*/
|
|
125
|
-
export declare const deletePolicyV1CollectionNamespacedPodDisruptionBudget:
|
|
202
|
+
export declare const deletePolicyV1CollectionNamespacedPodDisruptionBudget: API.OperationMethod<{
|
|
203
|
+
readonly dryRun?: string | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
readonly apiVersion?: string | undefined;
|
|
206
|
+
readonly code?: number | undefined;
|
|
207
|
+
readonly details?: {
|
|
208
|
+
readonly causes?: readonly {
|
|
209
|
+
readonly field?: string | undefined;
|
|
210
|
+
readonly message?: string | undefined;
|
|
211
|
+
readonly reason?: string | undefined;
|
|
212
|
+
}[] | undefined;
|
|
213
|
+
readonly group?: string | undefined;
|
|
214
|
+
readonly kind?: string | undefined;
|
|
215
|
+
readonly name?: string | undefined;
|
|
216
|
+
readonly retryAfterSeconds?: number | undefined;
|
|
217
|
+
readonly uid?: string | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
readonly kind?: string | undefined;
|
|
220
|
+
readonly message?: string | undefined;
|
|
221
|
+
readonly metadata?: {
|
|
222
|
+
readonly continue?: string | undefined;
|
|
223
|
+
readonly remainingItemCount?: number | undefined;
|
|
224
|
+
readonly resourceVersion?: string | undefined;
|
|
225
|
+
readonly selfLink?: string | undefined;
|
|
226
|
+
readonly shardInfo?: {
|
|
227
|
+
readonly selector: string;
|
|
228
|
+
} | undefined;
|
|
229
|
+
} | undefined;
|
|
230
|
+
readonly reason?: string | undefined;
|
|
231
|
+
readonly status?: string | undefined;
|
|
232
|
+
}, never, any>;
|
|
126
233
|
export declare const DeletePolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{
|
|
127
234
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
128
235
|
}>;
|
|
@@ -162,7 +269,37 @@ export type DeletePolicyV1NamespacedPodDisruptionBudgetOutput = typeof DeletePol
|
|
|
162
269
|
*
|
|
163
270
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
164
271
|
*/
|
|
165
|
-
export declare const deletePolicyV1NamespacedPodDisruptionBudget:
|
|
272
|
+
export declare const deletePolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{
|
|
273
|
+
readonly dryRun?: string | undefined;
|
|
274
|
+
}, {
|
|
275
|
+
readonly apiVersion?: string | undefined;
|
|
276
|
+
readonly code?: number | undefined;
|
|
277
|
+
readonly details?: {
|
|
278
|
+
readonly causes?: readonly {
|
|
279
|
+
readonly field?: string | undefined;
|
|
280
|
+
readonly message?: string | undefined;
|
|
281
|
+
readonly reason?: string | undefined;
|
|
282
|
+
}[] | undefined;
|
|
283
|
+
readonly group?: string | undefined;
|
|
284
|
+
readonly kind?: string | undefined;
|
|
285
|
+
readonly name?: string | undefined;
|
|
286
|
+
readonly retryAfterSeconds?: number | undefined;
|
|
287
|
+
readonly uid?: string | undefined;
|
|
288
|
+
} | undefined;
|
|
289
|
+
readonly kind?: string | undefined;
|
|
290
|
+
readonly message?: string | undefined;
|
|
291
|
+
readonly metadata?: {
|
|
292
|
+
readonly continue?: string | undefined;
|
|
293
|
+
readonly remainingItemCount?: number | undefined;
|
|
294
|
+
readonly resourceVersion?: string | undefined;
|
|
295
|
+
readonly selfLink?: string | undefined;
|
|
296
|
+
readonly shardInfo?: {
|
|
297
|
+
readonly selector: string;
|
|
298
|
+
} | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
readonly reason?: string | undefined;
|
|
301
|
+
readonly status?: string | undefined;
|
|
302
|
+
}, Conflict | NotFound, any>;
|
|
166
303
|
export declare const GetPolicyAPIGroupInput: Schema.Struct<{}>;
|
|
167
304
|
export type GetPolicyAPIGroupInput = typeof GetPolicyAPIGroupInput.Type;
|
|
168
305
|
export declare const GetPolicyAPIGroupOutput: Schema.Struct<{
|
|
@@ -186,7 +323,23 @@ export type GetPolicyAPIGroupOutput = typeof GetPolicyAPIGroupOutput.Type;
|
|
|
186
323
|
/**
|
|
187
324
|
* get information of a group
|
|
188
325
|
*/
|
|
189
|
-
export declare const getPolicyAPIGroup:
|
|
326
|
+
export declare const getPolicyAPIGroup: API.OperationMethod<{}, {
|
|
327
|
+
readonly apiVersion?: string | undefined;
|
|
328
|
+
readonly kind?: string | undefined;
|
|
329
|
+
readonly name: string;
|
|
330
|
+
readonly preferredVersion?: {
|
|
331
|
+
readonly groupVersion: string;
|
|
332
|
+
readonly version: string;
|
|
333
|
+
} | undefined;
|
|
334
|
+
readonly serverAddressByClientCIDRs?: readonly {
|
|
335
|
+
readonly clientCIDR: string;
|
|
336
|
+
readonly serverAddress: string;
|
|
337
|
+
}[] | undefined;
|
|
338
|
+
readonly versions: readonly {
|
|
339
|
+
readonly groupVersion: string;
|
|
340
|
+
readonly version: string;
|
|
341
|
+
}[];
|
|
342
|
+
}, never, any>;
|
|
190
343
|
export declare const GetPolicyV1APIResourcesInput: Schema.Struct<{}>;
|
|
191
344
|
export type GetPolicyV1APIResourcesInput = typeof GetPolicyV1APIResourcesInput.Type;
|
|
192
345
|
export declare const GetPolicyV1APIResourcesOutput: Schema.Struct<{
|
|
@@ -210,7 +363,23 @@ export type GetPolicyV1APIResourcesOutput = typeof GetPolicyV1APIResourcesOutput
|
|
|
210
363
|
/**
|
|
211
364
|
* get available resources
|
|
212
365
|
*/
|
|
213
|
-
export declare const getPolicyV1APIResources:
|
|
366
|
+
export declare const getPolicyV1APIResources: API.OperationMethod<{}, {
|
|
367
|
+
readonly apiVersion?: string | undefined;
|
|
368
|
+
readonly groupVersion: string;
|
|
369
|
+
readonly kind?: string | undefined;
|
|
370
|
+
readonly resources: readonly {
|
|
371
|
+
readonly categories?: readonly string[] | undefined;
|
|
372
|
+
readonly group?: string | undefined;
|
|
373
|
+
readonly kind: string;
|
|
374
|
+
readonly name: string;
|
|
375
|
+
readonly namespaced: boolean;
|
|
376
|
+
readonly shortNames?: readonly string[] | undefined;
|
|
377
|
+
readonly singularName: string;
|
|
378
|
+
readonly storageVersionHash?: string | undefined;
|
|
379
|
+
readonly verbs: readonly string[];
|
|
380
|
+
readonly version?: string | undefined;
|
|
381
|
+
}[];
|
|
382
|
+
}, never, any>;
|
|
214
383
|
export declare const ListPolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{}>;
|
|
215
384
|
export type ListPolicyV1NamespacedPodDisruptionBudgetInput = typeof ListPolicyV1NamespacedPodDisruptionBudgetInput.Type;
|
|
216
385
|
export declare const ListPolicyV1NamespacedPodDisruptionBudgetOutput: Schema.Struct<{
|
|
@@ -295,7 +464,92 @@ export type ListPolicyV1NamespacedPodDisruptionBudgetOutput = typeof ListPolicyV
|
|
|
295
464
|
/**
|
|
296
465
|
* list or watch objects of kind PodDisruptionBudget
|
|
297
466
|
*/
|
|
298
|
-
export declare const listPolicyV1NamespacedPodDisruptionBudget:
|
|
467
|
+
export declare const listPolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{}, {
|
|
468
|
+
readonly apiVersion?: string | undefined;
|
|
469
|
+
readonly items: readonly {
|
|
470
|
+
readonly apiVersion?: string | undefined;
|
|
471
|
+
readonly kind?: string | undefined;
|
|
472
|
+
readonly metadata?: {
|
|
473
|
+
readonly annotations?: {
|
|
474
|
+
readonly [x: string]: string;
|
|
475
|
+
} | undefined;
|
|
476
|
+
readonly creationTimestamp?: string | undefined;
|
|
477
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
478
|
+
readonly deletionTimestamp?: string | undefined;
|
|
479
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
480
|
+
readonly generateName?: string | undefined;
|
|
481
|
+
readonly generation?: number | undefined;
|
|
482
|
+
readonly labels?: {
|
|
483
|
+
readonly [x: string]: string;
|
|
484
|
+
} | undefined;
|
|
485
|
+
readonly managedFields?: readonly {
|
|
486
|
+
readonly apiVersion?: string | undefined;
|
|
487
|
+
readonly fieldsType?: string | undefined;
|
|
488
|
+
readonly fieldsV1?: unknown;
|
|
489
|
+
readonly manager?: string | undefined;
|
|
490
|
+
readonly operation?: string | undefined;
|
|
491
|
+
readonly subresource?: string | undefined;
|
|
492
|
+
readonly time?: string | undefined;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
readonly name?: string | undefined;
|
|
495
|
+
readonly namespace?: string | undefined;
|
|
496
|
+
readonly ownerReferences?: readonly {
|
|
497
|
+
readonly apiVersion: string;
|
|
498
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
499
|
+
readonly controller?: boolean | undefined;
|
|
500
|
+
readonly kind: string;
|
|
501
|
+
readonly name: string;
|
|
502
|
+
readonly uid: string;
|
|
503
|
+
}[] | undefined;
|
|
504
|
+
readonly resourceVersion?: string | undefined;
|
|
505
|
+
readonly selfLink?: string | undefined;
|
|
506
|
+
readonly uid?: string | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
readonly spec?: {
|
|
509
|
+
readonly maxUnavailable?: string | undefined;
|
|
510
|
+
readonly minAvailable?: string | undefined;
|
|
511
|
+
readonly selector?: {
|
|
512
|
+
readonly matchExpressions?: readonly {
|
|
513
|
+
readonly key: string;
|
|
514
|
+
readonly operator: string;
|
|
515
|
+
readonly values?: readonly string[] | undefined;
|
|
516
|
+
}[] | undefined;
|
|
517
|
+
readonly matchLabels?: {
|
|
518
|
+
readonly [x: string]: string;
|
|
519
|
+
} | undefined;
|
|
520
|
+
} | undefined;
|
|
521
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
522
|
+
} | undefined;
|
|
523
|
+
readonly status?: {
|
|
524
|
+
readonly conditions?: readonly {
|
|
525
|
+
readonly lastTransitionTime: string;
|
|
526
|
+
readonly message: string;
|
|
527
|
+
readonly observedGeneration?: number | undefined;
|
|
528
|
+
readonly reason: string;
|
|
529
|
+
readonly status: string;
|
|
530
|
+
readonly type: string;
|
|
531
|
+
}[] | undefined;
|
|
532
|
+
readonly currentHealthy?: number | undefined;
|
|
533
|
+
readonly desiredHealthy?: number | undefined;
|
|
534
|
+
readonly disruptedPods?: {
|
|
535
|
+
readonly [x: string]: string;
|
|
536
|
+
} | undefined;
|
|
537
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
538
|
+
readonly expectedPods?: number | undefined;
|
|
539
|
+
readonly observedGeneration?: number | undefined;
|
|
540
|
+
} | undefined;
|
|
541
|
+
}[];
|
|
542
|
+
readonly kind?: string | undefined;
|
|
543
|
+
readonly metadata?: {
|
|
544
|
+
readonly continue?: string | undefined;
|
|
545
|
+
readonly remainingItemCount?: number | undefined;
|
|
546
|
+
readonly resourceVersion?: string | undefined;
|
|
547
|
+
readonly selfLink?: string | undefined;
|
|
548
|
+
readonly shardInfo?: {
|
|
549
|
+
readonly selector: string;
|
|
550
|
+
} | undefined;
|
|
551
|
+
} | undefined;
|
|
552
|
+
}, never, any>;
|
|
299
553
|
export declare const ListPolicyV1PodDisruptionBudgetForAllNamespacesInput: Schema.Struct<{}>;
|
|
300
554
|
export type ListPolicyV1PodDisruptionBudgetForAllNamespacesInput = typeof ListPolicyV1PodDisruptionBudgetForAllNamespacesInput.Type;
|
|
301
555
|
export declare const ListPolicyV1PodDisruptionBudgetForAllNamespacesOutput: Schema.Struct<{
|
|
@@ -380,7 +634,92 @@ export type ListPolicyV1PodDisruptionBudgetForAllNamespacesOutput = typeof ListP
|
|
|
380
634
|
/**
|
|
381
635
|
* list or watch objects of kind PodDisruptionBudget
|
|
382
636
|
*/
|
|
383
|
-
export declare const listPolicyV1PodDisruptionBudgetForAllNamespaces:
|
|
637
|
+
export declare const listPolicyV1PodDisruptionBudgetForAllNamespaces: API.OperationMethod<{}, {
|
|
638
|
+
readonly apiVersion?: string | undefined;
|
|
639
|
+
readonly items: readonly {
|
|
640
|
+
readonly apiVersion?: string | undefined;
|
|
641
|
+
readonly kind?: string | undefined;
|
|
642
|
+
readonly metadata?: {
|
|
643
|
+
readonly annotations?: {
|
|
644
|
+
readonly [x: string]: string;
|
|
645
|
+
} | undefined;
|
|
646
|
+
readonly creationTimestamp?: string | undefined;
|
|
647
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
648
|
+
readonly deletionTimestamp?: string | undefined;
|
|
649
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
650
|
+
readonly generateName?: string | undefined;
|
|
651
|
+
readonly generation?: number | undefined;
|
|
652
|
+
readonly labels?: {
|
|
653
|
+
readonly [x: string]: string;
|
|
654
|
+
} | undefined;
|
|
655
|
+
readonly managedFields?: readonly {
|
|
656
|
+
readonly apiVersion?: string | undefined;
|
|
657
|
+
readonly fieldsType?: string | undefined;
|
|
658
|
+
readonly fieldsV1?: unknown;
|
|
659
|
+
readonly manager?: string | undefined;
|
|
660
|
+
readonly operation?: string | undefined;
|
|
661
|
+
readonly subresource?: string | undefined;
|
|
662
|
+
readonly time?: string | undefined;
|
|
663
|
+
}[] | undefined;
|
|
664
|
+
readonly name?: string | undefined;
|
|
665
|
+
readonly namespace?: string | undefined;
|
|
666
|
+
readonly ownerReferences?: readonly {
|
|
667
|
+
readonly apiVersion: string;
|
|
668
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
669
|
+
readonly controller?: boolean | undefined;
|
|
670
|
+
readonly kind: string;
|
|
671
|
+
readonly name: string;
|
|
672
|
+
readonly uid: string;
|
|
673
|
+
}[] | undefined;
|
|
674
|
+
readonly resourceVersion?: string | undefined;
|
|
675
|
+
readonly selfLink?: string | undefined;
|
|
676
|
+
readonly uid?: string | undefined;
|
|
677
|
+
} | undefined;
|
|
678
|
+
readonly spec?: {
|
|
679
|
+
readonly maxUnavailable?: string | undefined;
|
|
680
|
+
readonly minAvailable?: string | undefined;
|
|
681
|
+
readonly selector?: {
|
|
682
|
+
readonly matchExpressions?: readonly {
|
|
683
|
+
readonly key: string;
|
|
684
|
+
readonly operator: string;
|
|
685
|
+
readonly values?: readonly string[] | undefined;
|
|
686
|
+
}[] | undefined;
|
|
687
|
+
readonly matchLabels?: {
|
|
688
|
+
readonly [x: string]: string;
|
|
689
|
+
} | undefined;
|
|
690
|
+
} | undefined;
|
|
691
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
692
|
+
} | undefined;
|
|
693
|
+
readonly status?: {
|
|
694
|
+
readonly conditions?: readonly {
|
|
695
|
+
readonly lastTransitionTime: string;
|
|
696
|
+
readonly message: string;
|
|
697
|
+
readonly observedGeneration?: number | undefined;
|
|
698
|
+
readonly reason: string;
|
|
699
|
+
readonly status: string;
|
|
700
|
+
readonly type: string;
|
|
701
|
+
}[] | undefined;
|
|
702
|
+
readonly currentHealthy?: number | undefined;
|
|
703
|
+
readonly desiredHealthy?: number | undefined;
|
|
704
|
+
readonly disruptedPods?: {
|
|
705
|
+
readonly [x: string]: string;
|
|
706
|
+
} | undefined;
|
|
707
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
708
|
+
readonly expectedPods?: number | undefined;
|
|
709
|
+
readonly observedGeneration?: number | undefined;
|
|
710
|
+
} | undefined;
|
|
711
|
+
}[];
|
|
712
|
+
readonly kind?: string | undefined;
|
|
713
|
+
readonly metadata?: {
|
|
714
|
+
readonly continue?: string | undefined;
|
|
715
|
+
readonly remainingItemCount?: number | undefined;
|
|
716
|
+
readonly resourceVersion?: string | undefined;
|
|
717
|
+
readonly selfLink?: string | undefined;
|
|
718
|
+
readonly shardInfo?: {
|
|
719
|
+
readonly selector: string;
|
|
720
|
+
} | undefined;
|
|
721
|
+
} | undefined;
|
|
722
|
+
}, never, any>;
|
|
384
723
|
export declare const PatchPolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{
|
|
385
724
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
386
725
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -458,7 +797,82 @@ export type PatchPolicyV1NamespacedPodDisruptionBudgetOutput = typeof PatchPolic
|
|
|
458
797
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
459
798
|
* @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
460
799
|
*/
|
|
461
|
-
export declare const patchPolicyV1NamespacedPodDisruptionBudget:
|
|
800
|
+
export declare const patchPolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{
|
|
801
|
+
readonly dryRun?: string | undefined;
|
|
802
|
+
readonly fieldValidation?: string | undefined;
|
|
803
|
+
}, {
|
|
804
|
+
readonly apiVersion?: string | undefined;
|
|
805
|
+
readonly kind?: string | undefined;
|
|
806
|
+
readonly metadata?: {
|
|
807
|
+
readonly annotations?: {
|
|
808
|
+
readonly [x: string]: string;
|
|
809
|
+
} | undefined;
|
|
810
|
+
readonly creationTimestamp?: string | undefined;
|
|
811
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
812
|
+
readonly deletionTimestamp?: string | undefined;
|
|
813
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
814
|
+
readonly generateName?: string | undefined;
|
|
815
|
+
readonly generation?: number | undefined;
|
|
816
|
+
readonly labels?: {
|
|
817
|
+
readonly [x: string]: string;
|
|
818
|
+
} | undefined;
|
|
819
|
+
readonly managedFields?: readonly {
|
|
820
|
+
readonly apiVersion?: string | undefined;
|
|
821
|
+
readonly fieldsType?: string | undefined;
|
|
822
|
+
readonly fieldsV1?: unknown;
|
|
823
|
+
readonly manager?: string | undefined;
|
|
824
|
+
readonly operation?: string | undefined;
|
|
825
|
+
readonly subresource?: string | undefined;
|
|
826
|
+
readonly time?: string | undefined;
|
|
827
|
+
}[] | undefined;
|
|
828
|
+
readonly name?: string | undefined;
|
|
829
|
+
readonly namespace?: string | undefined;
|
|
830
|
+
readonly ownerReferences?: readonly {
|
|
831
|
+
readonly apiVersion: string;
|
|
832
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
833
|
+
readonly controller?: boolean | undefined;
|
|
834
|
+
readonly kind: string;
|
|
835
|
+
readonly name: string;
|
|
836
|
+
readonly uid: string;
|
|
837
|
+
}[] | undefined;
|
|
838
|
+
readonly resourceVersion?: string | undefined;
|
|
839
|
+
readonly selfLink?: string | undefined;
|
|
840
|
+
readonly uid?: string | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
readonly spec?: {
|
|
843
|
+
readonly maxUnavailable?: string | undefined;
|
|
844
|
+
readonly minAvailable?: string | undefined;
|
|
845
|
+
readonly selector?: {
|
|
846
|
+
readonly matchExpressions?: readonly {
|
|
847
|
+
readonly key: string;
|
|
848
|
+
readonly operator: string;
|
|
849
|
+
readonly values?: readonly string[] | undefined;
|
|
850
|
+
}[] | undefined;
|
|
851
|
+
readonly matchLabels?: {
|
|
852
|
+
readonly [x: string]: string;
|
|
853
|
+
} | undefined;
|
|
854
|
+
} | undefined;
|
|
855
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
856
|
+
} | undefined;
|
|
857
|
+
readonly status?: {
|
|
858
|
+
readonly conditions?: readonly {
|
|
859
|
+
readonly lastTransitionTime: string;
|
|
860
|
+
readonly message: string;
|
|
861
|
+
readonly observedGeneration?: number | undefined;
|
|
862
|
+
readonly reason: string;
|
|
863
|
+
readonly status: string;
|
|
864
|
+
readonly type: string;
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
readonly currentHealthy?: number | undefined;
|
|
867
|
+
readonly desiredHealthy?: number | undefined;
|
|
868
|
+
readonly disruptedPods?: {
|
|
869
|
+
readonly [x: string]: string;
|
|
870
|
+
} | undefined;
|
|
871
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
872
|
+
readonly expectedPods?: number | undefined;
|
|
873
|
+
readonly observedGeneration?: number | undefined;
|
|
874
|
+
} | undefined;
|
|
875
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
462
876
|
export declare const PatchPolicyV1NamespacedPodDisruptionBudgetStatusInput: Schema.Struct<{
|
|
463
877
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
464
878
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -536,7 +950,82 @@ export type PatchPolicyV1NamespacedPodDisruptionBudgetStatusOutput = typeof Patc
|
|
|
536
950
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
537
951
|
* @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
538
952
|
*/
|
|
539
|
-
export declare const patchPolicyV1NamespacedPodDisruptionBudgetStatus:
|
|
953
|
+
export declare const patchPolicyV1NamespacedPodDisruptionBudgetStatus: API.OperationMethod<{
|
|
954
|
+
readonly dryRun?: string | undefined;
|
|
955
|
+
readonly fieldValidation?: string | undefined;
|
|
956
|
+
}, {
|
|
957
|
+
readonly apiVersion?: string | undefined;
|
|
958
|
+
readonly kind?: string | undefined;
|
|
959
|
+
readonly metadata?: {
|
|
960
|
+
readonly annotations?: {
|
|
961
|
+
readonly [x: string]: string;
|
|
962
|
+
} | undefined;
|
|
963
|
+
readonly creationTimestamp?: string | undefined;
|
|
964
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
965
|
+
readonly deletionTimestamp?: string | undefined;
|
|
966
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
967
|
+
readonly generateName?: string | undefined;
|
|
968
|
+
readonly generation?: number | undefined;
|
|
969
|
+
readonly labels?: {
|
|
970
|
+
readonly [x: string]: string;
|
|
971
|
+
} | undefined;
|
|
972
|
+
readonly managedFields?: readonly {
|
|
973
|
+
readonly apiVersion?: string | undefined;
|
|
974
|
+
readonly fieldsType?: string | undefined;
|
|
975
|
+
readonly fieldsV1?: unknown;
|
|
976
|
+
readonly manager?: string | undefined;
|
|
977
|
+
readonly operation?: string | undefined;
|
|
978
|
+
readonly subresource?: string | undefined;
|
|
979
|
+
readonly time?: string | undefined;
|
|
980
|
+
}[] | undefined;
|
|
981
|
+
readonly name?: string | undefined;
|
|
982
|
+
readonly namespace?: string | undefined;
|
|
983
|
+
readonly ownerReferences?: readonly {
|
|
984
|
+
readonly apiVersion: string;
|
|
985
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
986
|
+
readonly controller?: boolean | undefined;
|
|
987
|
+
readonly kind: string;
|
|
988
|
+
readonly name: string;
|
|
989
|
+
readonly uid: string;
|
|
990
|
+
}[] | undefined;
|
|
991
|
+
readonly resourceVersion?: string | undefined;
|
|
992
|
+
readonly selfLink?: string | undefined;
|
|
993
|
+
readonly uid?: string | undefined;
|
|
994
|
+
} | undefined;
|
|
995
|
+
readonly spec?: {
|
|
996
|
+
readonly maxUnavailable?: string | undefined;
|
|
997
|
+
readonly minAvailable?: string | undefined;
|
|
998
|
+
readonly selector?: {
|
|
999
|
+
readonly matchExpressions?: readonly {
|
|
1000
|
+
readonly key: string;
|
|
1001
|
+
readonly operator: string;
|
|
1002
|
+
readonly values?: readonly string[] | undefined;
|
|
1003
|
+
}[] | undefined;
|
|
1004
|
+
readonly matchLabels?: {
|
|
1005
|
+
readonly [x: string]: string;
|
|
1006
|
+
} | undefined;
|
|
1007
|
+
} | undefined;
|
|
1008
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
readonly status?: {
|
|
1011
|
+
readonly conditions?: readonly {
|
|
1012
|
+
readonly lastTransitionTime: string;
|
|
1013
|
+
readonly message: string;
|
|
1014
|
+
readonly observedGeneration?: number | undefined;
|
|
1015
|
+
readonly reason: string;
|
|
1016
|
+
readonly status: string;
|
|
1017
|
+
readonly type: string;
|
|
1018
|
+
}[] | undefined;
|
|
1019
|
+
readonly currentHealthy?: number | undefined;
|
|
1020
|
+
readonly desiredHealthy?: number | undefined;
|
|
1021
|
+
readonly disruptedPods?: {
|
|
1022
|
+
readonly [x: string]: string;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
1025
|
+
readonly expectedPods?: number | undefined;
|
|
1026
|
+
readonly observedGeneration?: number | undefined;
|
|
1027
|
+
} | undefined;
|
|
1028
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
540
1029
|
export declare const ReadPolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{}>;
|
|
541
1030
|
export type ReadPolicyV1NamespacedPodDisruptionBudgetInput = typeof ReadPolicyV1NamespacedPodDisruptionBudgetInput.Type;
|
|
542
1031
|
export declare const ReadPolicyV1NamespacedPodDisruptionBudgetOutput: Schema.Struct<{
|
|
@@ -608,7 +1097,79 @@ export type ReadPolicyV1NamespacedPodDisruptionBudgetOutput = typeof ReadPolicyV
|
|
|
608
1097
|
/**
|
|
609
1098
|
* read the specified PodDisruptionBudget
|
|
610
1099
|
*/
|
|
611
|
-
export declare const readPolicyV1NamespacedPodDisruptionBudget:
|
|
1100
|
+
export declare const readPolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{}, {
|
|
1101
|
+
readonly apiVersion?: string | undefined;
|
|
1102
|
+
readonly kind?: string | undefined;
|
|
1103
|
+
readonly metadata?: {
|
|
1104
|
+
readonly annotations?: {
|
|
1105
|
+
readonly [x: string]: string;
|
|
1106
|
+
} | undefined;
|
|
1107
|
+
readonly creationTimestamp?: string | undefined;
|
|
1108
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
1109
|
+
readonly deletionTimestamp?: string | undefined;
|
|
1110
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
1111
|
+
readonly generateName?: string | undefined;
|
|
1112
|
+
readonly generation?: number | undefined;
|
|
1113
|
+
readonly labels?: {
|
|
1114
|
+
readonly [x: string]: string;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
readonly managedFields?: readonly {
|
|
1117
|
+
readonly apiVersion?: string | undefined;
|
|
1118
|
+
readonly fieldsType?: string | undefined;
|
|
1119
|
+
readonly fieldsV1?: unknown;
|
|
1120
|
+
readonly manager?: string | undefined;
|
|
1121
|
+
readonly operation?: string | undefined;
|
|
1122
|
+
readonly subresource?: string | undefined;
|
|
1123
|
+
readonly time?: string | undefined;
|
|
1124
|
+
}[] | undefined;
|
|
1125
|
+
readonly name?: string | undefined;
|
|
1126
|
+
readonly namespace?: string | undefined;
|
|
1127
|
+
readonly ownerReferences?: readonly {
|
|
1128
|
+
readonly apiVersion: string;
|
|
1129
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
1130
|
+
readonly controller?: boolean | undefined;
|
|
1131
|
+
readonly kind: string;
|
|
1132
|
+
readonly name: string;
|
|
1133
|
+
readonly uid: string;
|
|
1134
|
+
}[] | undefined;
|
|
1135
|
+
readonly resourceVersion?: string | undefined;
|
|
1136
|
+
readonly selfLink?: string | undefined;
|
|
1137
|
+
readonly uid?: string | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
readonly spec?: {
|
|
1140
|
+
readonly maxUnavailable?: string | undefined;
|
|
1141
|
+
readonly minAvailable?: string | undefined;
|
|
1142
|
+
readonly selector?: {
|
|
1143
|
+
readonly matchExpressions?: readonly {
|
|
1144
|
+
readonly key: string;
|
|
1145
|
+
readonly operator: string;
|
|
1146
|
+
readonly values?: readonly string[] | undefined;
|
|
1147
|
+
}[] | undefined;
|
|
1148
|
+
readonly matchLabels?: {
|
|
1149
|
+
readonly [x: string]: string;
|
|
1150
|
+
} | undefined;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
1153
|
+
} | undefined;
|
|
1154
|
+
readonly status?: {
|
|
1155
|
+
readonly conditions?: readonly {
|
|
1156
|
+
readonly lastTransitionTime: string;
|
|
1157
|
+
readonly message: string;
|
|
1158
|
+
readonly observedGeneration?: number | undefined;
|
|
1159
|
+
readonly reason: string;
|
|
1160
|
+
readonly status: string;
|
|
1161
|
+
readonly type: string;
|
|
1162
|
+
}[] | undefined;
|
|
1163
|
+
readonly currentHealthy?: number | undefined;
|
|
1164
|
+
readonly desiredHealthy?: number | undefined;
|
|
1165
|
+
readonly disruptedPods?: {
|
|
1166
|
+
readonly [x: string]: string;
|
|
1167
|
+
} | undefined;
|
|
1168
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
1169
|
+
readonly expectedPods?: number | undefined;
|
|
1170
|
+
readonly observedGeneration?: number | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
|
+
}, NotFound, any>;
|
|
612
1173
|
export declare const ReadPolicyV1NamespacedPodDisruptionBudgetStatusInput: Schema.Struct<{}>;
|
|
613
1174
|
export type ReadPolicyV1NamespacedPodDisruptionBudgetStatusInput = typeof ReadPolicyV1NamespacedPodDisruptionBudgetStatusInput.Type;
|
|
614
1175
|
export declare const ReadPolicyV1NamespacedPodDisruptionBudgetStatusOutput: Schema.Struct<{
|
|
@@ -680,7 +1241,79 @@ export type ReadPolicyV1NamespacedPodDisruptionBudgetStatusOutput = typeof ReadP
|
|
|
680
1241
|
/**
|
|
681
1242
|
* read status of the specified PodDisruptionBudget
|
|
682
1243
|
*/
|
|
683
|
-
export declare const readPolicyV1NamespacedPodDisruptionBudgetStatus:
|
|
1244
|
+
export declare const readPolicyV1NamespacedPodDisruptionBudgetStatus: API.OperationMethod<{}, {
|
|
1245
|
+
readonly apiVersion?: string | undefined;
|
|
1246
|
+
readonly kind?: string | undefined;
|
|
1247
|
+
readonly metadata?: {
|
|
1248
|
+
readonly annotations?: {
|
|
1249
|
+
readonly [x: string]: string;
|
|
1250
|
+
} | undefined;
|
|
1251
|
+
readonly creationTimestamp?: string | undefined;
|
|
1252
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
1253
|
+
readonly deletionTimestamp?: string | undefined;
|
|
1254
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
1255
|
+
readonly generateName?: string | undefined;
|
|
1256
|
+
readonly generation?: number | undefined;
|
|
1257
|
+
readonly labels?: {
|
|
1258
|
+
readonly [x: string]: string;
|
|
1259
|
+
} | undefined;
|
|
1260
|
+
readonly managedFields?: readonly {
|
|
1261
|
+
readonly apiVersion?: string | undefined;
|
|
1262
|
+
readonly fieldsType?: string | undefined;
|
|
1263
|
+
readonly fieldsV1?: unknown;
|
|
1264
|
+
readonly manager?: string | undefined;
|
|
1265
|
+
readonly operation?: string | undefined;
|
|
1266
|
+
readonly subresource?: string | undefined;
|
|
1267
|
+
readonly time?: string | undefined;
|
|
1268
|
+
}[] | undefined;
|
|
1269
|
+
readonly name?: string | undefined;
|
|
1270
|
+
readonly namespace?: string | undefined;
|
|
1271
|
+
readonly ownerReferences?: readonly {
|
|
1272
|
+
readonly apiVersion: string;
|
|
1273
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
1274
|
+
readonly controller?: boolean | undefined;
|
|
1275
|
+
readonly kind: string;
|
|
1276
|
+
readonly name: string;
|
|
1277
|
+
readonly uid: string;
|
|
1278
|
+
}[] | undefined;
|
|
1279
|
+
readonly resourceVersion?: string | undefined;
|
|
1280
|
+
readonly selfLink?: string | undefined;
|
|
1281
|
+
readonly uid?: string | undefined;
|
|
1282
|
+
} | undefined;
|
|
1283
|
+
readonly spec?: {
|
|
1284
|
+
readonly maxUnavailable?: string | undefined;
|
|
1285
|
+
readonly minAvailable?: string | undefined;
|
|
1286
|
+
readonly selector?: {
|
|
1287
|
+
readonly matchExpressions?: readonly {
|
|
1288
|
+
readonly key: string;
|
|
1289
|
+
readonly operator: string;
|
|
1290
|
+
readonly values?: readonly string[] | undefined;
|
|
1291
|
+
}[] | undefined;
|
|
1292
|
+
readonly matchLabels?: {
|
|
1293
|
+
readonly [x: string]: string;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
1297
|
+
} | undefined;
|
|
1298
|
+
readonly status?: {
|
|
1299
|
+
readonly conditions?: readonly {
|
|
1300
|
+
readonly lastTransitionTime: string;
|
|
1301
|
+
readonly message: string;
|
|
1302
|
+
readonly observedGeneration?: number | undefined;
|
|
1303
|
+
readonly reason: string;
|
|
1304
|
+
readonly status: string;
|
|
1305
|
+
readonly type: string;
|
|
1306
|
+
}[] | undefined;
|
|
1307
|
+
readonly currentHealthy?: number | undefined;
|
|
1308
|
+
readonly desiredHealthy?: number | undefined;
|
|
1309
|
+
readonly disruptedPods?: {
|
|
1310
|
+
readonly [x: string]: string;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
1313
|
+
readonly expectedPods?: number | undefined;
|
|
1314
|
+
readonly observedGeneration?: number | undefined;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
}, NotFound, any>;
|
|
684
1317
|
export declare const ReplacePolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{
|
|
685
1318
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
686
1319
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -758,7 +1391,82 @@ export type ReplacePolicyV1NamespacedPodDisruptionBudgetOutput = typeof ReplaceP
|
|
|
758
1391
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
759
1392
|
* @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
760
1393
|
*/
|
|
761
|
-
export declare const replacePolicyV1NamespacedPodDisruptionBudget:
|
|
1394
|
+
export declare const replacePolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{
|
|
1395
|
+
readonly dryRun?: string | undefined;
|
|
1396
|
+
readonly fieldValidation?: string | undefined;
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly apiVersion?: string | undefined;
|
|
1399
|
+
readonly kind?: string | undefined;
|
|
1400
|
+
readonly metadata?: {
|
|
1401
|
+
readonly annotations?: {
|
|
1402
|
+
readonly [x: string]: string;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
readonly creationTimestamp?: string | undefined;
|
|
1405
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
1406
|
+
readonly deletionTimestamp?: string | undefined;
|
|
1407
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
1408
|
+
readonly generateName?: string | undefined;
|
|
1409
|
+
readonly generation?: number | undefined;
|
|
1410
|
+
readonly labels?: {
|
|
1411
|
+
readonly [x: string]: string;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
readonly managedFields?: readonly {
|
|
1414
|
+
readonly apiVersion?: string | undefined;
|
|
1415
|
+
readonly fieldsType?: string | undefined;
|
|
1416
|
+
readonly fieldsV1?: unknown;
|
|
1417
|
+
readonly manager?: string | undefined;
|
|
1418
|
+
readonly operation?: string | undefined;
|
|
1419
|
+
readonly subresource?: string | undefined;
|
|
1420
|
+
readonly time?: string | undefined;
|
|
1421
|
+
}[] | undefined;
|
|
1422
|
+
readonly name?: string | undefined;
|
|
1423
|
+
readonly namespace?: string | undefined;
|
|
1424
|
+
readonly ownerReferences?: readonly {
|
|
1425
|
+
readonly apiVersion: string;
|
|
1426
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
1427
|
+
readonly controller?: boolean | undefined;
|
|
1428
|
+
readonly kind: string;
|
|
1429
|
+
readonly name: string;
|
|
1430
|
+
readonly uid: string;
|
|
1431
|
+
}[] | undefined;
|
|
1432
|
+
readonly resourceVersion?: string | undefined;
|
|
1433
|
+
readonly selfLink?: string | undefined;
|
|
1434
|
+
readonly uid?: string | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
readonly spec?: {
|
|
1437
|
+
readonly maxUnavailable?: string | undefined;
|
|
1438
|
+
readonly minAvailable?: string | undefined;
|
|
1439
|
+
readonly selector?: {
|
|
1440
|
+
readonly matchExpressions?: readonly {
|
|
1441
|
+
readonly key: string;
|
|
1442
|
+
readonly operator: string;
|
|
1443
|
+
readonly values?: readonly string[] | undefined;
|
|
1444
|
+
}[] | undefined;
|
|
1445
|
+
readonly matchLabels?: {
|
|
1446
|
+
readonly [x: string]: string;
|
|
1447
|
+
} | undefined;
|
|
1448
|
+
} | undefined;
|
|
1449
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
readonly status?: {
|
|
1452
|
+
readonly conditions?: readonly {
|
|
1453
|
+
readonly lastTransitionTime: string;
|
|
1454
|
+
readonly message: string;
|
|
1455
|
+
readonly observedGeneration?: number | undefined;
|
|
1456
|
+
readonly reason: string;
|
|
1457
|
+
readonly status: string;
|
|
1458
|
+
readonly type: string;
|
|
1459
|
+
}[] | undefined;
|
|
1460
|
+
readonly currentHealthy?: number | undefined;
|
|
1461
|
+
readonly desiredHealthy?: number | undefined;
|
|
1462
|
+
readonly disruptedPods?: {
|
|
1463
|
+
readonly [x: string]: string;
|
|
1464
|
+
} | undefined;
|
|
1465
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
1466
|
+
readonly expectedPods?: number | undefined;
|
|
1467
|
+
readonly observedGeneration?: number | undefined;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
762
1470
|
export declare const ReplacePolicyV1NamespacedPodDisruptionBudgetStatusInput: Schema.Struct<{
|
|
763
1471
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
764
1472
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -836,7 +1544,82 @@ export type ReplacePolicyV1NamespacedPodDisruptionBudgetStatusOutput = typeof Re
|
|
|
836
1544
|
* @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
|
|
837
1545
|
* @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
|
|
838
1546
|
*/
|
|
839
|
-
export declare const replacePolicyV1NamespacedPodDisruptionBudgetStatus:
|
|
1547
|
+
export declare const replacePolicyV1NamespacedPodDisruptionBudgetStatus: API.OperationMethod<{
|
|
1548
|
+
readonly dryRun?: string | undefined;
|
|
1549
|
+
readonly fieldValidation?: string | undefined;
|
|
1550
|
+
}, {
|
|
1551
|
+
readonly apiVersion?: string | undefined;
|
|
1552
|
+
readonly kind?: string | undefined;
|
|
1553
|
+
readonly metadata?: {
|
|
1554
|
+
readonly annotations?: {
|
|
1555
|
+
readonly [x: string]: string;
|
|
1556
|
+
} | undefined;
|
|
1557
|
+
readonly creationTimestamp?: string | undefined;
|
|
1558
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
1559
|
+
readonly deletionTimestamp?: string | undefined;
|
|
1560
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
1561
|
+
readonly generateName?: string | undefined;
|
|
1562
|
+
readonly generation?: number | undefined;
|
|
1563
|
+
readonly labels?: {
|
|
1564
|
+
readonly [x: string]: string;
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
readonly managedFields?: readonly {
|
|
1567
|
+
readonly apiVersion?: string | undefined;
|
|
1568
|
+
readonly fieldsType?: string | undefined;
|
|
1569
|
+
readonly fieldsV1?: unknown;
|
|
1570
|
+
readonly manager?: string | undefined;
|
|
1571
|
+
readonly operation?: string | undefined;
|
|
1572
|
+
readonly subresource?: string | undefined;
|
|
1573
|
+
readonly time?: string | undefined;
|
|
1574
|
+
}[] | undefined;
|
|
1575
|
+
readonly name?: string | undefined;
|
|
1576
|
+
readonly namespace?: string | undefined;
|
|
1577
|
+
readonly ownerReferences?: readonly {
|
|
1578
|
+
readonly apiVersion: string;
|
|
1579
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
1580
|
+
readonly controller?: boolean | undefined;
|
|
1581
|
+
readonly kind: string;
|
|
1582
|
+
readonly name: string;
|
|
1583
|
+
readonly uid: string;
|
|
1584
|
+
}[] | undefined;
|
|
1585
|
+
readonly resourceVersion?: string | undefined;
|
|
1586
|
+
readonly selfLink?: string | undefined;
|
|
1587
|
+
readonly uid?: string | undefined;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
readonly spec?: {
|
|
1590
|
+
readonly maxUnavailable?: string | undefined;
|
|
1591
|
+
readonly minAvailable?: string | undefined;
|
|
1592
|
+
readonly selector?: {
|
|
1593
|
+
readonly matchExpressions?: readonly {
|
|
1594
|
+
readonly key: string;
|
|
1595
|
+
readonly operator: string;
|
|
1596
|
+
readonly values?: readonly string[] | undefined;
|
|
1597
|
+
}[] | undefined;
|
|
1598
|
+
readonly matchLabels?: {
|
|
1599
|
+
readonly [x: string]: string;
|
|
1600
|
+
} | undefined;
|
|
1601
|
+
} | undefined;
|
|
1602
|
+
readonly unhealthyPodEvictionPolicy?: string | undefined;
|
|
1603
|
+
} | undefined;
|
|
1604
|
+
readonly status?: {
|
|
1605
|
+
readonly conditions?: readonly {
|
|
1606
|
+
readonly lastTransitionTime: string;
|
|
1607
|
+
readonly message: string;
|
|
1608
|
+
readonly observedGeneration?: number | undefined;
|
|
1609
|
+
readonly reason: string;
|
|
1610
|
+
readonly status: string;
|
|
1611
|
+
readonly type: string;
|
|
1612
|
+
}[] | undefined;
|
|
1613
|
+
readonly currentHealthy?: number | undefined;
|
|
1614
|
+
readonly desiredHealthy?: number | undefined;
|
|
1615
|
+
readonly disruptedPods?: {
|
|
1616
|
+
readonly [x: string]: string;
|
|
1617
|
+
} | undefined;
|
|
1618
|
+
readonly disruptionsAllowed?: number | undefined;
|
|
1619
|
+
readonly expectedPods?: number | undefined;
|
|
1620
|
+
readonly observedGeneration?: number | undefined;
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
840
1623
|
export declare const WatchPolicyV1NamespacedPodDisruptionBudgetInput: Schema.Struct<{}>;
|
|
841
1624
|
export type WatchPolicyV1NamespacedPodDisruptionBudgetInput = typeof WatchPolicyV1NamespacedPodDisruptionBudgetInput.Type;
|
|
842
1625
|
export declare const WatchPolicyV1NamespacedPodDisruptionBudgetOutput: Schema.Struct<{
|
|
@@ -847,7 +1630,10 @@ export type WatchPolicyV1NamespacedPodDisruptionBudgetOutput = typeof WatchPolic
|
|
|
847
1630
|
/**
|
|
848
1631
|
* watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
|
|
849
1632
|
*/
|
|
850
|
-
export declare const watchPolicyV1NamespacedPodDisruptionBudget:
|
|
1633
|
+
export declare const watchPolicyV1NamespacedPodDisruptionBudget: API.OperationMethod<{}, {
|
|
1634
|
+
readonly object: unknown;
|
|
1635
|
+
readonly type: string;
|
|
1636
|
+
}, never, any>;
|
|
851
1637
|
export declare const WatchPolicyV1NamespacedPodDisruptionBudgetListInput: Schema.Struct<{}>;
|
|
852
1638
|
export type WatchPolicyV1NamespacedPodDisruptionBudgetListInput = typeof WatchPolicyV1NamespacedPodDisruptionBudgetListInput.Type;
|
|
853
1639
|
export declare const WatchPolicyV1NamespacedPodDisruptionBudgetListOutput: Schema.Struct<{
|
|
@@ -858,7 +1644,10 @@ export type WatchPolicyV1NamespacedPodDisruptionBudgetListOutput = typeof WatchP
|
|
|
858
1644
|
/**
|
|
859
1645
|
* watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.
|
|
860
1646
|
*/
|
|
861
|
-
export declare const watchPolicyV1NamespacedPodDisruptionBudgetList:
|
|
1647
|
+
export declare const watchPolicyV1NamespacedPodDisruptionBudgetList: API.OperationMethod<{}, {
|
|
1648
|
+
readonly object: unknown;
|
|
1649
|
+
readonly type: string;
|
|
1650
|
+
}, never, any>;
|
|
862
1651
|
export declare const WatchPolicyV1PodDisruptionBudgetListForAllNamespacesInput: Schema.Struct<{}>;
|
|
863
1652
|
export type WatchPolicyV1PodDisruptionBudgetListForAllNamespacesInput = typeof WatchPolicyV1PodDisruptionBudgetListForAllNamespacesInput.Type;
|
|
864
1653
|
export declare const WatchPolicyV1PodDisruptionBudgetListForAllNamespacesOutput: Schema.Struct<{
|
|
@@ -869,5 +1658,8 @@ export type WatchPolicyV1PodDisruptionBudgetListForAllNamespacesOutput = typeof
|
|
|
869
1658
|
/**
|
|
870
1659
|
* watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.
|
|
871
1660
|
*/
|
|
872
|
-
export declare const watchPolicyV1PodDisruptionBudgetListForAllNamespaces:
|
|
1661
|
+
export declare const watchPolicyV1PodDisruptionBudgetListForAllNamespaces: API.OperationMethod<{}, {
|
|
1662
|
+
readonly object: unknown;
|
|
1663
|
+
readonly type: string;
|
|
1664
|
+
}, never, any>;
|
|
873
1665
|
//# sourceMappingURL=policy.d.ts.map
|