@cloudfleet/sdk 0.7.0 → 0.8.6
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 +501 -121
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +514 -141
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +43 -5
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +72 -5
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +508 -52
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +257 -104
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +192 -63
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -285,7 +285,8 @@ export declare const ClusterCreateInputSchema: {
|
|
|
285
285
|
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-]+)*))?$";
|
|
286
286
|
readonly description: "Version of the kubernetes cluster.";
|
|
287
287
|
readonly default: "1.x.x-cfke.x";
|
|
288
|
-
readonly example: "1.
|
|
288
|
+
readonly example: "1.x.x-cfke.x";
|
|
289
|
+
readonly enum: readonly ["1.x.x-cfke.x", "1.31.x-cfke.x", "1.32.x-cfke.x", "1.33.x-cfke.x"];
|
|
289
290
|
};
|
|
290
291
|
};
|
|
291
292
|
readonly required: readonly ["name", "tier"];
|
|
@@ -321,7 +322,7 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
321
322
|
readonly kubernetes: {
|
|
322
323
|
readonly type: "string";
|
|
323
324
|
readonly description: "Kubernetes version of the cluster.";
|
|
324
|
-
readonly example: "1.
|
|
325
|
+
readonly example: "1.33.7";
|
|
325
326
|
};
|
|
326
327
|
readonly tailscale: {
|
|
327
328
|
readonly type: "string";
|
|
@@ -394,13 +395,6 @@ export declare const ClusterSchema: {
|
|
|
394
395
|
readonly example: "northamerica-central-1a";
|
|
395
396
|
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
|
|
396
397
|
};
|
|
397
|
-
readonly version_channel: {
|
|
398
|
-
readonly type: "string";
|
|
399
|
-
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-]+)*))?$";
|
|
400
|
-
readonly description: "Version of the kubernetes cluster.";
|
|
401
|
-
readonly default: "1.x.x-cfke.x";
|
|
402
|
-
readonly example: "1.29.x-cfke.x";
|
|
403
|
-
};
|
|
404
398
|
readonly id: {
|
|
405
399
|
readonly type: "string";
|
|
406
400
|
readonly format: "uuid";
|
|
@@ -432,7 +426,7 @@ export declare const ClusterSchema: {
|
|
|
432
426
|
readonly version_current: {
|
|
433
427
|
readonly type: "string";
|
|
434
428
|
readonly description: "Current version of the cluster.";
|
|
435
|
-
readonly example: "1.
|
|
429
|
+
readonly example: "1.33.7-cfke.264";
|
|
436
430
|
};
|
|
437
431
|
readonly created_at: {
|
|
438
432
|
readonly type: "string";
|
|
@@ -449,6 +443,12 @@ export declare const ClusterSchema: {
|
|
|
449
443
|
readonly description: "Indicates if the cluster is ready to be used.";
|
|
450
444
|
readonly example: true;
|
|
451
445
|
};
|
|
446
|
+
readonly version_channel: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
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-]+)*))?$";
|
|
449
|
+
readonly description: "Version of the kubernetes cluster.";
|
|
450
|
+
readonly example: "1.x.x-cfke.x";
|
|
451
|
+
};
|
|
452
452
|
};
|
|
453
453
|
readonly required: readonly ["name", "tier", "id", "status"];
|
|
454
454
|
readonly additionalProperties: false;
|
|
@@ -474,7 +474,7 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
474
474
|
readonly type: "string";
|
|
475
475
|
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-]+)*))?$";
|
|
476
476
|
readonly description: "Version of the kubernetes cluster.";
|
|
477
|
-
readonly example: "1.
|
|
477
|
+
readonly example: "1.x.x-cfke.x";
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
480
|
readonly required: readonly ["tier"];
|
|
@@ -781,86 +781,137 @@ export declare const InvoiceSchema: {
|
|
|
781
781
|
readonly required: readonly ["created", "period_start", "period_end"];
|
|
782
782
|
readonly additionalProperties: false;
|
|
783
783
|
};
|
|
784
|
-
export declare const
|
|
784
|
+
export declare const MarketplaceListingFilesSchema: {
|
|
785
785
|
readonly type: "object";
|
|
786
786
|
readonly properties: {
|
|
787
|
-
readonly
|
|
787
|
+
readonly chartYaml: {
|
|
788
788
|
readonly type: "string";
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
791
|
-
readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
|
|
792
|
-
readonly description: "Id of the chart listing";
|
|
793
|
-
readonly example: "portworx-enterprise-disaster-recovery-baremetal";
|
|
789
|
+
readonly description: "Raw Chart.yaml content from the Helm chart";
|
|
790
|
+
readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
|
|
794
791
|
};
|
|
795
|
-
readonly
|
|
792
|
+
readonly valuesYaml: {
|
|
796
793
|
readonly type: "string";
|
|
797
|
-
readonly description: "
|
|
798
|
-
readonly example: "
|
|
794
|
+
readonly description: "Raw values.yaml content from the Helm chart";
|
|
795
|
+
readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
|
|
799
796
|
};
|
|
800
|
-
readonly
|
|
797
|
+
readonly valuesSchemaJson: {
|
|
801
798
|
readonly type: "string";
|
|
802
|
-
readonly description: "
|
|
803
|
-
readonly example: "
|
|
799
|
+
readonly description: "JSON schema for values.yaml as a string";
|
|
800
|
+
readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
|
|
804
801
|
};
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
readonly description: "Logo of the chart listing";
|
|
813
|
-
readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
|
|
814
|
-
};
|
|
815
|
-
readonly longDescription: {
|
|
802
|
+
};
|
|
803
|
+
readonly additionalProperties: false;
|
|
804
|
+
};
|
|
805
|
+
export declare const MarketplaceListingSchema: {
|
|
806
|
+
readonly type: "object";
|
|
807
|
+
readonly properties: {
|
|
808
|
+
readonly name: {
|
|
816
809
|
readonly type: "string";
|
|
817
|
-
readonly description: "
|
|
818
|
-
readonly example: "
|
|
810
|
+
readonly description: "Name of the chart";
|
|
811
|
+
readonly example: "nginx-ingress";
|
|
819
812
|
};
|
|
820
|
-
readonly
|
|
813
|
+
readonly versions: {
|
|
821
814
|
readonly type: "array";
|
|
822
815
|
readonly items: {
|
|
823
816
|
readonly type: "string";
|
|
824
|
-
readonly
|
|
817
|
+
readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(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-]+)*))?$";
|
|
818
|
+
readonly description: "Specific version of the chart";
|
|
819
|
+
readonly example: "1.18.2-cfke.45";
|
|
825
820
|
};
|
|
826
|
-
readonly description: "
|
|
821
|
+
readonly description: "Available versions of the chart";
|
|
827
822
|
};
|
|
828
823
|
readonly version_channels: {
|
|
829
824
|
readonly type: "array";
|
|
830
825
|
readonly items: {
|
|
831
826
|
readonly type: "string";
|
|
832
827
|
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-]+)*))?$";
|
|
833
|
-
readonly description: "Version
|
|
834
|
-
readonly example: "
|
|
828
|
+
readonly description: "Version channel pattern";
|
|
829
|
+
readonly example: "1.18.x-cfke.x";
|
|
835
830
|
};
|
|
831
|
+
readonly description: "Version channels for the chart";
|
|
836
832
|
};
|
|
837
|
-
readonly
|
|
838
|
-
readonly type: "
|
|
839
|
-
readonly
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
833
|
+
readonly latestVersion: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
readonly description: "Latest version of the chart";
|
|
836
|
+
readonly example: "1.18.2-cfke.45";
|
|
837
|
+
};
|
|
838
|
+
readonly metadata: {
|
|
839
|
+
readonly type: "object";
|
|
840
|
+
readonly properties: {
|
|
841
|
+
readonly name: {
|
|
842
|
+
readonly type: "string";
|
|
843
|
+
readonly description: "Chart name from metadata";
|
|
844
|
+
readonly example: "nginx-ingress";
|
|
845
|
+
};
|
|
846
|
+
readonly version: {
|
|
847
|
+
readonly type: "string";
|
|
848
|
+
readonly description: "Chart version from metadata";
|
|
849
|
+
readonly example: "1.18.2-cfke.45";
|
|
850
|
+
};
|
|
851
|
+
readonly description: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
readonly description: "Chart description";
|
|
854
|
+
readonly example: "NGINX Ingress Controller for Kubernetes";
|
|
855
|
+
};
|
|
856
|
+
readonly appVersion: {
|
|
857
|
+
readonly type: "string";
|
|
858
|
+
readonly description: "Application version";
|
|
859
|
+
readonly example: "1.9.4";
|
|
860
|
+
};
|
|
861
|
+
readonly apiVersion: {
|
|
862
|
+
readonly type: "string";
|
|
863
|
+
readonly description: "Helm API version";
|
|
864
|
+
readonly example: "v2";
|
|
865
|
+
};
|
|
866
|
+
readonly keywords: {
|
|
867
|
+
readonly type: "array";
|
|
868
|
+
readonly items: {
|
|
843
869
|
readonly type: "string";
|
|
844
|
-
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-]+)*))?$";
|
|
845
|
-
readonly description: "Version of the chart.";
|
|
846
|
-
readonly example: "2.1.1-cfke.123";
|
|
847
870
|
};
|
|
848
|
-
readonly
|
|
871
|
+
readonly description: "Chart keywords";
|
|
872
|
+
readonly example: readonly ["ingress", "nginx", "load-balancer"];
|
|
873
|
+
};
|
|
874
|
+
readonly home: {
|
|
875
|
+
readonly type: "string";
|
|
876
|
+
readonly description: "Chart home URL";
|
|
877
|
+
readonly example: "https://kubernetes.github.io/ingress-nginx/";
|
|
878
|
+
};
|
|
879
|
+
readonly sources: {
|
|
880
|
+
readonly type: "array";
|
|
881
|
+
readonly items: {
|
|
849
882
|
readonly type: "string";
|
|
850
|
-
readonly description: "Schema of the chart values. JSON Schema as string";
|
|
851
883
|
};
|
|
852
|
-
readonly
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
884
|
+
readonly description: "Chart source URLs";
|
|
885
|
+
readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
|
|
886
|
+
};
|
|
887
|
+
readonly maintainers: {
|
|
888
|
+
readonly type: "array";
|
|
889
|
+
readonly items: {
|
|
890
|
+
readonly type: "object";
|
|
891
|
+
readonly properties: {
|
|
892
|
+
readonly name: {
|
|
893
|
+
readonly type: "string";
|
|
894
|
+
readonly description: "Maintainer name";
|
|
895
|
+
readonly example: "NGINX Team";
|
|
896
|
+
};
|
|
897
|
+
readonly email: {
|
|
898
|
+
readonly type: "string";
|
|
899
|
+
readonly description: "Maintainer email";
|
|
900
|
+
readonly example: "support@nginx.org";
|
|
901
|
+
};
|
|
902
|
+
};
|
|
903
|
+
readonly required: readonly ["name"];
|
|
904
|
+
readonly additionalProperties: false;
|
|
856
905
|
};
|
|
906
|
+
readonly description: "Chart maintainers";
|
|
857
907
|
};
|
|
858
|
-
readonly required: readonly ["version", "schema", "placeholder"];
|
|
859
|
-
readonly additionalProperties: false;
|
|
860
908
|
};
|
|
909
|
+
readonly required: readonly ["name", "version"];
|
|
910
|
+
readonly additionalProperties: false;
|
|
911
|
+
readonly description: "Chart metadata";
|
|
861
912
|
};
|
|
862
913
|
};
|
|
863
|
-
readonly required: readonly ["
|
|
914
|
+
readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
|
|
864
915
|
readonly additionalProperties: false;
|
|
865
916
|
};
|
|
866
917
|
export declare const OrganizationCreateInputSchema: {
|
|
@@ -978,12 +1029,12 @@ export declare const OrganizationSchema: {
|
|
|
978
1029
|
readonly id: {
|
|
979
1030
|
readonly type: "string";
|
|
980
1031
|
readonly description: "Id of the control plane version. Used in API calls.";
|
|
981
|
-
readonly example: "1.
|
|
1032
|
+
readonly example: "1.33.x-cfke.x";
|
|
982
1033
|
};
|
|
983
1034
|
readonly label: {
|
|
984
1035
|
readonly type: "string";
|
|
985
1036
|
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
986
|
-
readonly example: "1.
|
|
1037
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
987
1038
|
};
|
|
988
1039
|
};
|
|
989
1040
|
readonly required: readonly ["id", "label"];
|
|
@@ -992,8 +1043,20 @@ export declare const OrganizationSchema: {
|
|
|
992
1043
|
readonly minItems: 1;
|
|
993
1044
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
994
1045
|
};
|
|
1046
|
+
readonly copilot_user_hourly_tokens: {
|
|
1047
|
+
readonly type: "integer";
|
|
1048
|
+
readonly minimum: 0;
|
|
1049
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1050
|
+
readonly example: 42000;
|
|
1051
|
+
};
|
|
1052
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1053
|
+
readonly type: "integer";
|
|
1054
|
+
readonly minimum: 0;
|
|
1055
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1056
|
+
readonly example: 242000;
|
|
1057
|
+
};
|
|
995
1058
|
};
|
|
996
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1059
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
|
|
997
1060
|
readonly additionalProperties: false;
|
|
998
1061
|
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.";
|
|
999
1062
|
};
|
|
@@ -1059,6 +1122,273 @@ export declare const PaymentMethodSchema: {
|
|
|
1059
1122
|
readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
|
|
1060
1123
|
readonly additionalProperties: false;
|
|
1061
1124
|
};
|
|
1125
|
+
export declare const PlatformQuotaSchema: {
|
|
1126
|
+
readonly type: "object";
|
|
1127
|
+
readonly properties: {
|
|
1128
|
+
readonly basic_clusters_max: {
|
|
1129
|
+
readonly type: "integer";
|
|
1130
|
+
readonly minimum: 0;
|
|
1131
|
+
readonly description: "Maximum number of Basic clusters that can be created.";
|
|
1132
|
+
readonly example: 999;
|
|
1133
|
+
};
|
|
1134
|
+
readonly basic_clusters_available: {
|
|
1135
|
+
readonly type: "integer";
|
|
1136
|
+
readonly description: "Available number of Basic clusters that can be created.";
|
|
1137
|
+
readonly example: 999;
|
|
1138
|
+
};
|
|
1139
|
+
readonly pro_clusters_max: {
|
|
1140
|
+
readonly type: "integer";
|
|
1141
|
+
readonly minimum: 0;
|
|
1142
|
+
readonly description: "Maximum number of Pro clusters that can be created.";
|
|
1143
|
+
readonly example: 999;
|
|
1144
|
+
};
|
|
1145
|
+
readonly pro_clusters_available: {
|
|
1146
|
+
readonly type: "integer";
|
|
1147
|
+
readonly description: "Available number of Pro clusters that can be created.";
|
|
1148
|
+
readonly example: 999;
|
|
1149
|
+
};
|
|
1150
|
+
readonly fleets_max: {
|
|
1151
|
+
readonly type: "integer";
|
|
1152
|
+
readonly minimum: 0;
|
|
1153
|
+
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1154
|
+
readonly example: 999;
|
|
1155
|
+
};
|
|
1156
|
+
readonly cluster_tiers: {
|
|
1157
|
+
readonly type: "array";
|
|
1158
|
+
readonly items: {
|
|
1159
|
+
readonly type: "string";
|
|
1160
|
+
readonly example: "basic";
|
|
1161
|
+
};
|
|
1162
|
+
readonly minItems: 0;
|
|
1163
|
+
readonly description: "List of Cloudfleet cluster tiers available for the organization.";
|
|
1164
|
+
};
|
|
1165
|
+
readonly regions: {
|
|
1166
|
+
readonly type: "array";
|
|
1167
|
+
readonly items: {
|
|
1168
|
+
readonly type: "string";
|
|
1169
|
+
readonly example: "northamerica-central-1";
|
|
1170
|
+
};
|
|
1171
|
+
readonly minItems: 1;
|
|
1172
|
+
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
1173
|
+
};
|
|
1174
|
+
readonly versions: {
|
|
1175
|
+
readonly type: "array";
|
|
1176
|
+
readonly items: {
|
|
1177
|
+
readonly type: "object";
|
|
1178
|
+
readonly properties: {
|
|
1179
|
+
readonly id: {
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
readonly description: "Id of the control plane version. Used in API calls.";
|
|
1182
|
+
readonly example: "1.33.x-cfke.x";
|
|
1183
|
+
};
|
|
1184
|
+
readonly label: {
|
|
1185
|
+
readonly type: "string";
|
|
1186
|
+
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
1187
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
readonly required: readonly ["id", "label"];
|
|
1191
|
+
readonly additionalProperties: false;
|
|
1192
|
+
};
|
|
1193
|
+
readonly minItems: 1;
|
|
1194
|
+
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1195
|
+
};
|
|
1196
|
+
readonly copilot_user_hourly_tokens: {
|
|
1197
|
+
readonly type: "integer";
|
|
1198
|
+
readonly minimum: 0;
|
|
1199
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1200
|
+
readonly example: 42000;
|
|
1201
|
+
};
|
|
1202
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1203
|
+
readonly type: "integer";
|
|
1204
|
+
readonly minimum: 0;
|
|
1205
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1206
|
+
readonly example: 242000;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
|
|
1210
|
+
readonly additionalProperties: false;
|
|
1211
|
+
};
|
|
1212
|
+
export declare const RegistryRepositorySchema: {
|
|
1213
|
+
readonly type: "object";
|
|
1214
|
+
readonly properties: {
|
|
1215
|
+
readonly name: {
|
|
1216
|
+
readonly type: "string";
|
|
1217
|
+
readonly description: "Repository name.";
|
|
1218
|
+
readonly example: "my-app";
|
|
1219
|
+
};
|
|
1220
|
+
readonly region: {
|
|
1221
|
+
readonly type: "string";
|
|
1222
|
+
readonly description: "Registry region.";
|
|
1223
|
+
readonly example: "northamerica";
|
|
1224
|
+
};
|
|
1225
|
+
readonly uri: {
|
|
1226
|
+
readonly type: "string";
|
|
1227
|
+
readonly description: "Full URI of the repository.";
|
|
1228
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
readonly required: readonly ["name", "region", "uri"];
|
|
1232
|
+
readonly additionalProperties: false;
|
|
1233
|
+
};
|
|
1234
|
+
export declare const RegistryRepositoryWithTagsSchema: {
|
|
1235
|
+
readonly type: "object";
|
|
1236
|
+
readonly properties: {
|
|
1237
|
+
readonly name: {
|
|
1238
|
+
readonly type: "string";
|
|
1239
|
+
readonly description: "Repository name.";
|
|
1240
|
+
readonly example: "my-app";
|
|
1241
|
+
};
|
|
1242
|
+
readonly region: {
|
|
1243
|
+
readonly type: "string";
|
|
1244
|
+
readonly description: "Registry region.";
|
|
1245
|
+
readonly example: "northamerica";
|
|
1246
|
+
};
|
|
1247
|
+
readonly uri: {
|
|
1248
|
+
readonly type: "string";
|
|
1249
|
+
readonly description: "Full URI of the repository.";
|
|
1250
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1251
|
+
};
|
|
1252
|
+
readonly tags: {
|
|
1253
|
+
readonly type: "array";
|
|
1254
|
+
readonly items: {
|
|
1255
|
+
readonly type: "object";
|
|
1256
|
+
readonly properties: {
|
|
1257
|
+
readonly name: {
|
|
1258
|
+
readonly type: "string";
|
|
1259
|
+
readonly description: "Tag name.";
|
|
1260
|
+
readonly example: "latest";
|
|
1261
|
+
};
|
|
1262
|
+
readonly size: {
|
|
1263
|
+
readonly type: "number";
|
|
1264
|
+
readonly format: "float";
|
|
1265
|
+
readonly description: "Size of the tag in bytes.";
|
|
1266
|
+
readonly example: 123456789;
|
|
1267
|
+
};
|
|
1268
|
+
readonly mediaType: {
|
|
1269
|
+
readonly type: "string";
|
|
1270
|
+
readonly description: "Media type of the manifest.";
|
|
1271
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
readonly required: readonly ["name", "size"];
|
|
1275
|
+
readonly additionalProperties: false;
|
|
1276
|
+
};
|
|
1277
|
+
readonly description: "Array of tags in the repository.";
|
|
1278
|
+
};
|
|
1279
|
+
readonly totalSize: {
|
|
1280
|
+
readonly type: "number";
|
|
1281
|
+
readonly format: "float";
|
|
1282
|
+
readonly description: "Total size of all tags in the repository in bytes.";
|
|
1283
|
+
readonly example: 987654321;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
|
|
1287
|
+
readonly additionalProperties: false;
|
|
1288
|
+
};
|
|
1289
|
+
export declare const RegistryTagSchema: {
|
|
1290
|
+
readonly type: "object";
|
|
1291
|
+
readonly properties: {
|
|
1292
|
+
readonly name: {
|
|
1293
|
+
readonly type: "string";
|
|
1294
|
+
readonly description: "Tag name.";
|
|
1295
|
+
readonly example: "latest";
|
|
1296
|
+
};
|
|
1297
|
+
readonly mediaType: {
|
|
1298
|
+
readonly type: "string";
|
|
1299
|
+
readonly description: "Media type of the manifest.";
|
|
1300
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1301
|
+
};
|
|
1302
|
+
readonly config: {
|
|
1303
|
+
readonly type: "object";
|
|
1304
|
+
readonly properties: {
|
|
1305
|
+
readonly size: {
|
|
1306
|
+
readonly type: "number";
|
|
1307
|
+
readonly format: "float";
|
|
1308
|
+
readonly description: "Size of the config in bytes.";
|
|
1309
|
+
readonly example: 1234;
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
readonly required: readonly ["size"];
|
|
1313
|
+
readonly additionalProperties: false;
|
|
1314
|
+
readonly description: "Manifest config metadata.";
|
|
1315
|
+
};
|
|
1316
|
+
readonly layers: {
|
|
1317
|
+
readonly type: "array";
|
|
1318
|
+
readonly items: {
|
|
1319
|
+
readonly type: "object";
|
|
1320
|
+
readonly properties: {
|
|
1321
|
+
readonly size: {
|
|
1322
|
+
readonly type: "number";
|
|
1323
|
+
readonly format: "float";
|
|
1324
|
+
readonly description: "Size of the layer in bytes.";
|
|
1325
|
+
readonly example: 5678;
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
readonly required: readonly ["size"];
|
|
1329
|
+
readonly additionalProperties: false;
|
|
1330
|
+
};
|
|
1331
|
+
readonly description: "Array of layer metadata.";
|
|
1332
|
+
};
|
|
1333
|
+
readonly manifests: {
|
|
1334
|
+
readonly type: "array";
|
|
1335
|
+
readonly items: {
|
|
1336
|
+
readonly type: "object";
|
|
1337
|
+
readonly properties: {
|
|
1338
|
+
readonly digest: {
|
|
1339
|
+
readonly type: "string";
|
|
1340
|
+
readonly description: "Digest of the manifest.";
|
|
1341
|
+
readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
|
|
1342
|
+
};
|
|
1343
|
+
readonly platform: {
|
|
1344
|
+
readonly type: "object";
|
|
1345
|
+
readonly properties: {
|
|
1346
|
+
readonly architecture: {
|
|
1347
|
+
readonly type: "string";
|
|
1348
|
+
readonly description: "Architecture of the platform.";
|
|
1349
|
+
readonly example: "amd64";
|
|
1350
|
+
};
|
|
1351
|
+
readonly os: {
|
|
1352
|
+
readonly type: "string";
|
|
1353
|
+
readonly description: "Operating system of the platform.";
|
|
1354
|
+
readonly example: "linux";
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
readonly required: readonly ["architecture", "os"];
|
|
1358
|
+
readonly additionalProperties: false;
|
|
1359
|
+
readonly description: "Platform information for the manifest.";
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
readonly required: readonly ["digest"];
|
|
1363
|
+
readonly additionalProperties: false;
|
|
1364
|
+
};
|
|
1365
|
+
readonly description: "Array of manifests for multi-arch images.";
|
|
1366
|
+
};
|
|
1367
|
+
readonly size: {
|
|
1368
|
+
readonly type: "number";
|
|
1369
|
+
readonly format: "float";
|
|
1370
|
+
readonly description: "Total size of the tag in bytes.";
|
|
1371
|
+
readonly example: 123456789;
|
|
1372
|
+
};
|
|
1373
|
+
readonly region: {
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
readonly description: "Registry region.";
|
|
1376
|
+
readonly example: "northamerica";
|
|
1377
|
+
};
|
|
1378
|
+
readonly repository: {
|
|
1379
|
+
readonly type: "string";
|
|
1380
|
+
readonly description: "Repository name.";
|
|
1381
|
+
readonly example: "my-app";
|
|
1382
|
+
};
|
|
1383
|
+
readonly uri: {
|
|
1384
|
+
readonly type: "string";
|
|
1385
|
+
readonly description: "Full URI of the tag.";
|
|
1386
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
readonly required: readonly ["name", "size", "region", "repository", "uri"];
|
|
1390
|
+
readonly additionalProperties: false;
|
|
1391
|
+
};
|
|
1062
1392
|
export declare const TokenCreateInputSchema: {
|
|
1063
1393
|
readonly type: "object";
|
|
1064
1394
|
readonly properties: {
|
|
@@ -1137,6 +1467,101 @@ export declare const TokenUpdateInputSchema: {
|
|
|
1137
1467
|
};
|
|
1138
1468
|
readonly additionalProperties: false;
|
|
1139
1469
|
};
|
|
1470
|
+
export declare const UsageFacetsSchema: {
|
|
1471
|
+
readonly type: "object";
|
|
1472
|
+
readonly properties: {
|
|
1473
|
+
readonly cluster_id: {
|
|
1474
|
+
readonly type: "array";
|
|
1475
|
+
readonly items: {
|
|
1476
|
+
readonly type: "string";
|
|
1477
|
+
};
|
|
1478
|
+
readonly description: "List of unique cluster IDs";
|
|
1479
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1480
|
+
};
|
|
1481
|
+
readonly product: {
|
|
1482
|
+
readonly type: "array";
|
|
1483
|
+
readonly items: {
|
|
1484
|
+
readonly type: "string";
|
|
1485
|
+
};
|
|
1486
|
+
readonly description: "List of unique products";
|
|
1487
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
readonly additionalProperties: false;
|
|
1491
|
+
};
|
|
1492
|
+
export declare const UsageResponseSchema: {
|
|
1493
|
+
readonly type: "object";
|
|
1494
|
+
readonly properties: {
|
|
1495
|
+
readonly data: {
|
|
1496
|
+
readonly type: "array";
|
|
1497
|
+
readonly items: {
|
|
1498
|
+
readonly type: "object";
|
|
1499
|
+
readonly properties: {
|
|
1500
|
+
readonly hour: {
|
|
1501
|
+
readonly type: "string";
|
|
1502
|
+
readonly description: "Hour of the usage";
|
|
1503
|
+
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1504
|
+
};
|
|
1505
|
+
readonly cluster_id: {
|
|
1506
|
+
readonly type: "string";
|
|
1507
|
+
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1508
|
+
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1509
|
+
};
|
|
1510
|
+
readonly product: {
|
|
1511
|
+
readonly type: "string";
|
|
1512
|
+
readonly description: "The product the usage is associated with";
|
|
1513
|
+
readonly example: "cfke_controlplane";
|
|
1514
|
+
};
|
|
1515
|
+
readonly value: {
|
|
1516
|
+
readonly type: "number";
|
|
1517
|
+
readonly format: "float";
|
|
1518
|
+
readonly description: "Consumption";
|
|
1519
|
+
readonly example: 4;
|
|
1520
|
+
};
|
|
1521
|
+
readonly price: {
|
|
1522
|
+
readonly type: "number";
|
|
1523
|
+
readonly format: "float";
|
|
1524
|
+
readonly description: "Price per unit";
|
|
1525
|
+
readonly example: 0.01;
|
|
1526
|
+
};
|
|
1527
|
+
readonly total: {
|
|
1528
|
+
readonly type: "number";
|
|
1529
|
+
readonly format: "float";
|
|
1530
|
+
readonly description: "Total cost";
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1534
|
+
readonly additionalProperties: false;
|
|
1535
|
+
};
|
|
1536
|
+
readonly description: "Usage data";
|
|
1537
|
+
};
|
|
1538
|
+
readonly facets: {
|
|
1539
|
+
readonly type: "object";
|
|
1540
|
+
readonly properties: {
|
|
1541
|
+
readonly cluster_id: {
|
|
1542
|
+
readonly type: "array";
|
|
1543
|
+
readonly items: {
|
|
1544
|
+
readonly type: "string";
|
|
1545
|
+
};
|
|
1546
|
+
readonly description: "List of unique cluster IDs";
|
|
1547
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1548
|
+
};
|
|
1549
|
+
readonly product: {
|
|
1550
|
+
readonly type: "array";
|
|
1551
|
+
readonly items: {
|
|
1552
|
+
readonly type: "string";
|
|
1553
|
+
};
|
|
1554
|
+
readonly description: "List of unique products";
|
|
1555
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
readonly additionalProperties: false;
|
|
1559
|
+
readonly description: "Facets for filtering";
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
readonly required: readonly ["data", "facets"];
|
|
1563
|
+
readonly additionalProperties: false;
|
|
1564
|
+
};
|
|
1140
1565
|
export declare const UsageSchema: {
|
|
1141
1566
|
readonly type: "object";
|
|
1142
1567
|
readonly properties: {
|
|
@@ -1147,78 +1572,33 @@ export declare const UsageSchema: {
|
|
|
1147
1572
|
};
|
|
1148
1573
|
readonly cluster_id: {
|
|
1149
1574
|
readonly type: "string";
|
|
1150
|
-
readonly format: "uuid";
|
|
1151
1575
|
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1152
1576
|
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1153
1577
|
};
|
|
1154
|
-
readonly cluster_tier: {
|
|
1155
|
-
readonly type: "string";
|
|
1156
|
-
readonly description: "Tier of the cluster.";
|
|
1157
|
-
readonly example: "pro";
|
|
1158
|
-
readonly enum: readonly ["basic", "pro", ""];
|
|
1159
|
-
};
|
|
1160
1578
|
readonly product: {
|
|
1161
1579
|
readonly type: "string";
|
|
1162
1580
|
readonly description: "The product the usage is associated with";
|
|
1163
1581
|
readonly example: "cfke_controlplane";
|
|
1164
|
-
readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
|
|
1165
1582
|
};
|
|
1166
|
-
readonly
|
|
1167
|
-
readonly type: "
|
|
1168
|
-
readonly
|
|
1169
|
-
readonly
|
|
1170
|
-
|
|
1171
|
-
readonly sku: {
|
|
1172
|
-
readonly type: "string";
|
|
1173
|
-
readonly description: "SKU of the Kubernetes node";
|
|
1174
|
-
readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
|
|
1175
|
-
};
|
|
1176
|
-
readonly cpu: {
|
|
1177
|
-
readonly anyOf: readonly [{
|
|
1178
|
-
readonly type: "number";
|
|
1179
|
-
readonly format: "float";
|
|
1180
|
-
readonly description: "CPU core count of the node";
|
|
1181
|
-
readonly example: 4;
|
|
1182
|
-
}, {
|
|
1183
|
-
readonly type: "string";
|
|
1184
|
-
readonly enum: readonly [""];
|
|
1185
|
-
}];
|
|
1583
|
+
readonly value: {
|
|
1584
|
+
readonly type: "number";
|
|
1585
|
+
readonly format: "float";
|
|
1586
|
+
readonly description: "Consumption";
|
|
1587
|
+
readonly example: 4;
|
|
1186
1588
|
};
|
|
1187
1589
|
readonly price: {
|
|
1188
|
-
readonly
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
readonly example: 4;
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly type: "string";
|
|
1195
|
-
readonly enum: readonly [""];
|
|
1196
|
-
}];
|
|
1197
|
-
};
|
|
1198
|
-
readonly value: {
|
|
1199
|
-
readonly anyOf: readonly [{
|
|
1200
|
-
readonly type: "number";
|
|
1201
|
-
readonly format: "float";
|
|
1202
|
-
readonly description: "Value";
|
|
1203
|
-
readonly example: 4;
|
|
1204
|
-
}, {
|
|
1205
|
-
readonly type: "string";
|
|
1206
|
-
readonly enum: readonly [""];
|
|
1207
|
-
}];
|
|
1590
|
+
readonly type: "number";
|
|
1591
|
+
readonly format: "float";
|
|
1592
|
+
readonly description: "Price per unit";
|
|
1593
|
+
readonly example: 0.01;
|
|
1208
1594
|
};
|
|
1209
1595
|
readonly total: {
|
|
1210
|
-
readonly
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
readonly description: "Total";
|
|
1214
|
-
readonly example: 4;
|
|
1215
|
-
}, {
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly enum: readonly [""];
|
|
1218
|
-
}];
|
|
1596
|
+
readonly type: "number";
|
|
1597
|
+
readonly format: "float";
|
|
1598
|
+
readonly description: "Total cost";
|
|
1219
1599
|
};
|
|
1220
1600
|
};
|
|
1221
|
-
readonly required: readonly ["
|
|
1601
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1222
1602
|
readonly additionalProperties: false;
|
|
1223
1603
|
};
|
|
1224
1604
|
export declare const UserCreateInputSchema: {
|