@cloudfleet/sdk 0.9.6 → 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/dist/schemas.gen.d.ts +207 -41
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +932 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/types.gen.d.ts +109 -33
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1741 -49
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +719 -22
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -416,13 +416,24 @@ export declare const ClusterSchema: {
|
|
|
416
416
|
readonly anyOf: readonly [{
|
|
417
417
|
readonly type: "string";
|
|
418
418
|
readonly format: "uri";
|
|
419
|
-
readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
419
|
+
readonly description: "URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)";
|
|
420
420
|
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
|
|
421
421
|
}, {
|
|
422
422
|
readonly type: "string";
|
|
423
423
|
readonly enum: readonly [""];
|
|
424
424
|
}];
|
|
425
425
|
};
|
|
426
|
+
readonly endpoint_public: {
|
|
427
|
+
readonly anyOf: readonly [{
|
|
428
|
+
readonly type: "string";
|
|
429
|
+
readonly format: "uri";
|
|
430
|
+
readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
|
|
431
|
+
readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly enum: readonly [""];
|
|
435
|
+
}];
|
|
436
|
+
};
|
|
426
437
|
readonly certificate_ca: {
|
|
427
438
|
readonly type: "string";
|
|
428
439
|
readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
|
|
@@ -492,13 +503,12 @@ export declare const FleetCreateInputSchema: {
|
|
|
492
503
|
readonly type: "object";
|
|
493
504
|
readonly properties: {
|
|
494
505
|
readonly cpu: {
|
|
495
|
-
readonly type: "
|
|
496
|
-
readonly format: "float";
|
|
506
|
+
readonly type: "integer";
|
|
497
507
|
readonly minimum: 0;
|
|
498
|
-
readonly
|
|
508
|
+
readonly maximum: 100000;
|
|
509
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
499
510
|
};
|
|
500
511
|
};
|
|
501
|
-
readonly required: readonly ["cpu"];
|
|
502
512
|
readonly additionalProperties: false;
|
|
503
513
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
504
514
|
};
|
|
@@ -507,14 +517,15 @@ export declare const FleetCreateInputSchema: {
|
|
|
507
517
|
readonly properties: {
|
|
508
518
|
readonly enabled: {
|
|
509
519
|
readonly type: "boolean";
|
|
510
|
-
readonly default: true;
|
|
511
520
|
};
|
|
512
521
|
readonly project: {
|
|
513
522
|
readonly type: "string";
|
|
514
|
-
readonly
|
|
523
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
524
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
525
|
+
readonly example: "my-cloudfleet-project";
|
|
515
526
|
};
|
|
516
527
|
};
|
|
517
|
-
readonly required: readonly ["
|
|
528
|
+
readonly required: readonly ["enabled"];
|
|
518
529
|
readonly additionalProperties: false;
|
|
519
530
|
};
|
|
520
531
|
readonly hetzner: {
|
|
@@ -522,14 +533,16 @@ export declare const FleetCreateInputSchema: {
|
|
|
522
533
|
readonly properties: {
|
|
523
534
|
readonly enabled: {
|
|
524
535
|
readonly type: "boolean";
|
|
525
|
-
readonly default: true;
|
|
526
536
|
};
|
|
527
537
|
readonly apiKey: {
|
|
528
538
|
readonly type: "string";
|
|
529
|
-
readonly
|
|
539
|
+
readonly maxLength: 64;
|
|
540
|
+
readonly minLength: 64;
|
|
541
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
542
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
530
543
|
};
|
|
531
544
|
};
|
|
532
|
-
readonly required: readonly ["
|
|
545
|
+
readonly required: readonly ["enabled"];
|
|
533
546
|
readonly additionalProperties: false;
|
|
534
547
|
};
|
|
535
548
|
readonly aws: {
|
|
@@ -537,16 +550,67 @@ export declare const FleetCreateInputSchema: {
|
|
|
537
550
|
readonly properties: {
|
|
538
551
|
readonly enabled: {
|
|
539
552
|
readonly type: "boolean";
|
|
540
|
-
readonly default: true;
|
|
541
553
|
};
|
|
542
554
|
readonly controllerRoleArn: {
|
|
543
555
|
readonly type: "string";
|
|
544
|
-
readonly
|
|
556
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
557
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
558
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
545
559
|
};
|
|
546
560
|
};
|
|
547
|
-
readonly required: readonly ["
|
|
561
|
+
readonly required: readonly ["enabled"];
|
|
548
562
|
readonly additionalProperties: false;
|
|
549
563
|
};
|
|
564
|
+
readonly constraints: {
|
|
565
|
+
readonly type: "object";
|
|
566
|
+
readonly properties: {
|
|
567
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
568
|
+
readonly type: "array";
|
|
569
|
+
readonly items: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
572
|
+
};
|
|
573
|
+
readonly minItems: 1;
|
|
574
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
575
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
576
|
+
};
|
|
577
|
+
readonly 'kubernetes.io/arch': {
|
|
578
|
+
readonly type: "array";
|
|
579
|
+
readonly items: {
|
|
580
|
+
readonly type: "string";
|
|
581
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
582
|
+
};
|
|
583
|
+
readonly minItems: 1;
|
|
584
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
585
|
+
readonly default: readonly ["amd64"];
|
|
586
|
+
};
|
|
587
|
+
readonly 'cfke.io/instance-family': {
|
|
588
|
+
readonly type: "array";
|
|
589
|
+
readonly items: {
|
|
590
|
+
readonly type: "string";
|
|
591
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
592
|
+
};
|
|
593
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
594
|
+
};
|
|
595
|
+
readonly 'topology.kubernetes.io/region': {
|
|
596
|
+
readonly type: "array";
|
|
597
|
+
readonly items: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
600
|
+
};
|
|
601
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
readonly additionalProperties: false;
|
|
605
|
+
readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
|
|
606
|
+
};
|
|
607
|
+
readonly scalingProfile: {
|
|
608
|
+
readonly type: "string";
|
|
609
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
610
|
+
readonly default: "conservative";
|
|
611
|
+
readonly example: "conservative";
|
|
612
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
613
|
+
};
|
|
550
614
|
readonly id: {
|
|
551
615
|
readonly type: "string";
|
|
552
616
|
readonly maxLength: 63;
|
|
@@ -566,13 +630,12 @@ export declare const FleetSchema: {
|
|
|
566
630
|
readonly type: "object";
|
|
567
631
|
readonly properties: {
|
|
568
632
|
readonly cpu: {
|
|
569
|
-
readonly type: "
|
|
570
|
-
readonly format: "float";
|
|
633
|
+
readonly type: "integer";
|
|
571
634
|
readonly minimum: 0;
|
|
572
|
-
readonly
|
|
635
|
+
readonly maximum: 100000;
|
|
636
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
573
637
|
};
|
|
574
638
|
};
|
|
575
|
-
readonly required: readonly ["cpu"];
|
|
576
639
|
readonly additionalProperties: false;
|
|
577
640
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
578
641
|
};
|
|
@@ -581,14 +644,15 @@ export declare const FleetSchema: {
|
|
|
581
644
|
readonly properties: {
|
|
582
645
|
readonly enabled: {
|
|
583
646
|
readonly type: "boolean";
|
|
584
|
-
readonly default: true;
|
|
585
647
|
};
|
|
586
648
|
readonly project: {
|
|
587
649
|
readonly type: "string";
|
|
588
|
-
readonly
|
|
650
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
651
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
652
|
+
readonly example: "my-cloudfleet-project";
|
|
589
653
|
};
|
|
590
654
|
};
|
|
591
|
-
readonly required: readonly ["
|
|
655
|
+
readonly required: readonly ["enabled"];
|
|
592
656
|
readonly additionalProperties: false;
|
|
593
657
|
};
|
|
594
658
|
readonly hetzner: {
|
|
@@ -596,14 +660,14 @@ export declare const FleetSchema: {
|
|
|
596
660
|
readonly properties: {
|
|
597
661
|
readonly enabled: {
|
|
598
662
|
readonly type: "boolean";
|
|
599
|
-
readonly default: true;
|
|
600
663
|
};
|
|
601
664
|
readonly apiKey: {
|
|
602
665
|
readonly type: "string";
|
|
603
|
-
readonly
|
|
666
|
+
readonly pattern: "^\\*{64}$";
|
|
667
|
+
readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
|
|
604
668
|
};
|
|
605
669
|
};
|
|
606
|
-
readonly required: readonly ["
|
|
670
|
+
readonly required: readonly ["enabled"];
|
|
607
671
|
readonly additionalProperties: false;
|
|
608
672
|
};
|
|
609
673
|
readonly aws: {
|
|
@@ -611,16 +675,67 @@ export declare const FleetSchema: {
|
|
|
611
675
|
readonly properties: {
|
|
612
676
|
readonly enabled: {
|
|
613
677
|
readonly type: "boolean";
|
|
614
|
-
readonly default: true;
|
|
615
678
|
};
|
|
616
679
|
readonly controllerRoleArn: {
|
|
617
680
|
readonly type: "string";
|
|
618
|
-
readonly
|
|
681
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
682
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
683
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
619
684
|
};
|
|
620
685
|
};
|
|
621
|
-
readonly required: readonly ["
|
|
686
|
+
readonly required: readonly ["enabled"];
|
|
622
687
|
readonly additionalProperties: false;
|
|
623
688
|
};
|
|
689
|
+
readonly constraints: {
|
|
690
|
+
readonly type: "object";
|
|
691
|
+
readonly properties: {
|
|
692
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
693
|
+
readonly type: "array";
|
|
694
|
+
readonly items: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
697
|
+
};
|
|
698
|
+
readonly minItems: 1;
|
|
699
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
700
|
+
readonly default: readonly ["on-demand", "spot"];
|
|
701
|
+
};
|
|
702
|
+
readonly 'kubernetes.io/arch': {
|
|
703
|
+
readonly type: "array";
|
|
704
|
+
readonly items: {
|
|
705
|
+
readonly type: "string";
|
|
706
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
707
|
+
};
|
|
708
|
+
readonly minItems: 1;
|
|
709
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
710
|
+
readonly default: readonly ["amd64"];
|
|
711
|
+
};
|
|
712
|
+
readonly 'cfke.io/instance-family': {
|
|
713
|
+
readonly type: "array";
|
|
714
|
+
readonly items: {
|
|
715
|
+
readonly type: "string";
|
|
716
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
717
|
+
};
|
|
718
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
719
|
+
};
|
|
720
|
+
readonly 'topology.kubernetes.io/region': {
|
|
721
|
+
readonly type: "array";
|
|
722
|
+
readonly items: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
725
|
+
};
|
|
726
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
readonly additionalProperties: false;
|
|
730
|
+
readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
|
|
731
|
+
};
|
|
732
|
+
readonly scalingProfile: {
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
735
|
+
readonly default: "conservative";
|
|
736
|
+
readonly example: "conservative";
|
|
737
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
738
|
+
};
|
|
624
739
|
readonly id: {
|
|
625
740
|
readonly type: "string";
|
|
626
741
|
readonly maxLength: 63;
|
|
@@ -630,7 +745,7 @@ export declare const FleetSchema: {
|
|
|
630
745
|
readonly example: "new-clouds-fleet";
|
|
631
746
|
};
|
|
632
747
|
};
|
|
633
|
-
readonly required: readonly ["id"];
|
|
748
|
+
readonly required: readonly ["scalingProfile", "id"];
|
|
634
749
|
readonly additionalProperties: false;
|
|
635
750
|
};
|
|
636
751
|
export declare const FleetUpdateInputSchema: {
|
|
@@ -640,13 +755,12 @@ export declare const FleetUpdateInputSchema: {
|
|
|
640
755
|
readonly type: "object";
|
|
641
756
|
readonly properties: {
|
|
642
757
|
readonly cpu: {
|
|
643
|
-
readonly type: "
|
|
644
|
-
readonly format: "float";
|
|
758
|
+
readonly type: "integer";
|
|
645
759
|
readonly minimum: 0;
|
|
646
|
-
readonly
|
|
760
|
+
readonly maximum: 100000;
|
|
761
|
+
readonly description: "CPU limit in cores. Maximum 100,000.";
|
|
647
762
|
};
|
|
648
763
|
};
|
|
649
|
-
readonly required: readonly ["cpu"];
|
|
650
764
|
readonly additionalProperties: false;
|
|
651
765
|
readonly description: "Limits define a set of bounds for provisioning capacity.";
|
|
652
766
|
};
|
|
@@ -655,14 +769,15 @@ export declare const FleetUpdateInputSchema: {
|
|
|
655
769
|
readonly properties: {
|
|
656
770
|
readonly enabled: {
|
|
657
771
|
readonly type: "boolean";
|
|
658
|
-
readonly default: true;
|
|
659
772
|
};
|
|
660
773
|
readonly project: {
|
|
661
774
|
readonly type: "string";
|
|
662
|
-
readonly
|
|
775
|
+
readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
|
|
776
|
+
readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
|
|
777
|
+
readonly example: "my-cloudfleet-project";
|
|
663
778
|
};
|
|
664
779
|
};
|
|
665
|
-
readonly required: readonly ["
|
|
780
|
+
readonly required: readonly ["enabled"];
|
|
666
781
|
readonly additionalProperties: false;
|
|
667
782
|
};
|
|
668
783
|
readonly hetzner: {
|
|
@@ -670,14 +785,16 @@ export declare const FleetUpdateInputSchema: {
|
|
|
670
785
|
readonly properties: {
|
|
671
786
|
readonly enabled: {
|
|
672
787
|
readonly type: "boolean";
|
|
673
|
-
readonly default: true;
|
|
674
788
|
};
|
|
675
789
|
readonly apiKey: {
|
|
676
790
|
readonly type: "string";
|
|
677
|
-
readonly
|
|
791
|
+
readonly maxLength: 64;
|
|
792
|
+
readonly minLength: 64;
|
|
793
|
+
readonly pattern: "^[A-Za-z0-9]+$";
|
|
794
|
+
readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
|
|
678
795
|
};
|
|
679
796
|
};
|
|
680
|
-
readonly required: readonly ["
|
|
797
|
+
readonly required: readonly ["enabled"];
|
|
681
798
|
readonly additionalProperties: false;
|
|
682
799
|
};
|
|
683
800
|
readonly aws: {
|
|
@@ -685,17 +802,66 @@ export declare const FleetUpdateInputSchema: {
|
|
|
685
802
|
readonly properties: {
|
|
686
803
|
readonly enabled: {
|
|
687
804
|
readonly type: "boolean";
|
|
688
|
-
readonly default: true;
|
|
689
805
|
};
|
|
690
806
|
readonly controllerRoleArn: {
|
|
691
807
|
readonly type: "string";
|
|
692
|
-
readonly
|
|
808
|
+
readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
|
|
809
|
+
readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
|
|
810
|
+
readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
readonly required: readonly ["enabled"];
|
|
814
|
+
readonly additionalProperties: false;
|
|
815
|
+
};
|
|
816
|
+
readonly constraints: {
|
|
817
|
+
readonly type: "object";
|
|
818
|
+
readonly properties: {
|
|
819
|
+
readonly 'karpenter.sh/capacity-type': {
|
|
820
|
+
readonly type: "array";
|
|
821
|
+
readonly items: {
|
|
822
|
+
readonly type: "string";
|
|
823
|
+
readonly enum: readonly ["on-demand", "spot"];
|
|
824
|
+
};
|
|
825
|
+
readonly minItems: 1;
|
|
826
|
+
readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
|
|
827
|
+
};
|
|
828
|
+
readonly 'kubernetes.io/arch': {
|
|
829
|
+
readonly type: "array";
|
|
830
|
+
readonly items: {
|
|
831
|
+
readonly type: "string";
|
|
832
|
+
readonly enum: readonly ["amd64", "arm64"];
|
|
833
|
+
};
|
|
834
|
+
readonly minItems: 1;
|
|
835
|
+
readonly description: "Allowed values for `kubernetes.io/arch`.";
|
|
836
|
+
};
|
|
837
|
+
readonly 'cfke.io/instance-family': {
|
|
838
|
+
readonly type: "array";
|
|
839
|
+
readonly items: {
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
|
|
842
|
+
};
|
|
843
|
+
readonly description: "Allowed values for `cfke.io/instance-family`.";
|
|
844
|
+
};
|
|
845
|
+
readonly 'topology.kubernetes.io/region': {
|
|
846
|
+
readonly type: "array";
|
|
847
|
+
readonly items: {
|
|
848
|
+
readonly type: "string";
|
|
849
|
+
readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
850
|
+
};
|
|
851
|
+
readonly description: "Allowed values for `topology.kubernetes.io/region`.";
|
|
693
852
|
};
|
|
694
853
|
};
|
|
695
|
-
readonly required: readonly ["controllerRoleArn"];
|
|
696
854
|
readonly additionalProperties: false;
|
|
855
|
+
readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
|
|
856
|
+
};
|
|
857
|
+
readonly scalingProfile: {
|
|
858
|
+
readonly type: "string";
|
|
859
|
+
readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
|
|
860
|
+
readonly example: "conservative";
|
|
861
|
+
readonly enum: readonly ["aggressive", "conservative"];
|
|
697
862
|
};
|
|
698
863
|
};
|
|
864
|
+
readonly required: readonly ["scalingProfile"];
|
|
699
865
|
readonly additionalProperties: false;
|
|
700
866
|
};
|
|
701
867
|
export declare const InviteSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC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