@cloudfleet/sdk 0.0.1-cdcf1a9 → 0.0.1-d8d23ea
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/dist/client/client.d.ts +3 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +146 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +120 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/utils.d.ts +46 -0
- package/dist/client/utils.d.ts.map +1 -0
- package/dist/client/utils.js +285 -0
- package/dist/client/utils.js.map +1 -0
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.d.ts +19 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +14 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/bodySerializer.d.ts +18 -0
- package/dist/core/bodySerializer.d.ts.map +1 -0
- package/dist/core/bodySerializer.js +54 -0
- package/dist/core/bodySerializer.js.map +1 -0
- package/dist/core/params.d.ts +34 -0
- package/dist/core/params.d.ts.map +1 -0
- package/dist/core/params.js +88 -0
- package/dist/core/params.js.map +1 -0
- package/dist/core/pathSerializer.d.ts +34 -0
- package/dist/core/pathSerializer.d.ts.map +1 -0
- package/dist/core/pathSerializer.js +114 -0
- package/dist/core/pathSerializer.js.map +1 -0
- package/dist/core/types.d.ts +79 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.js.map +1 -0
- package/dist/schemas.gen.d.ts +63 -103
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +63 -112
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +56 -63
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +21 -21
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +29 -33
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1722 -212
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +475 -54
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -280,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
|
|
|
280
280
|
readonly description: "Name of the cluster.";
|
|
281
281
|
readonly example: "production-cluster";
|
|
282
282
|
};
|
|
283
|
-
readonly region: {
|
|
284
|
-
readonly type: "string";
|
|
285
|
-
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
|
|
286
|
-
readonly default: "staging";
|
|
287
|
-
readonly example: "northamerica-central-1";
|
|
288
|
-
readonly enum: readonly ["staging", "northamerica-central-1"];
|
|
289
|
-
};
|
|
290
283
|
readonly tier: {
|
|
291
284
|
readonly type: "string";
|
|
292
285
|
readonly description: "Tier of the cluster.";
|
|
293
286
|
readonly example: "pro";
|
|
294
287
|
readonly enum: readonly ["basic", "pro"];
|
|
295
288
|
};
|
|
289
|
+
readonly region: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
|
|
292
|
+
readonly default: "staging";
|
|
293
|
+
readonly example: "northamerica-central-1";
|
|
294
|
+
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
|
|
295
|
+
};
|
|
296
296
|
readonly version_channel: {
|
|
297
297
|
readonly type: "string";
|
|
298
298
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -346,8 +346,13 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
346
346
|
readonly description: "Containerd version of the cluster.";
|
|
347
347
|
readonly example: "1.7.19";
|
|
348
348
|
};
|
|
349
|
+
readonly nvidia_driver: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
readonly description: "NVIDIA driver version of the cluster.";
|
|
352
|
+
readonly example: "565.0.0";
|
|
353
|
+
};
|
|
349
354
|
};
|
|
350
|
-
readonly required: readonly ["kubernetes", "tailscale", "containerd"];
|
|
355
|
+
readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
|
|
351
356
|
readonly additionalProperties: false;
|
|
352
357
|
readonly description: "Versions of the different components of the cluster.";
|
|
353
358
|
};
|
|
@@ -389,19 +394,19 @@ export declare const ClusterSchema: {
|
|
|
389
394
|
readonly description: "Name of the cluster.";
|
|
390
395
|
readonly example: "production-cluster";
|
|
391
396
|
};
|
|
392
|
-
readonly region: {
|
|
393
|
-
readonly type: "string";
|
|
394
|
-
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
|
|
395
|
-
readonly default: "staging";
|
|
396
|
-
readonly example: "northamerica-central-1";
|
|
397
|
-
readonly enum: readonly ["staging", "northamerica-central-1"];
|
|
398
|
-
};
|
|
399
397
|
readonly tier: {
|
|
400
398
|
readonly type: "string";
|
|
401
399
|
readonly description: "Tier of the cluster.";
|
|
402
400
|
readonly example: "pro";
|
|
403
401
|
readonly enum: readonly ["basic", "pro"];
|
|
404
402
|
};
|
|
403
|
+
readonly region: {
|
|
404
|
+
readonly type: "string";
|
|
405
|
+
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
|
|
406
|
+
readonly default: "staging";
|
|
407
|
+
readonly example: "northamerica-central-1";
|
|
408
|
+
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
|
|
409
|
+
};
|
|
405
410
|
readonly version_channel: {
|
|
406
411
|
readonly type: "string";
|
|
407
412
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -472,6 +477,12 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
472
477
|
readonly description: "Name of the cluster.";
|
|
473
478
|
readonly example: "production-cluster";
|
|
474
479
|
};
|
|
480
|
+
readonly tier: {
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
readonly description: "Tier of the cluster.";
|
|
483
|
+
readonly example: "pro";
|
|
484
|
+
readonly enum: readonly ["basic", "pro"];
|
|
485
|
+
};
|
|
475
486
|
readonly version_channel: {
|
|
476
487
|
readonly type: "string";
|
|
477
488
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
@@ -479,6 +490,7 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
479
490
|
readonly example: "1.29.x-cfke.x";
|
|
480
491
|
};
|
|
481
492
|
};
|
|
493
|
+
readonly required: readonly ["tier"];
|
|
482
494
|
readonly additionalProperties: false;
|
|
483
495
|
};
|
|
484
496
|
export declare const FleetCreateInputSchema: {
|
|
@@ -514,31 +526,19 @@ export declare const FleetCreateInputSchema: {
|
|
|
514
526
|
readonly additionalProperties: false;
|
|
515
527
|
};
|
|
516
528
|
readonly hetzner: {
|
|
517
|
-
readonly
|
|
518
|
-
|
|
519
|
-
readonly
|
|
520
|
-
readonly
|
|
521
|
-
|
|
522
|
-
readonly default: true;
|
|
523
|
-
};
|
|
524
|
-
readonly apiKey: {
|
|
525
|
-
readonly type: "string";
|
|
526
|
-
};
|
|
529
|
+
readonly type: "object";
|
|
530
|
+
readonly properties: {
|
|
531
|
+
readonly enabled: {
|
|
532
|
+
readonly type: "boolean";
|
|
533
|
+
readonly default: true;
|
|
527
534
|
};
|
|
528
|
-
readonly
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
readonly properties: {
|
|
532
|
-
readonly apiKey: {
|
|
533
|
-
readonly type: "string";
|
|
534
|
-
};
|
|
535
|
-
readonly enabled: {
|
|
536
|
-
readonly type: "boolean";
|
|
537
|
-
readonly default: true;
|
|
538
|
-
};
|
|
535
|
+
readonly apiKey: {
|
|
536
|
+
readonly type: "string";
|
|
537
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
539
538
|
};
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
};
|
|
540
|
+
readonly required: readonly ["apiKey"];
|
|
541
|
+
readonly additionalProperties: false;
|
|
542
542
|
};
|
|
543
543
|
readonly aws: {
|
|
544
544
|
readonly type: "object";
|
|
@@ -563,13 +563,8 @@ export declare const FleetCreateInputSchema: {
|
|
|
563
563
|
readonly description: "Unique identifier of the kubernetes fleet.";
|
|
564
564
|
readonly example: "new-clouds-fleet";
|
|
565
565
|
};
|
|
566
|
-
readonly type: {
|
|
567
|
-
readonly type: "string";
|
|
568
|
-
readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
|
|
569
|
-
readonly enum: readonly ["managed", "connected"];
|
|
570
|
-
};
|
|
571
566
|
};
|
|
572
|
-
readonly required: readonly ["id"
|
|
567
|
+
readonly required: readonly ["id"];
|
|
573
568
|
readonly additionalProperties: false;
|
|
574
569
|
};
|
|
575
570
|
export declare const FleetSchema: {
|
|
@@ -605,31 +600,19 @@ export declare const FleetSchema: {
|
|
|
605
600
|
readonly additionalProperties: false;
|
|
606
601
|
};
|
|
607
602
|
readonly hetzner: {
|
|
608
|
-
readonly
|
|
609
|
-
|
|
610
|
-
readonly
|
|
611
|
-
readonly
|
|
612
|
-
|
|
613
|
-
readonly default: true;
|
|
614
|
-
};
|
|
615
|
-
readonly apiKey: {
|
|
616
|
-
readonly type: "string";
|
|
617
|
-
};
|
|
603
|
+
readonly type: "object";
|
|
604
|
+
readonly properties: {
|
|
605
|
+
readonly enabled: {
|
|
606
|
+
readonly type: "boolean";
|
|
607
|
+
readonly default: true;
|
|
618
608
|
};
|
|
619
|
-
readonly
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
readonly properties: {
|
|
623
|
-
readonly apiKey: {
|
|
624
|
-
readonly type: "string";
|
|
625
|
-
};
|
|
626
|
-
readonly enabled: {
|
|
627
|
-
readonly type: "boolean";
|
|
628
|
-
readonly default: true;
|
|
629
|
-
};
|
|
609
|
+
readonly apiKey: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
630
612
|
};
|
|
631
|
-
|
|
632
|
-
|
|
613
|
+
};
|
|
614
|
+
readonly required: readonly ["apiKey"];
|
|
615
|
+
readonly additionalProperties: false;
|
|
633
616
|
};
|
|
634
617
|
readonly aws: {
|
|
635
618
|
readonly type: "object";
|
|
@@ -654,13 +637,8 @@ export declare const FleetSchema: {
|
|
|
654
637
|
readonly description: "Unique identifier of the kubernetes fleet.";
|
|
655
638
|
readonly example: "new-clouds-fleet";
|
|
656
639
|
};
|
|
657
|
-
readonly type: {
|
|
658
|
-
readonly type: "string";
|
|
659
|
-
readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
|
|
660
|
-
readonly enum: readonly ["managed", "connected"];
|
|
661
|
-
};
|
|
662
640
|
};
|
|
663
|
-
readonly required: readonly ["id"
|
|
641
|
+
readonly required: readonly ["id"];
|
|
664
642
|
readonly additionalProperties: false;
|
|
665
643
|
};
|
|
666
644
|
export declare const FleetUpdateInputSchema: {
|
|
@@ -696,31 +674,19 @@ export declare const FleetUpdateInputSchema: {
|
|
|
696
674
|
readonly additionalProperties: false;
|
|
697
675
|
};
|
|
698
676
|
readonly hetzner: {
|
|
699
|
-
readonly
|
|
700
|
-
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
|
|
704
|
-
readonly default: true;
|
|
705
|
-
};
|
|
706
|
-
readonly apiKey: {
|
|
707
|
-
readonly type: "string";
|
|
708
|
-
};
|
|
677
|
+
readonly type: "object";
|
|
678
|
+
readonly properties: {
|
|
679
|
+
readonly enabled: {
|
|
680
|
+
readonly type: "boolean";
|
|
681
|
+
readonly default: true;
|
|
709
682
|
};
|
|
710
|
-
readonly
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly properties: {
|
|
714
|
-
readonly apiKey: {
|
|
715
|
-
readonly type: "string";
|
|
716
|
-
};
|
|
717
|
-
readonly enabled: {
|
|
718
|
-
readonly type: "boolean";
|
|
719
|
-
readonly default: true;
|
|
720
|
-
};
|
|
683
|
+
readonly apiKey: {
|
|
684
|
+
readonly type: "string";
|
|
685
|
+
readonly description: "Hetzner Cloud API key with read / write access";
|
|
721
686
|
};
|
|
722
|
-
|
|
723
|
-
|
|
687
|
+
};
|
|
688
|
+
readonly required: readonly ["apiKey"];
|
|
689
|
+
readonly additionalProperties: false;
|
|
724
690
|
};
|
|
725
691
|
readonly aws: {
|
|
726
692
|
readonly type: "object";
|
|
@@ -1290,12 +1256,6 @@ export declare const OrganizationSchema: {
|
|
|
1290
1256
|
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1291
1257
|
readonly example: 999;
|
|
1292
1258
|
};
|
|
1293
|
-
readonly managed_fleets_cpu_max: {
|
|
1294
|
-
readonly type: "integer";
|
|
1295
|
-
readonly minimum: 0;
|
|
1296
|
-
readonly description: "Maximum number of CPU cores per managed fleet.";
|
|
1297
|
-
readonly example: 999;
|
|
1298
|
-
};
|
|
1299
1259
|
readonly cluster_tiers: {
|
|
1300
1260
|
readonly type: "array";
|
|
1301
1261
|
readonly items: {
|
|
@@ -1337,7 +1297,7 @@ export declare const OrganizationSchema: {
|
|
|
1337
1297
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1338
1298
|
};
|
|
1339
1299
|
};
|
|
1340
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "
|
|
1300
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1341
1301
|
readonly additionalProperties: false;
|
|
1342
1302
|
readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
|
|
1343
1303
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA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A0GrB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDtB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAoBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Fd,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDb,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC"}
|
package/dist/schemas.gen.js
CHANGED
|
@@ -281,19 +281,19 @@ export const ClusterCreateInputSchema = {
|
|
|
281
281
|
description: 'Name of the cluster.',
|
|
282
282
|
example: 'production-cluster'
|
|
283
283
|
},
|
|
284
|
-
region: {
|
|
285
|
-
type: 'string',
|
|
286
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
287
|
-
default: 'staging',
|
|
288
|
-
example: 'northamerica-central-1',
|
|
289
|
-
enum: ['staging', 'northamerica-central-1']
|
|
290
|
-
},
|
|
291
284
|
tier: {
|
|
292
285
|
type: 'string',
|
|
293
286
|
description: 'Tier of the cluster.',
|
|
294
287
|
example: 'pro',
|
|
295
288
|
enum: ['basic', 'pro']
|
|
296
289
|
},
|
|
290
|
+
region: {
|
|
291
|
+
type: 'string',
|
|
292
|
+
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
293
|
+
default: 'staging',
|
|
294
|
+
example: 'northamerica-central-1',
|
|
295
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
|
|
296
|
+
},
|
|
297
297
|
version_channel: {
|
|
298
298
|
type: 'string',
|
|
299
299
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -347,9 +347,14 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
347
347
|
type: 'string',
|
|
348
348
|
description: 'Containerd version of the cluster.',
|
|
349
349
|
example: '1.7.19'
|
|
350
|
+
},
|
|
351
|
+
nvidia_driver: {
|
|
352
|
+
type: 'string',
|
|
353
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
354
|
+
example: '565.0.0'
|
|
350
355
|
}
|
|
351
356
|
},
|
|
352
|
-
required: ['kubernetes', 'tailscale', 'containerd'],
|
|
357
|
+
required: ['kubernetes', 'tailscale', 'containerd', 'nvidia_driver'],
|
|
353
358
|
additionalProperties: false,
|
|
354
359
|
description: 'Versions of the different components of the cluster.'
|
|
355
360
|
},
|
|
@@ -391,19 +396,19 @@ export const ClusterSchema = {
|
|
|
391
396
|
description: 'Name of the cluster.',
|
|
392
397
|
example: 'production-cluster'
|
|
393
398
|
},
|
|
394
|
-
region: {
|
|
395
|
-
type: 'string',
|
|
396
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
397
|
-
default: 'staging',
|
|
398
|
-
example: 'northamerica-central-1',
|
|
399
|
-
enum: ['staging', 'northamerica-central-1']
|
|
400
|
-
},
|
|
401
399
|
tier: {
|
|
402
400
|
type: 'string',
|
|
403
401
|
description: 'Tier of the cluster.',
|
|
404
402
|
example: 'pro',
|
|
405
403
|
enum: ['basic', 'pro']
|
|
406
404
|
},
|
|
405
|
+
region: {
|
|
406
|
+
type: 'string',
|
|
407
|
+
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
408
|
+
default: 'staging',
|
|
409
|
+
example: 'northamerica-central-1',
|
|
410
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
|
|
411
|
+
},
|
|
407
412
|
version_channel: {
|
|
408
413
|
type: 'string',
|
|
409
414
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -478,6 +483,12 @@ export const ClusterUpdateInputSchema = {
|
|
|
478
483
|
description: 'Name of the cluster.',
|
|
479
484
|
example: 'production-cluster'
|
|
480
485
|
},
|
|
486
|
+
tier: {
|
|
487
|
+
type: 'string',
|
|
488
|
+
description: 'Tier of the cluster.',
|
|
489
|
+
example: 'pro',
|
|
490
|
+
enum: ['basic', 'pro']
|
|
491
|
+
},
|
|
481
492
|
version_channel: {
|
|
482
493
|
type: 'string',
|
|
483
494
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -485,6 +496,7 @@ export const ClusterUpdateInputSchema = {
|
|
|
485
496
|
example: '1.29.x-cfke.x'
|
|
486
497
|
}
|
|
487
498
|
},
|
|
499
|
+
required: ['tier'],
|
|
488
500
|
additionalProperties: false
|
|
489
501
|
};
|
|
490
502
|
export const FleetCreateInputSchema = {
|
|
@@ -520,34 +532,19 @@ export const FleetCreateInputSchema = {
|
|
|
520
532
|
additionalProperties: false
|
|
521
533
|
},
|
|
522
534
|
hetzner: {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
type: 'boolean',
|
|
529
|
-
default: true
|
|
530
|
-
},
|
|
531
|
-
apiKey: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
additionalProperties: false
|
|
535
|
+
type: 'object',
|
|
536
|
+
properties: {
|
|
537
|
+
enabled: {
|
|
538
|
+
type: 'boolean',
|
|
539
|
+
default: true
|
|
536
540
|
},
|
|
537
|
-
{
|
|
538
|
-
type: '
|
|
539
|
-
|
|
540
|
-
apiKey: {
|
|
541
|
-
type: 'string'
|
|
542
|
-
},
|
|
543
|
-
enabled: {
|
|
544
|
-
type: 'boolean',
|
|
545
|
-
default: true
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
additionalProperties: false
|
|
541
|
+
apiKey: {
|
|
542
|
+
type: 'string',
|
|
543
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
549
544
|
}
|
|
550
|
-
|
|
545
|
+
},
|
|
546
|
+
required: ['apiKey'],
|
|
547
|
+
additionalProperties: false
|
|
551
548
|
},
|
|
552
549
|
aws: {
|
|
553
550
|
type: 'object',
|
|
@@ -571,14 +568,9 @@ export const FleetCreateInputSchema = {
|
|
|
571
568
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
572
569
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
573
570
|
example: 'new-clouds-fleet'
|
|
574
|
-
},
|
|
575
|
-
type: {
|
|
576
|
-
type: 'string',
|
|
577
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
578
|
-
enum: ['managed', 'connected']
|
|
579
571
|
}
|
|
580
572
|
},
|
|
581
|
-
required: ['id'
|
|
573
|
+
required: ['id'],
|
|
582
574
|
additionalProperties: false
|
|
583
575
|
};
|
|
584
576
|
export const FleetSchema = {
|
|
@@ -614,34 +606,19 @@ export const FleetSchema = {
|
|
|
614
606
|
additionalProperties: false
|
|
615
607
|
},
|
|
616
608
|
hetzner: {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
type: 'boolean',
|
|
623
|
-
default: true
|
|
624
|
-
},
|
|
625
|
-
apiKey: {
|
|
626
|
-
type: 'string'
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
additionalProperties: false
|
|
609
|
+
type: 'object',
|
|
610
|
+
properties: {
|
|
611
|
+
enabled: {
|
|
612
|
+
type: 'boolean',
|
|
613
|
+
default: true
|
|
630
614
|
},
|
|
631
|
-
{
|
|
632
|
-
type: '
|
|
633
|
-
|
|
634
|
-
apiKey: {
|
|
635
|
-
type: 'string'
|
|
636
|
-
},
|
|
637
|
-
enabled: {
|
|
638
|
-
type: 'boolean',
|
|
639
|
-
default: true
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
additionalProperties: false
|
|
615
|
+
apiKey: {
|
|
616
|
+
type: 'string',
|
|
617
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
643
618
|
}
|
|
644
|
-
|
|
619
|
+
},
|
|
620
|
+
required: ['apiKey'],
|
|
621
|
+
additionalProperties: false
|
|
645
622
|
},
|
|
646
623
|
aws: {
|
|
647
624
|
type: 'object',
|
|
@@ -665,14 +642,9 @@ export const FleetSchema = {
|
|
|
665
642
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
666
643
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
667
644
|
example: 'new-clouds-fleet'
|
|
668
|
-
},
|
|
669
|
-
type: {
|
|
670
|
-
type: 'string',
|
|
671
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
672
|
-
enum: ['managed', 'connected']
|
|
673
645
|
}
|
|
674
646
|
},
|
|
675
|
-
required: ['id'
|
|
647
|
+
required: ['id'],
|
|
676
648
|
additionalProperties: false
|
|
677
649
|
};
|
|
678
650
|
export const FleetUpdateInputSchema = {
|
|
@@ -708,34 +680,19 @@ export const FleetUpdateInputSchema = {
|
|
|
708
680
|
additionalProperties: false
|
|
709
681
|
},
|
|
710
682
|
hetzner: {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
type: 'boolean',
|
|
717
|
-
default: true
|
|
718
|
-
},
|
|
719
|
-
apiKey: {
|
|
720
|
-
type: 'string'
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
additionalProperties: false
|
|
683
|
+
type: 'object',
|
|
684
|
+
properties: {
|
|
685
|
+
enabled: {
|
|
686
|
+
type: 'boolean',
|
|
687
|
+
default: true
|
|
724
688
|
},
|
|
725
|
-
{
|
|
726
|
-
type: '
|
|
727
|
-
|
|
728
|
-
apiKey: {
|
|
729
|
-
type: 'string'
|
|
730
|
-
},
|
|
731
|
-
enabled: {
|
|
732
|
-
type: 'boolean',
|
|
733
|
-
default: true
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
additionalProperties: false
|
|
689
|
+
apiKey: {
|
|
690
|
+
type: 'string',
|
|
691
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
737
692
|
}
|
|
738
|
-
|
|
693
|
+
},
|
|
694
|
+
required: ['apiKey'],
|
|
695
|
+
additionalProperties: false
|
|
739
696
|
},
|
|
740
697
|
aws: {
|
|
741
698
|
type: 'object',
|
|
@@ -1318,12 +1275,6 @@ export const OrganizationSchema = {
|
|
|
1318
1275
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1319
1276
|
example: 999
|
|
1320
1277
|
},
|
|
1321
|
-
managed_fleets_cpu_max: {
|
|
1322
|
-
type: 'integer',
|
|
1323
|
-
minimum: 0,
|
|
1324
|
-
description: 'Maximum number of CPU cores per managed fleet.',
|
|
1325
|
-
example: 999
|
|
1326
|
-
},
|
|
1327
1278
|
cluster_tiers: {
|
|
1328
1279
|
type: 'array',
|
|
1329
1280
|
items: {
|
|
@@ -1365,7 +1316,7 @@ export const OrganizationSchema = {
|
|
|
1365
1316
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1366
1317
|
}
|
|
1367
1318
|
},
|
|
1368
|
-
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', '
|
|
1319
|
+
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions'],
|
|
1369
1320
|
additionalProperties: false,
|
|
1370
1321
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1371
1322
|
},
|