@distilled.cloud/kubernetes 0.10.2 → 0.12.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/node.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 CreateNodeV1RuntimeClassInput: Schema.Struct<{
|
|
9
11
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
10
12
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -67,7 +69,67 @@ export type CreateNodeV1RuntimeClassOutput = typeof CreateNodeV1RuntimeClassOutp
|
|
|
67
69
|
* @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
|
|
68
70
|
* @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.
|
|
69
71
|
*/
|
|
70
|
-
export declare const createNodeV1RuntimeClass:
|
|
72
|
+
export declare const createNodeV1RuntimeClass: API.OperationMethod<{
|
|
73
|
+
readonly dryRun?: string | undefined;
|
|
74
|
+
readonly fieldValidation?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
readonly apiVersion?: string | undefined;
|
|
77
|
+
readonly handler: string;
|
|
78
|
+
readonly kind?: string | undefined;
|
|
79
|
+
readonly metadata?: {
|
|
80
|
+
readonly annotations?: {
|
|
81
|
+
readonly [x: string]: string;
|
|
82
|
+
} | undefined;
|
|
83
|
+
readonly creationTimestamp?: string | undefined;
|
|
84
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
85
|
+
readonly deletionTimestamp?: string | undefined;
|
|
86
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
87
|
+
readonly generateName?: string | undefined;
|
|
88
|
+
readonly generation?: number | undefined;
|
|
89
|
+
readonly labels?: {
|
|
90
|
+
readonly [x: string]: string;
|
|
91
|
+
} | undefined;
|
|
92
|
+
readonly managedFields?: readonly {
|
|
93
|
+
readonly apiVersion?: string | undefined;
|
|
94
|
+
readonly fieldsType?: string | undefined;
|
|
95
|
+
readonly fieldsV1?: unknown;
|
|
96
|
+
readonly manager?: string | undefined;
|
|
97
|
+
readonly operation?: string | undefined;
|
|
98
|
+
readonly subresource?: string | undefined;
|
|
99
|
+
readonly time?: string | undefined;
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
readonly name?: string | undefined;
|
|
102
|
+
readonly namespace?: string | undefined;
|
|
103
|
+
readonly ownerReferences?: readonly {
|
|
104
|
+
readonly apiVersion: string;
|
|
105
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
106
|
+
readonly controller?: boolean | undefined;
|
|
107
|
+
readonly kind: string;
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly uid: string;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
readonly resourceVersion?: string | undefined;
|
|
112
|
+
readonly selfLink?: string | undefined;
|
|
113
|
+
readonly uid?: string | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
readonly overhead?: {
|
|
116
|
+
readonly podFixed?: {
|
|
117
|
+
readonly [x: string]: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
readonly scheduling?: {
|
|
121
|
+
readonly nodeSelector?: {
|
|
122
|
+
readonly [x: string]: string;
|
|
123
|
+
} | undefined;
|
|
124
|
+
readonly tolerations?: readonly {
|
|
125
|
+
readonly effect?: string | undefined;
|
|
126
|
+
readonly key?: string | undefined;
|
|
127
|
+
readonly operator?: string | undefined;
|
|
128
|
+
readonly tolerationSeconds?: number | undefined;
|
|
129
|
+
readonly value?: string | undefined;
|
|
130
|
+
}[] | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
}, Conflict | UnprocessableEntity, any>;
|
|
71
133
|
export declare const DeleteNodeV1CollectionRuntimeClassInput: Schema.Struct<{
|
|
72
134
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
73
135
|
}>;
|
|
@@ -107,7 +169,37 @@ export type DeleteNodeV1CollectionRuntimeClassOutput = typeof DeleteNodeV1Collec
|
|
|
107
169
|
*
|
|
108
170
|
* @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
|
|
109
171
|
*/
|
|
110
|
-
export declare const deleteNodeV1CollectionRuntimeClass:
|
|
172
|
+
export declare const deleteNodeV1CollectionRuntimeClass: API.OperationMethod<{
|
|
173
|
+
readonly dryRun?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
readonly apiVersion?: string | undefined;
|
|
176
|
+
readonly code?: number | undefined;
|
|
177
|
+
readonly details?: {
|
|
178
|
+
readonly causes?: readonly {
|
|
179
|
+
readonly field?: string | undefined;
|
|
180
|
+
readonly message?: string | undefined;
|
|
181
|
+
readonly reason?: string | undefined;
|
|
182
|
+
}[] | undefined;
|
|
183
|
+
readonly group?: string | undefined;
|
|
184
|
+
readonly kind?: string | undefined;
|
|
185
|
+
readonly name?: string | undefined;
|
|
186
|
+
readonly retryAfterSeconds?: number | undefined;
|
|
187
|
+
readonly uid?: string | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
readonly kind?: string | undefined;
|
|
190
|
+
readonly message?: string | undefined;
|
|
191
|
+
readonly metadata?: {
|
|
192
|
+
readonly continue?: string | undefined;
|
|
193
|
+
readonly remainingItemCount?: number | undefined;
|
|
194
|
+
readonly resourceVersion?: string | undefined;
|
|
195
|
+
readonly selfLink?: string | undefined;
|
|
196
|
+
readonly shardInfo?: {
|
|
197
|
+
readonly selector: string;
|
|
198
|
+
} | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
readonly reason?: string | undefined;
|
|
201
|
+
readonly status?: string | undefined;
|
|
202
|
+
}, never, any>;
|
|
111
203
|
export declare const DeleteNodeV1RuntimeClassInput: Schema.Struct<{
|
|
112
204
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
113
205
|
}>;
|
|
@@ -147,7 +239,37 @@ export type DeleteNodeV1RuntimeClassOutput = typeof DeleteNodeV1RuntimeClassOutp
|
|
|
147
239
|
*
|
|
148
240
|
* @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
|
|
149
241
|
*/
|
|
150
|
-
export declare const deleteNodeV1RuntimeClass:
|
|
242
|
+
export declare const deleteNodeV1RuntimeClass: API.OperationMethod<{
|
|
243
|
+
readonly dryRun?: string | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
readonly apiVersion?: string | undefined;
|
|
246
|
+
readonly code?: number | undefined;
|
|
247
|
+
readonly details?: {
|
|
248
|
+
readonly causes?: readonly {
|
|
249
|
+
readonly field?: string | undefined;
|
|
250
|
+
readonly message?: string | undefined;
|
|
251
|
+
readonly reason?: string | undefined;
|
|
252
|
+
}[] | undefined;
|
|
253
|
+
readonly group?: string | undefined;
|
|
254
|
+
readonly kind?: string | undefined;
|
|
255
|
+
readonly name?: string | undefined;
|
|
256
|
+
readonly retryAfterSeconds?: number | undefined;
|
|
257
|
+
readonly uid?: string | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
readonly kind?: string | undefined;
|
|
260
|
+
readonly message?: string | undefined;
|
|
261
|
+
readonly metadata?: {
|
|
262
|
+
readonly continue?: string | undefined;
|
|
263
|
+
readonly remainingItemCount?: number | undefined;
|
|
264
|
+
readonly resourceVersion?: string | undefined;
|
|
265
|
+
readonly selfLink?: string | undefined;
|
|
266
|
+
readonly shardInfo?: {
|
|
267
|
+
readonly selector: string;
|
|
268
|
+
} | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
readonly reason?: string | undefined;
|
|
271
|
+
readonly status?: string | undefined;
|
|
272
|
+
}, Conflict | NotFound, any>;
|
|
151
273
|
export declare const GetNodeAPIGroupInput: Schema.Struct<{}>;
|
|
152
274
|
export type GetNodeAPIGroupInput = typeof GetNodeAPIGroupInput.Type;
|
|
153
275
|
export declare const GetNodeAPIGroupOutput: Schema.Struct<{
|
|
@@ -171,7 +293,23 @@ export type GetNodeAPIGroupOutput = typeof GetNodeAPIGroupOutput.Type;
|
|
|
171
293
|
/**
|
|
172
294
|
* get information of a group
|
|
173
295
|
*/
|
|
174
|
-
export declare const getNodeAPIGroup:
|
|
296
|
+
export declare const getNodeAPIGroup: API.OperationMethod<{}, {
|
|
297
|
+
readonly apiVersion?: string | undefined;
|
|
298
|
+
readonly kind?: string | undefined;
|
|
299
|
+
readonly name: string;
|
|
300
|
+
readonly preferredVersion?: {
|
|
301
|
+
readonly groupVersion: string;
|
|
302
|
+
readonly version: string;
|
|
303
|
+
} | undefined;
|
|
304
|
+
readonly serverAddressByClientCIDRs?: readonly {
|
|
305
|
+
readonly clientCIDR: string;
|
|
306
|
+
readonly serverAddress: string;
|
|
307
|
+
}[] | undefined;
|
|
308
|
+
readonly versions: readonly {
|
|
309
|
+
readonly groupVersion: string;
|
|
310
|
+
readonly version: string;
|
|
311
|
+
}[];
|
|
312
|
+
}, never, any>;
|
|
175
313
|
export declare const GetNodeV1APIResourcesInput: Schema.Struct<{}>;
|
|
176
314
|
export type GetNodeV1APIResourcesInput = typeof GetNodeV1APIResourcesInput.Type;
|
|
177
315
|
export declare const GetNodeV1APIResourcesOutput: Schema.Struct<{
|
|
@@ -195,7 +333,23 @@ export type GetNodeV1APIResourcesOutput = typeof GetNodeV1APIResourcesOutput.Typ
|
|
|
195
333
|
/**
|
|
196
334
|
* get available resources
|
|
197
335
|
*/
|
|
198
|
-
export declare const getNodeV1APIResources:
|
|
336
|
+
export declare const getNodeV1APIResources: API.OperationMethod<{}, {
|
|
337
|
+
readonly apiVersion?: string | undefined;
|
|
338
|
+
readonly groupVersion: string;
|
|
339
|
+
readonly kind?: string | undefined;
|
|
340
|
+
readonly resources: readonly {
|
|
341
|
+
readonly categories?: readonly string[] | undefined;
|
|
342
|
+
readonly group?: string | undefined;
|
|
343
|
+
readonly kind: string;
|
|
344
|
+
readonly name: string;
|
|
345
|
+
readonly namespaced: boolean;
|
|
346
|
+
readonly shortNames?: readonly string[] | undefined;
|
|
347
|
+
readonly singularName: string;
|
|
348
|
+
readonly storageVersionHash?: string | undefined;
|
|
349
|
+
readonly verbs: readonly string[];
|
|
350
|
+
readonly version?: string | undefined;
|
|
351
|
+
}[];
|
|
352
|
+
}, never, any>;
|
|
199
353
|
export declare const ListNodeV1RuntimeClassInput: Schema.Struct<{}>;
|
|
200
354
|
export type ListNodeV1RuntimeClassInput = typeof ListNodeV1RuntimeClassInput.Type;
|
|
201
355
|
export declare const ListNodeV1RuntimeClassOutput: Schema.Struct<{
|
|
@@ -265,7 +419,77 @@ export type ListNodeV1RuntimeClassOutput = typeof ListNodeV1RuntimeClassOutput.T
|
|
|
265
419
|
/**
|
|
266
420
|
* list or watch objects of kind RuntimeClass
|
|
267
421
|
*/
|
|
268
|
-
export declare const listNodeV1RuntimeClass:
|
|
422
|
+
export declare const listNodeV1RuntimeClass: API.OperationMethod<{}, {
|
|
423
|
+
readonly apiVersion?: string | undefined;
|
|
424
|
+
readonly items: readonly {
|
|
425
|
+
readonly apiVersion?: string | undefined;
|
|
426
|
+
readonly handler: string;
|
|
427
|
+
readonly kind?: string | undefined;
|
|
428
|
+
readonly metadata?: {
|
|
429
|
+
readonly annotations?: {
|
|
430
|
+
readonly [x: string]: string;
|
|
431
|
+
} | undefined;
|
|
432
|
+
readonly creationTimestamp?: string | undefined;
|
|
433
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
434
|
+
readonly deletionTimestamp?: string | undefined;
|
|
435
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
436
|
+
readonly generateName?: string | undefined;
|
|
437
|
+
readonly generation?: number | undefined;
|
|
438
|
+
readonly labels?: {
|
|
439
|
+
readonly [x: string]: string;
|
|
440
|
+
} | undefined;
|
|
441
|
+
readonly managedFields?: readonly {
|
|
442
|
+
readonly apiVersion?: string | undefined;
|
|
443
|
+
readonly fieldsType?: string | undefined;
|
|
444
|
+
readonly fieldsV1?: unknown;
|
|
445
|
+
readonly manager?: string | undefined;
|
|
446
|
+
readonly operation?: string | undefined;
|
|
447
|
+
readonly subresource?: string | undefined;
|
|
448
|
+
readonly time?: string | undefined;
|
|
449
|
+
}[] | undefined;
|
|
450
|
+
readonly name?: string | undefined;
|
|
451
|
+
readonly namespace?: string | undefined;
|
|
452
|
+
readonly ownerReferences?: readonly {
|
|
453
|
+
readonly apiVersion: string;
|
|
454
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
455
|
+
readonly controller?: boolean | undefined;
|
|
456
|
+
readonly kind: string;
|
|
457
|
+
readonly name: string;
|
|
458
|
+
readonly uid: string;
|
|
459
|
+
}[] | undefined;
|
|
460
|
+
readonly resourceVersion?: string | undefined;
|
|
461
|
+
readonly selfLink?: string | undefined;
|
|
462
|
+
readonly uid?: string | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
readonly overhead?: {
|
|
465
|
+
readonly podFixed?: {
|
|
466
|
+
readonly [x: string]: string;
|
|
467
|
+
} | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
readonly scheduling?: {
|
|
470
|
+
readonly nodeSelector?: {
|
|
471
|
+
readonly [x: string]: string;
|
|
472
|
+
} | undefined;
|
|
473
|
+
readonly tolerations?: readonly {
|
|
474
|
+
readonly effect?: string | undefined;
|
|
475
|
+
readonly key?: string | undefined;
|
|
476
|
+
readonly operator?: string | undefined;
|
|
477
|
+
readonly tolerationSeconds?: number | undefined;
|
|
478
|
+
readonly value?: string | undefined;
|
|
479
|
+
}[] | undefined;
|
|
480
|
+
} | undefined;
|
|
481
|
+
}[];
|
|
482
|
+
readonly kind?: string | undefined;
|
|
483
|
+
readonly metadata?: {
|
|
484
|
+
readonly continue?: string | undefined;
|
|
485
|
+
readonly remainingItemCount?: number | undefined;
|
|
486
|
+
readonly resourceVersion?: string | undefined;
|
|
487
|
+
readonly selfLink?: string | undefined;
|
|
488
|
+
readonly shardInfo?: {
|
|
489
|
+
readonly selector: string;
|
|
490
|
+
} | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
}, never, any>;
|
|
269
493
|
export declare const PatchNodeV1RuntimeClassInput: Schema.Struct<{
|
|
270
494
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
271
495
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -328,7 +552,67 @@ export type PatchNodeV1RuntimeClassOutput = typeof PatchNodeV1RuntimeClassOutput
|
|
|
328
552
|
* @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
|
|
329
553
|
* @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.
|
|
330
554
|
*/
|
|
331
|
-
export declare const patchNodeV1RuntimeClass:
|
|
555
|
+
export declare const patchNodeV1RuntimeClass: API.OperationMethod<{
|
|
556
|
+
readonly dryRun?: string | undefined;
|
|
557
|
+
readonly fieldValidation?: string | undefined;
|
|
558
|
+
}, {
|
|
559
|
+
readonly apiVersion?: string | undefined;
|
|
560
|
+
readonly handler: string;
|
|
561
|
+
readonly kind?: string | undefined;
|
|
562
|
+
readonly metadata?: {
|
|
563
|
+
readonly annotations?: {
|
|
564
|
+
readonly [x: string]: string;
|
|
565
|
+
} | undefined;
|
|
566
|
+
readonly creationTimestamp?: string | undefined;
|
|
567
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
568
|
+
readonly deletionTimestamp?: string | undefined;
|
|
569
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
570
|
+
readonly generateName?: string | undefined;
|
|
571
|
+
readonly generation?: number | undefined;
|
|
572
|
+
readonly labels?: {
|
|
573
|
+
readonly [x: string]: string;
|
|
574
|
+
} | undefined;
|
|
575
|
+
readonly managedFields?: readonly {
|
|
576
|
+
readonly apiVersion?: string | undefined;
|
|
577
|
+
readonly fieldsType?: string | undefined;
|
|
578
|
+
readonly fieldsV1?: unknown;
|
|
579
|
+
readonly manager?: string | undefined;
|
|
580
|
+
readonly operation?: string | undefined;
|
|
581
|
+
readonly subresource?: string | undefined;
|
|
582
|
+
readonly time?: string | undefined;
|
|
583
|
+
}[] | undefined;
|
|
584
|
+
readonly name?: string | undefined;
|
|
585
|
+
readonly namespace?: string | undefined;
|
|
586
|
+
readonly ownerReferences?: readonly {
|
|
587
|
+
readonly apiVersion: string;
|
|
588
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
589
|
+
readonly controller?: boolean | undefined;
|
|
590
|
+
readonly kind: string;
|
|
591
|
+
readonly name: string;
|
|
592
|
+
readonly uid: string;
|
|
593
|
+
}[] | undefined;
|
|
594
|
+
readonly resourceVersion?: string | undefined;
|
|
595
|
+
readonly selfLink?: string | undefined;
|
|
596
|
+
readonly uid?: string | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
readonly overhead?: {
|
|
599
|
+
readonly podFixed?: {
|
|
600
|
+
readonly [x: string]: string;
|
|
601
|
+
} | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
readonly scheduling?: {
|
|
604
|
+
readonly nodeSelector?: {
|
|
605
|
+
readonly [x: string]: string;
|
|
606
|
+
} | undefined;
|
|
607
|
+
readonly tolerations?: readonly {
|
|
608
|
+
readonly effect?: string | undefined;
|
|
609
|
+
readonly key?: string | undefined;
|
|
610
|
+
readonly operator?: string | undefined;
|
|
611
|
+
readonly tolerationSeconds?: number | undefined;
|
|
612
|
+
readonly value?: string | undefined;
|
|
613
|
+
}[] | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
332
616
|
export declare const ReadNodeV1RuntimeClassInput: Schema.Struct<{}>;
|
|
333
617
|
export type ReadNodeV1RuntimeClassInput = typeof ReadNodeV1RuntimeClassInput.Type;
|
|
334
618
|
export declare const ReadNodeV1RuntimeClassOutput: Schema.Struct<{
|
|
@@ -385,7 +669,64 @@ export type ReadNodeV1RuntimeClassOutput = typeof ReadNodeV1RuntimeClassOutput.T
|
|
|
385
669
|
/**
|
|
386
670
|
* read the specified RuntimeClass
|
|
387
671
|
*/
|
|
388
|
-
export declare const readNodeV1RuntimeClass:
|
|
672
|
+
export declare const readNodeV1RuntimeClass: API.OperationMethod<{}, {
|
|
673
|
+
readonly apiVersion?: string | undefined;
|
|
674
|
+
readonly handler: string;
|
|
675
|
+
readonly kind?: string | undefined;
|
|
676
|
+
readonly metadata?: {
|
|
677
|
+
readonly annotations?: {
|
|
678
|
+
readonly [x: string]: string;
|
|
679
|
+
} | undefined;
|
|
680
|
+
readonly creationTimestamp?: string | undefined;
|
|
681
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
682
|
+
readonly deletionTimestamp?: string | undefined;
|
|
683
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
684
|
+
readonly generateName?: string | undefined;
|
|
685
|
+
readonly generation?: number | undefined;
|
|
686
|
+
readonly labels?: {
|
|
687
|
+
readonly [x: string]: string;
|
|
688
|
+
} | undefined;
|
|
689
|
+
readonly managedFields?: readonly {
|
|
690
|
+
readonly apiVersion?: string | undefined;
|
|
691
|
+
readonly fieldsType?: string | undefined;
|
|
692
|
+
readonly fieldsV1?: unknown;
|
|
693
|
+
readonly manager?: string | undefined;
|
|
694
|
+
readonly operation?: string | undefined;
|
|
695
|
+
readonly subresource?: string | undefined;
|
|
696
|
+
readonly time?: string | undefined;
|
|
697
|
+
}[] | undefined;
|
|
698
|
+
readonly name?: string | undefined;
|
|
699
|
+
readonly namespace?: string | undefined;
|
|
700
|
+
readonly ownerReferences?: readonly {
|
|
701
|
+
readonly apiVersion: string;
|
|
702
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
703
|
+
readonly controller?: boolean | undefined;
|
|
704
|
+
readonly kind: string;
|
|
705
|
+
readonly name: string;
|
|
706
|
+
readonly uid: string;
|
|
707
|
+
}[] | undefined;
|
|
708
|
+
readonly resourceVersion?: string | undefined;
|
|
709
|
+
readonly selfLink?: string | undefined;
|
|
710
|
+
readonly uid?: string | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
readonly overhead?: {
|
|
713
|
+
readonly podFixed?: {
|
|
714
|
+
readonly [x: string]: string;
|
|
715
|
+
} | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
readonly scheduling?: {
|
|
718
|
+
readonly nodeSelector?: {
|
|
719
|
+
readonly [x: string]: string;
|
|
720
|
+
} | undefined;
|
|
721
|
+
readonly tolerations?: readonly {
|
|
722
|
+
readonly effect?: string | undefined;
|
|
723
|
+
readonly key?: string | undefined;
|
|
724
|
+
readonly operator?: string | undefined;
|
|
725
|
+
readonly tolerationSeconds?: number | undefined;
|
|
726
|
+
readonly value?: string | undefined;
|
|
727
|
+
}[] | undefined;
|
|
728
|
+
} | undefined;
|
|
729
|
+
}, NotFound, any>;
|
|
389
730
|
export declare const ReplaceNodeV1RuntimeClassInput: Schema.Struct<{
|
|
390
731
|
readonly dryRun: Schema.optional<Schema.String>;
|
|
391
732
|
readonly fieldValidation: Schema.optional<Schema.String>;
|
|
@@ -448,7 +789,67 @@ export type ReplaceNodeV1RuntimeClassOutput = typeof ReplaceNodeV1RuntimeClassOu
|
|
|
448
789
|
* @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
|
|
449
790
|
* @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.
|
|
450
791
|
*/
|
|
451
|
-
export declare const replaceNodeV1RuntimeClass:
|
|
792
|
+
export declare const replaceNodeV1RuntimeClass: API.OperationMethod<{
|
|
793
|
+
readonly dryRun?: string | undefined;
|
|
794
|
+
readonly fieldValidation?: string | undefined;
|
|
795
|
+
}, {
|
|
796
|
+
readonly apiVersion?: string | undefined;
|
|
797
|
+
readonly handler: string;
|
|
798
|
+
readonly kind?: string | undefined;
|
|
799
|
+
readonly metadata?: {
|
|
800
|
+
readonly annotations?: {
|
|
801
|
+
readonly [x: string]: string;
|
|
802
|
+
} | undefined;
|
|
803
|
+
readonly creationTimestamp?: string | undefined;
|
|
804
|
+
readonly deletionGracePeriodSeconds?: number | undefined;
|
|
805
|
+
readonly deletionTimestamp?: string | undefined;
|
|
806
|
+
readonly finalizers?: readonly string[] | undefined;
|
|
807
|
+
readonly generateName?: string | undefined;
|
|
808
|
+
readonly generation?: number | undefined;
|
|
809
|
+
readonly labels?: {
|
|
810
|
+
readonly [x: string]: string;
|
|
811
|
+
} | undefined;
|
|
812
|
+
readonly managedFields?: readonly {
|
|
813
|
+
readonly apiVersion?: string | undefined;
|
|
814
|
+
readonly fieldsType?: string | undefined;
|
|
815
|
+
readonly fieldsV1?: unknown;
|
|
816
|
+
readonly manager?: string | undefined;
|
|
817
|
+
readonly operation?: string | undefined;
|
|
818
|
+
readonly subresource?: string | undefined;
|
|
819
|
+
readonly time?: string | undefined;
|
|
820
|
+
}[] | undefined;
|
|
821
|
+
readonly name?: string | undefined;
|
|
822
|
+
readonly namespace?: string | undefined;
|
|
823
|
+
readonly ownerReferences?: readonly {
|
|
824
|
+
readonly apiVersion: string;
|
|
825
|
+
readonly blockOwnerDeletion?: boolean | undefined;
|
|
826
|
+
readonly controller?: boolean | undefined;
|
|
827
|
+
readonly kind: string;
|
|
828
|
+
readonly name: string;
|
|
829
|
+
readonly uid: string;
|
|
830
|
+
}[] | undefined;
|
|
831
|
+
readonly resourceVersion?: string | undefined;
|
|
832
|
+
readonly selfLink?: string | undefined;
|
|
833
|
+
readonly uid?: string | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
readonly overhead?: {
|
|
836
|
+
readonly podFixed?: {
|
|
837
|
+
readonly [x: string]: string;
|
|
838
|
+
} | undefined;
|
|
839
|
+
} | undefined;
|
|
840
|
+
readonly scheduling?: {
|
|
841
|
+
readonly nodeSelector?: {
|
|
842
|
+
readonly [x: string]: string;
|
|
843
|
+
} | undefined;
|
|
844
|
+
readonly tolerations?: readonly {
|
|
845
|
+
readonly effect?: string | undefined;
|
|
846
|
+
readonly key?: string | undefined;
|
|
847
|
+
readonly operator?: string | undefined;
|
|
848
|
+
readonly tolerationSeconds?: number | undefined;
|
|
849
|
+
readonly value?: string | undefined;
|
|
850
|
+
}[] | undefined;
|
|
851
|
+
} | undefined;
|
|
852
|
+
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
452
853
|
export declare const WatchNodeV1RuntimeClassInput: Schema.Struct<{}>;
|
|
453
854
|
export type WatchNodeV1RuntimeClassInput = typeof WatchNodeV1RuntimeClassInput.Type;
|
|
454
855
|
export declare const WatchNodeV1RuntimeClassOutput: Schema.Struct<{
|
|
@@ -459,7 +860,10 @@ export type WatchNodeV1RuntimeClassOutput = typeof WatchNodeV1RuntimeClassOutput
|
|
|
459
860
|
/**
|
|
460
861
|
* watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
|
|
461
862
|
*/
|
|
462
|
-
export declare const watchNodeV1RuntimeClass:
|
|
863
|
+
export declare const watchNodeV1RuntimeClass: API.OperationMethod<{}, {
|
|
864
|
+
readonly object: unknown;
|
|
865
|
+
readonly type: string;
|
|
866
|
+
}, never, any>;
|
|
463
867
|
export declare const WatchNodeV1RuntimeClassListInput: Schema.Struct<{}>;
|
|
464
868
|
export type WatchNodeV1RuntimeClassListInput = typeof WatchNodeV1RuntimeClassListInput.Type;
|
|
465
869
|
export declare const WatchNodeV1RuntimeClassListOutput: Schema.Struct<{
|
|
@@ -470,5 +874,8 @@ export type WatchNodeV1RuntimeClassListOutput = typeof WatchNodeV1RuntimeClassLi
|
|
|
470
874
|
/**
|
|
471
875
|
* watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.
|
|
472
876
|
*/
|
|
473
|
-
export declare const watchNodeV1RuntimeClassList:
|
|
877
|
+
export declare const watchNodeV1RuntimeClassList: API.OperationMethod<{}, {
|
|
878
|
+
readonly object: unknown;
|
|
879
|
+
readonly type: string;
|
|
880
|
+
}, never, any>;
|
|
474
881
|
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/services/node.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/services/node.ts"],"names":[],"mappings":"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"}
|
package/lib/services/node.js
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import * as Schema from "effect/Schema";
|
|
8
8
|
import * as API from "../client/api.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
+
import { Conflict, NotFound, UnprocessableEntity } from "../errors.js";
|
|
10
11
|
// Input Schema
|
|
11
12
|
export const CreateNodeV1RuntimeClassInput =
|
|
12
13
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -75,6 +76,7 @@ export const CreateNodeV1RuntimeClassOutput =
|
|
|
75
76
|
export const createNodeV1RuntimeClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
76
77
|
inputSchema: CreateNodeV1RuntimeClassInput,
|
|
77
78
|
outputSchema: CreateNodeV1RuntimeClassOutput,
|
|
79
|
+
errors: [Conflict, UnprocessableEntity],
|
|
78
80
|
}));
|
|
79
81
|
// Input Schema
|
|
80
82
|
export const DeleteNodeV1CollectionRuntimeClassInput =
|
|
@@ -171,6 +173,7 @@ export const DeleteNodeV1RuntimeClassOutput =
|
|
|
171
173
|
export const deleteNodeV1RuntimeClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
172
174
|
inputSchema: DeleteNodeV1RuntimeClassInput,
|
|
173
175
|
outputSchema: DeleteNodeV1RuntimeClassOutput,
|
|
176
|
+
errors: [NotFound, Conflict],
|
|
174
177
|
}));
|
|
175
178
|
// Input Schema
|
|
176
179
|
export const GetNodeAPIGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/apis/node.k8s.io/" }));
|
|
@@ -377,6 +380,7 @@ export const PatchNodeV1RuntimeClassOutput =
|
|
|
377
380
|
export const patchNodeV1RuntimeClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
378
381
|
inputSchema: PatchNodeV1RuntimeClassInput,
|
|
379
382
|
outputSchema: PatchNodeV1RuntimeClassOutput,
|
|
383
|
+
errors: [NotFound, Conflict, UnprocessableEntity],
|
|
380
384
|
}));
|
|
381
385
|
// Input Schema
|
|
382
386
|
export const ReadNodeV1RuntimeClassInput =
|
|
@@ -443,6 +447,7 @@ export const ReadNodeV1RuntimeClassOutput =
|
|
|
443
447
|
export const readNodeV1RuntimeClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
444
448
|
inputSchema: ReadNodeV1RuntimeClassInput,
|
|
445
449
|
outputSchema: ReadNodeV1RuntimeClassOutput,
|
|
450
|
+
errors: [NotFound],
|
|
446
451
|
}));
|
|
447
452
|
// Input Schema
|
|
448
453
|
export const ReplaceNodeV1RuntimeClassInput =
|
|
@@ -515,6 +520,7 @@ export const ReplaceNodeV1RuntimeClassOutput =
|
|
|
515
520
|
export const replaceNodeV1RuntimeClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
516
521
|
inputSchema: ReplaceNodeV1RuntimeClassInput,
|
|
517
522
|
outputSchema: ReplaceNodeV1RuntimeClassOutput,
|
|
523
|
+
errors: [NotFound, Conflict, UnprocessableEntity],
|
|
518
524
|
}));
|
|
519
525
|
// Input Schema
|
|
520
526
|
export const WatchNodeV1RuntimeClassInput =
|