@cloudfleet/sdk 0.0.1-ef41cb3 → 0.0.1-f0a0ca4
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 +470 -114
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +483 -134
- 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 +487 -47
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +235 -98
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +179 -59
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -285,7 +285,7 @@ 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.33.x-cfke.x";
|
|
289
289
|
};
|
|
290
290
|
};
|
|
291
291
|
readonly required: readonly ["name", "tier"];
|
|
@@ -321,7 +321,7 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
321
321
|
readonly kubernetes: {
|
|
322
322
|
readonly type: "string";
|
|
323
323
|
readonly description: "Kubernetes version of the cluster.";
|
|
324
|
-
readonly example: "1.
|
|
324
|
+
readonly example: "1.33.7";
|
|
325
325
|
};
|
|
326
326
|
readonly tailscale: {
|
|
327
327
|
readonly type: "string";
|
|
@@ -399,7 +399,7 @@ export declare const ClusterSchema: {
|
|
|
399
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
400
|
readonly description: "Version of the kubernetes cluster.";
|
|
401
401
|
readonly default: "1.x.x-cfke.x";
|
|
402
|
-
readonly example: "1.
|
|
402
|
+
readonly example: "1.33.x-cfke.x";
|
|
403
403
|
};
|
|
404
404
|
readonly id: {
|
|
405
405
|
readonly type: "string";
|
|
@@ -432,7 +432,7 @@ export declare const ClusterSchema: {
|
|
|
432
432
|
readonly version_current: {
|
|
433
433
|
readonly type: "string";
|
|
434
434
|
readonly description: "Current version of the cluster.";
|
|
435
|
-
readonly example: "1.
|
|
435
|
+
readonly example: "1.33.7-cfke.264";
|
|
436
436
|
};
|
|
437
437
|
readonly created_at: {
|
|
438
438
|
readonly type: "string";
|
|
@@ -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.33.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
|
|
788
|
-
readonly type: "string";
|
|
789
|
-
readonly maxLength: 63;
|
|
790
|
-
readonly minLength: 1;
|
|
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";
|
|
794
|
-
};
|
|
795
|
-
readonly name: {
|
|
796
|
-
readonly type: "string";
|
|
797
|
-
readonly description: "Name of the chart listing";
|
|
798
|
-
readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
|
|
799
|
-
};
|
|
800
|
-
readonly developer: {
|
|
787
|
+
readonly chartYaml: {
|
|
801
788
|
readonly type: "string";
|
|
802
|
-
readonly description: "
|
|
803
|
-
readonly example: "
|
|
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";
|
|
804
791
|
};
|
|
805
|
-
readonly
|
|
792
|
+
readonly valuesYaml: {
|
|
806
793
|
readonly type: "string";
|
|
807
|
-
readonly description: "
|
|
808
|
-
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";
|
|
809
796
|
};
|
|
810
|
-
readonly
|
|
797
|
+
readonly valuesSchemaJson: {
|
|
811
798
|
readonly type: "string";
|
|
812
|
-
readonly description: "
|
|
813
|
-
readonly example: "
|
|
799
|
+
readonly description: "JSON schema for values.yaml as a string";
|
|
800
|
+
readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
|
|
814
801
|
};
|
|
815
|
-
|
|
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"];
|
|
@@ -1059,6 +1110,261 @@ export declare const PaymentMethodSchema: {
|
|
|
1059
1110
|
readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
|
|
1060
1111
|
readonly additionalProperties: false;
|
|
1061
1112
|
};
|
|
1113
|
+
export declare const PlatformQuotaSchema: {
|
|
1114
|
+
readonly type: "object";
|
|
1115
|
+
readonly properties: {
|
|
1116
|
+
readonly basic_clusters_max: {
|
|
1117
|
+
readonly type: "integer";
|
|
1118
|
+
readonly minimum: 0;
|
|
1119
|
+
readonly description: "Maximum number of Basic clusters that can be created.";
|
|
1120
|
+
readonly example: 999;
|
|
1121
|
+
};
|
|
1122
|
+
readonly basic_clusters_available: {
|
|
1123
|
+
readonly type: "integer";
|
|
1124
|
+
readonly description: "Available number of Basic clusters that can be created.";
|
|
1125
|
+
readonly example: 999;
|
|
1126
|
+
};
|
|
1127
|
+
readonly pro_clusters_max: {
|
|
1128
|
+
readonly type: "integer";
|
|
1129
|
+
readonly minimum: 0;
|
|
1130
|
+
readonly description: "Maximum number of Pro clusters that can be created.";
|
|
1131
|
+
readonly example: 999;
|
|
1132
|
+
};
|
|
1133
|
+
readonly pro_clusters_available: {
|
|
1134
|
+
readonly type: "integer";
|
|
1135
|
+
readonly description: "Available number of Pro clusters that can be created.";
|
|
1136
|
+
readonly example: 999;
|
|
1137
|
+
};
|
|
1138
|
+
readonly fleets_max: {
|
|
1139
|
+
readonly type: "integer";
|
|
1140
|
+
readonly minimum: 0;
|
|
1141
|
+
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1142
|
+
readonly example: 999;
|
|
1143
|
+
};
|
|
1144
|
+
readonly cluster_tiers: {
|
|
1145
|
+
readonly type: "array";
|
|
1146
|
+
readonly items: {
|
|
1147
|
+
readonly type: "string";
|
|
1148
|
+
readonly example: "basic";
|
|
1149
|
+
};
|
|
1150
|
+
readonly minItems: 0;
|
|
1151
|
+
readonly description: "List of Cloudfleet cluster tiers available for the organization.";
|
|
1152
|
+
};
|
|
1153
|
+
readonly regions: {
|
|
1154
|
+
readonly type: "array";
|
|
1155
|
+
readonly items: {
|
|
1156
|
+
readonly type: "string";
|
|
1157
|
+
readonly example: "northamerica-central-1";
|
|
1158
|
+
};
|
|
1159
|
+
readonly minItems: 1;
|
|
1160
|
+
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
1161
|
+
};
|
|
1162
|
+
readonly versions: {
|
|
1163
|
+
readonly type: "array";
|
|
1164
|
+
readonly items: {
|
|
1165
|
+
readonly type: "object";
|
|
1166
|
+
readonly properties: {
|
|
1167
|
+
readonly id: {
|
|
1168
|
+
readonly type: "string";
|
|
1169
|
+
readonly description: "Id of the control plane version. Used in API calls.";
|
|
1170
|
+
readonly example: "1.33.x-cfke.x";
|
|
1171
|
+
};
|
|
1172
|
+
readonly label: {
|
|
1173
|
+
readonly type: "string";
|
|
1174
|
+
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
1175
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
readonly required: readonly ["id", "label"];
|
|
1179
|
+
readonly additionalProperties: false;
|
|
1180
|
+
};
|
|
1181
|
+
readonly minItems: 1;
|
|
1182
|
+
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1186
|
+
readonly additionalProperties: false;
|
|
1187
|
+
};
|
|
1188
|
+
export declare const RegistryRepositorySchema: {
|
|
1189
|
+
readonly type: "object";
|
|
1190
|
+
readonly properties: {
|
|
1191
|
+
readonly name: {
|
|
1192
|
+
readonly type: "string";
|
|
1193
|
+
readonly description: "Repository name.";
|
|
1194
|
+
readonly example: "my-app";
|
|
1195
|
+
};
|
|
1196
|
+
readonly region: {
|
|
1197
|
+
readonly type: "string";
|
|
1198
|
+
readonly description: "Registry region.";
|
|
1199
|
+
readonly example: "northamerica";
|
|
1200
|
+
};
|
|
1201
|
+
readonly uri: {
|
|
1202
|
+
readonly type: "string";
|
|
1203
|
+
readonly description: "Full URI of the repository.";
|
|
1204
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
readonly required: readonly ["name", "region", "uri"];
|
|
1208
|
+
readonly additionalProperties: false;
|
|
1209
|
+
};
|
|
1210
|
+
export declare const RegistryRepositoryWithTagsSchema: {
|
|
1211
|
+
readonly type: "object";
|
|
1212
|
+
readonly properties: {
|
|
1213
|
+
readonly name: {
|
|
1214
|
+
readonly type: "string";
|
|
1215
|
+
readonly description: "Repository name.";
|
|
1216
|
+
readonly example: "my-app";
|
|
1217
|
+
};
|
|
1218
|
+
readonly region: {
|
|
1219
|
+
readonly type: "string";
|
|
1220
|
+
readonly description: "Registry region.";
|
|
1221
|
+
readonly example: "northamerica";
|
|
1222
|
+
};
|
|
1223
|
+
readonly uri: {
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
readonly description: "Full URI of the repository.";
|
|
1226
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1227
|
+
};
|
|
1228
|
+
readonly tags: {
|
|
1229
|
+
readonly type: "array";
|
|
1230
|
+
readonly items: {
|
|
1231
|
+
readonly type: "object";
|
|
1232
|
+
readonly properties: {
|
|
1233
|
+
readonly name: {
|
|
1234
|
+
readonly type: "string";
|
|
1235
|
+
readonly description: "Tag name.";
|
|
1236
|
+
readonly example: "latest";
|
|
1237
|
+
};
|
|
1238
|
+
readonly size: {
|
|
1239
|
+
readonly type: "number";
|
|
1240
|
+
readonly format: "float";
|
|
1241
|
+
readonly description: "Size of the tag in bytes.";
|
|
1242
|
+
readonly example: 123456789;
|
|
1243
|
+
};
|
|
1244
|
+
readonly mediaType: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
readonly description: "Media type of the manifest.";
|
|
1247
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
readonly required: readonly ["name", "size"];
|
|
1251
|
+
readonly additionalProperties: false;
|
|
1252
|
+
};
|
|
1253
|
+
readonly description: "Array of tags in the repository.";
|
|
1254
|
+
};
|
|
1255
|
+
readonly totalSize: {
|
|
1256
|
+
readonly type: "number";
|
|
1257
|
+
readonly format: "float";
|
|
1258
|
+
readonly description: "Total size of all tags in the repository in bytes.";
|
|
1259
|
+
readonly example: 987654321;
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
|
|
1263
|
+
readonly additionalProperties: false;
|
|
1264
|
+
};
|
|
1265
|
+
export declare const RegistryTagSchema: {
|
|
1266
|
+
readonly type: "object";
|
|
1267
|
+
readonly properties: {
|
|
1268
|
+
readonly name: {
|
|
1269
|
+
readonly type: "string";
|
|
1270
|
+
readonly description: "Tag name.";
|
|
1271
|
+
readonly example: "latest";
|
|
1272
|
+
};
|
|
1273
|
+
readonly mediaType: {
|
|
1274
|
+
readonly type: "string";
|
|
1275
|
+
readonly description: "Media type of the manifest.";
|
|
1276
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1277
|
+
};
|
|
1278
|
+
readonly config: {
|
|
1279
|
+
readonly type: "object";
|
|
1280
|
+
readonly properties: {
|
|
1281
|
+
readonly size: {
|
|
1282
|
+
readonly type: "number";
|
|
1283
|
+
readonly format: "float";
|
|
1284
|
+
readonly description: "Size of the config in bytes.";
|
|
1285
|
+
readonly example: 1234;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
readonly required: readonly ["size"];
|
|
1289
|
+
readonly additionalProperties: false;
|
|
1290
|
+
readonly description: "Manifest config metadata.";
|
|
1291
|
+
};
|
|
1292
|
+
readonly layers: {
|
|
1293
|
+
readonly type: "array";
|
|
1294
|
+
readonly items: {
|
|
1295
|
+
readonly type: "object";
|
|
1296
|
+
readonly properties: {
|
|
1297
|
+
readonly size: {
|
|
1298
|
+
readonly type: "number";
|
|
1299
|
+
readonly format: "float";
|
|
1300
|
+
readonly description: "Size of the layer in bytes.";
|
|
1301
|
+
readonly example: 5678;
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
readonly required: readonly ["size"];
|
|
1305
|
+
readonly additionalProperties: false;
|
|
1306
|
+
};
|
|
1307
|
+
readonly description: "Array of layer metadata.";
|
|
1308
|
+
};
|
|
1309
|
+
readonly manifests: {
|
|
1310
|
+
readonly type: "array";
|
|
1311
|
+
readonly items: {
|
|
1312
|
+
readonly type: "object";
|
|
1313
|
+
readonly properties: {
|
|
1314
|
+
readonly digest: {
|
|
1315
|
+
readonly type: "string";
|
|
1316
|
+
readonly description: "Digest of the manifest.";
|
|
1317
|
+
readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
|
|
1318
|
+
};
|
|
1319
|
+
readonly platform: {
|
|
1320
|
+
readonly type: "object";
|
|
1321
|
+
readonly properties: {
|
|
1322
|
+
readonly architecture: {
|
|
1323
|
+
readonly type: "string";
|
|
1324
|
+
readonly description: "Architecture of the platform.";
|
|
1325
|
+
readonly example: "amd64";
|
|
1326
|
+
};
|
|
1327
|
+
readonly os: {
|
|
1328
|
+
readonly type: "string";
|
|
1329
|
+
readonly description: "Operating system of the platform.";
|
|
1330
|
+
readonly example: "linux";
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
readonly required: readonly ["architecture", "os"];
|
|
1334
|
+
readonly additionalProperties: false;
|
|
1335
|
+
readonly description: "Platform information for the manifest.";
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly required: readonly ["digest"];
|
|
1339
|
+
readonly additionalProperties: false;
|
|
1340
|
+
};
|
|
1341
|
+
readonly description: "Array of manifests for multi-arch images.";
|
|
1342
|
+
};
|
|
1343
|
+
readonly size: {
|
|
1344
|
+
readonly type: "number";
|
|
1345
|
+
readonly format: "float";
|
|
1346
|
+
readonly description: "Total size of the tag in bytes.";
|
|
1347
|
+
readonly example: 123456789;
|
|
1348
|
+
};
|
|
1349
|
+
readonly region: {
|
|
1350
|
+
readonly type: "string";
|
|
1351
|
+
readonly description: "Registry region.";
|
|
1352
|
+
readonly example: "northamerica";
|
|
1353
|
+
};
|
|
1354
|
+
readonly repository: {
|
|
1355
|
+
readonly type: "string";
|
|
1356
|
+
readonly description: "Repository name.";
|
|
1357
|
+
readonly example: "my-app";
|
|
1358
|
+
};
|
|
1359
|
+
readonly uri: {
|
|
1360
|
+
readonly type: "string";
|
|
1361
|
+
readonly description: "Full URI of the tag.";
|
|
1362
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
readonly required: readonly ["name", "size", "region", "repository", "uri"];
|
|
1366
|
+
readonly additionalProperties: false;
|
|
1367
|
+
};
|
|
1062
1368
|
export declare const TokenCreateInputSchema: {
|
|
1063
1369
|
readonly type: "object";
|
|
1064
1370
|
readonly properties: {
|
|
@@ -1137,6 +1443,101 @@ export declare const TokenUpdateInputSchema: {
|
|
|
1137
1443
|
};
|
|
1138
1444
|
readonly additionalProperties: false;
|
|
1139
1445
|
};
|
|
1446
|
+
export declare const UsageFacetsSchema: {
|
|
1447
|
+
readonly type: "object";
|
|
1448
|
+
readonly properties: {
|
|
1449
|
+
readonly cluster_id: {
|
|
1450
|
+
readonly type: "array";
|
|
1451
|
+
readonly items: {
|
|
1452
|
+
readonly type: "string";
|
|
1453
|
+
};
|
|
1454
|
+
readonly description: "List of unique cluster IDs";
|
|
1455
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1456
|
+
};
|
|
1457
|
+
readonly product: {
|
|
1458
|
+
readonly type: "array";
|
|
1459
|
+
readonly items: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
};
|
|
1462
|
+
readonly description: "List of unique products";
|
|
1463
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
readonly additionalProperties: false;
|
|
1467
|
+
};
|
|
1468
|
+
export declare const UsageResponseSchema: {
|
|
1469
|
+
readonly type: "object";
|
|
1470
|
+
readonly properties: {
|
|
1471
|
+
readonly data: {
|
|
1472
|
+
readonly type: "array";
|
|
1473
|
+
readonly items: {
|
|
1474
|
+
readonly type: "object";
|
|
1475
|
+
readonly properties: {
|
|
1476
|
+
readonly hour: {
|
|
1477
|
+
readonly type: "string";
|
|
1478
|
+
readonly description: "Hour of the usage";
|
|
1479
|
+
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1480
|
+
};
|
|
1481
|
+
readonly cluster_id: {
|
|
1482
|
+
readonly type: "string";
|
|
1483
|
+
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1484
|
+
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1485
|
+
};
|
|
1486
|
+
readonly product: {
|
|
1487
|
+
readonly type: "string";
|
|
1488
|
+
readonly description: "The product the usage is associated with";
|
|
1489
|
+
readonly example: "cfke_controlplane";
|
|
1490
|
+
};
|
|
1491
|
+
readonly value: {
|
|
1492
|
+
readonly type: "number";
|
|
1493
|
+
readonly format: "float";
|
|
1494
|
+
readonly description: "Consumption";
|
|
1495
|
+
readonly example: 4;
|
|
1496
|
+
};
|
|
1497
|
+
readonly price: {
|
|
1498
|
+
readonly type: "number";
|
|
1499
|
+
readonly format: "float";
|
|
1500
|
+
readonly description: "Price per unit";
|
|
1501
|
+
readonly example: 0.01;
|
|
1502
|
+
};
|
|
1503
|
+
readonly total: {
|
|
1504
|
+
readonly type: "number";
|
|
1505
|
+
readonly format: "float";
|
|
1506
|
+
readonly description: "Total cost";
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1510
|
+
readonly additionalProperties: false;
|
|
1511
|
+
};
|
|
1512
|
+
readonly description: "Usage data";
|
|
1513
|
+
};
|
|
1514
|
+
readonly facets: {
|
|
1515
|
+
readonly type: "object";
|
|
1516
|
+
readonly properties: {
|
|
1517
|
+
readonly cluster_id: {
|
|
1518
|
+
readonly type: "array";
|
|
1519
|
+
readonly items: {
|
|
1520
|
+
readonly type: "string";
|
|
1521
|
+
};
|
|
1522
|
+
readonly description: "List of unique cluster IDs";
|
|
1523
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1524
|
+
};
|
|
1525
|
+
readonly product: {
|
|
1526
|
+
readonly type: "array";
|
|
1527
|
+
readonly items: {
|
|
1528
|
+
readonly type: "string";
|
|
1529
|
+
};
|
|
1530
|
+
readonly description: "List of unique products";
|
|
1531
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1532
|
+
};
|
|
1533
|
+
};
|
|
1534
|
+
readonly additionalProperties: false;
|
|
1535
|
+
readonly description: "Facets for filtering";
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
readonly required: readonly ["data", "facets"];
|
|
1539
|
+
readonly additionalProperties: false;
|
|
1540
|
+
};
|
|
1140
1541
|
export declare const UsageSchema: {
|
|
1141
1542
|
readonly type: "object";
|
|
1142
1543
|
readonly properties: {
|
|
@@ -1147,78 +1548,33 @@ export declare const UsageSchema: {
|
|
|
1147
1548
|
};
|
|
1148
1549
|
readonly cluster_id: {
|
|
1149
1550
|
readonly type: "string";
|
|
1150
|
-
readonly format: "uuid";
|
|
1151
1551
|
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1152
1552
|
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1153
1553
|
};
|
|
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
1554
|
readonly product: {
|
|
1161
1555
|
readonly type: "string";
|
|
1162
1556
|
readonly description: "The product the usage is associated with";
|
|
1163
1557
|
readonly example: "cfke_controlplane";
|
|
1164
|
-
readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
|
|
1165
1558
|
};
|
|
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
|
-
}];
|
|
1559
|
+
readonly value: {
|
|
1560
|
+
readonly type: "number";
|
|
1561
|
+
readonly format: "float";
|
|
1562
|
+
readonly description: "Consumption";
|
|
1563
|
+
readonly example: 4;
|
|
1186
1564
|
};
|
|
1187
1565
|
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
|
-
}];
|
|
1566
|
+
readonly type: "number";
|
|
1567
|
+
readonly format: "float";
|
|
1568
|
+
readonly description: "Price per unit";
|
|
1569
|
+
readonly example: 0.01;
|
|
1208
1570
|
};
|
|
1209
1571
|
readonly total: {
|
|
1210
|
-
readonly
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
readonly description: "Total";
|
|
1214
|
-
readonly example: 4;
|
|
1215
|
-
}, {
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly enum: readonly [""];
|
|
1218
|
-
}];
|
|
1572
|
+
readonly type: "number";
|
|
1573
|
+
readonly format: "float";
|
|
1574
|
+
readonly description: "Total cost";
|
|
1219
1575
|
};
|
|
1220
1576
|
};
|
|
1221
|
-
readonly required: readonly ["
|
|
1577
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1222
1578
|
readonly additionalProperties: false;
|
|
1223
1579
|
};
|
|
1224
1580
|
export declare const UserCreateInputSchema: {
|