@cloudfleet/sdk 0.0.1-3de42b3 → 0.0.1-4147743
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.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +236 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +134 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +669 -585
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1182 -678
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +141 -76
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +171 -185
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +589 -354
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1612 -2208
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +481 -776
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -7
package/dist/schemas.gen.js
CHANGED
|
@@ -58,15 +58,10 @@ export const BillingContactSchema = {
|
|
|
58
58
|
description: 'Email address used for billing as a string.',
|
|
59
59
|
example: 'email@example.com'
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: 'First name of the billing contact person.',
|
|
64
|
-
example: 'John'
|
|
65
|
-
},
|
|
66
|
-
last_name: {
|
|
61
|
+
individual_name: {
|
|
67
62
|
type: 'string',
|
|
68
|
-
description: '
|
|
69
|
-
example: 'Doe'
|
|
63
|
+
description: 'Name of the billing contact person.',
|
|
64
|
+
example: 'John Doe'
|
|
70
65
|
},
|
|
71
66
|
tax_id: {
|
|
72
67
|
type: 'string',
|
|
@@ -79,10 +74,142 @@ export const BillingContactSchema = {
|
|
|
79
74
|
nullable: true,
|
|
80
75
|
description: 'Type of the tax ID.',
|
|
81
76
|
example: 'de_vat',
|
|
82
|
-
enum: [
|
|
77
|
+
enum: [
|
|
78
|
+
'ad_nrt',
|
|
79
|
+
'ae_trn',
|
|
80
|
+
'al_tin',
|
|
81
|
+
'am_tin',
|
|
82
|
+
'ao_tin',
|
|
83
|
+
'ar_cuit',
|
|
84
|
+
'at_vat',
|
|
85
|
+
'au_abn',
|
|
86
|
+
'au_arn',
|
|
87
|
+
'ba_tin',
|
|
88
|
+
'bb_tin',
|
|
89
|
+
'be_vat',
|
|
90
|
+
'bg_uic',
|
|
91
|
+
'bg_vat',
|
|
92
|
+
'bh_vat',
|
|
93
|
+
'bo_tin',
|
|
94
|
+
'br_cnpj',
|
|
95
|
+
'br_cpf',
|
|
96
|
+
'bs_tin',
|
|
97
|
+
'by_tin',
|
|
98
|
+
'ca_bn',
|
|
99
|
+
'ca_gst_hst',
|
|
100
|
+
'ca_pst_bc',
|
|
101
|
+
'ca_pst_mb',
|
|
102
|
+
'ca_pst_sk',
|
|
103
|
+
'ca_qst',
|
|
104
|
+
'cd_nif',
|
|
105
|
+
'ch_uid',
|
|
106
|
+
'ch_vat',
|
|
107
|
+
'cl_tin',
|
|
108
|
+
'cn_tin',
|
|
109
|
+
'co_nit',
|
|
110
|
+
'cr_tin',
|
|
111
|
+
'cy_vat',
|
|
112
|
+
'cz_vat',
|
|
113
|
+
'de_stn',
|
|
114
|
+
'de_vat',
|
|
115
|
+
'dk_vat',
|
|
116
|
+
'do_rcn',
|
|
117
|
+
'ec_ruc',
|
|
118
|
+
'ee_vat',
|
|
119
|
+
'eg_tin',
|
|
120
|
+
'es_cif',
|
|
121
|
+
'es_vat',
|
|
122
|
+
'eu_oss_vat',
|
|
123
|
+
'fi_vat',
|
|
124
|
+
'fr_vat',
|
|
125
|
+
'gb_vat',
|
|
126
|
+
'ge_vat',
|
|
127
|
+
'gn_nif',
|
|
128
|
+
'gr_vat',
|
|
129
|
+
'hk_br',
|
|
130
|
+
'hr_oib',
|
|
131
|
+
'hr_vat',
|
|
132
|
+
'hu_tin',
|
|
133
|
+
'hu_vat',
|
|
134
|
+
'id_npwp',
|
|
135
|
+
'ie_vat',
|
|
136
|
+
'il_vat',
|
|
137
|
+
'in_gst',
|
|
138
|
+
'is_vat',
|
|
139
|
+
'it_vat',
|
|
140
|
+
'jp_cn',
|
|
141
|
+
'jp_rn',
|
|
142
|
+
'jp_trn',
|
|
143
|
+
'ke_pin',
|
|
144
|
+
'kh_tin',
|
|
145
|
+
'kr_brn',
|
|
146
|
+
'kz_bin',
|
|
147
|
+
'li_uid',
|
|
148
|
+
'li_vat',
|
|
149
|
+
'lt_vat',
|
|
150
|
+
'lu_vat',
|
|
151
|
+
'lv_vat',
|
|
152
|
+
'ma_vat',
|
|
153
|
+
'md_vat',
|
|
154
|
+
'me_pib',
|
|
155
|
+
'mk_vat',
|
|
156
|
+
'mr_nif',
|
|
157
|
+
'mt_vat',
|
|
158
|
+
'mx_rfc',
|
|
159
|
+
'my_frp',
|
|
160
|
+
'my_itn',
|
|
161
|
+
'my_sst',
|
|
162
|
+
'ng_tin',
|
|
163
|
+
'nl_vat',
|
|
164
|
+
'no_vat',
|
|
165
|
+
'no_voec',
|
|
166
|
+
'np_pan',
|
|
167
|
+
'nz_gst',
|
|
168
|
+
'om_vat',
|
|
169
|
+
'pe_ruc',
|
|
170
|
+
'ph_tin',
|
|
171
|
+
'pl_vat',
|
|
172
|
+
'pt_vat',
|
|
173
|
+
'ro_tin',
|
|
174
|
+
'ro_vat',
|
|
175
|
+
'rs_pib',
|
|
176
|
+
'ru_inn',
|
|
177
|
+
'ru_kpp',
|
|
178
|
+
'sa_vat',
|
|
179
|
+
'se_vat',
|
|
180
|
+
'sg_gst',
|
|
181
|
+
'sg_uen',
|
|
182
|
+
'si_tin',
|
|
183
|
+
'si_vat',
|
|
184
|
+
'sk_vat',
|
|
185
|
+
'sn_ninea',
|
|
186
|
+
'sr_fin',
|
|
187
|
+
'sv_nit',
|
|
188
|
+
'th_vat',
|
|
189
|
+
'tj_tin',
|
|
190
|
+
'tr_tin',
|
|
191
|
+
'tw_vat',
|
|
192
|
+
'tz_vat',
|
|
193
|
+
'ua_vat',
|
|
194
|
+
'ug_tin',
|
|
195
|
+
'us_ein',
|
|
196
|
+
'uy_ruc',
|
|
197
|
+
'uz_tin',
|
|
198
|
+
'uz_vat',
|
|
199
|
+
've_rif',
|
|
200
|
+
'vn_tin',
|
|
201
|
+
'xi_vat',
|
|
202
|
+
'za_vat',
|
|
203
|
+
'zm_tin',
|
|
204
|
+
'zw_tin',
|
|
205
|
+
''
|
|
206
|
+
]
|
|
83
207
|
}
|
|
84
208
|
},
|
|
85
|
-
required: [
|
|
209
|
+
required: [
|
|
210
|
+
'email',
|
|
211
|
+
'individual_name'
|
|
212
|
+
],
|
|
86
213
|
additionalProperties: false
|
|
87
214
|
};
|
|
88
215
|
export const BillingCreditsSchema = {
|
|
@@ -93,10 +220,25 @@ export const BillingCreditsSchema = {
|
|
|
93
220
|
description: 'Generated unique identifier of the promotional code.',
|
|
94
221
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
95
222
|
},
|
|
96
|
-
|
|
223
|
+
type: {
|
|
224
|
+
type: 'string',
|
|
225
|
+
description: 'Type of the promotional code.',
|
|
226
|
+
example: 'credit',
|
|
227
|
+
enum: [
|
|
228
|
+
'credit',
|
|
229
|
+
'discount'
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
date_start: {
|
|
97
233
|
type: 'string',
|
|
98
234
|
format: 'date-time',
|
|
99
|
-
description: '
|
|
235
|
+
description: 'Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.',
|
|
236
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
237
|
+
},
|
|
238
|
+
date_end: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
format: 'date-time',
|
|
241
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
100
242
|
example: '2023-12-20T13:53:32.000Z'
|
|
101
243
|
},
|
|
102
244
|
code: {
|
|
@@ -109,40 +251,25 @@ export const BillingCreditsSchema = {
|
|
|
109
251
|
description: 'Description of the promotional code.',
|
|
110
252
|
example: '10% off on all products'
|
|
111
253
|
},
|
|
112
|
-
|
|
113
|
-
type: 'array',
|
|
114
|
-
items: {
|
|
115
|
-
type: 'string'
|
|
116
|
-
},
|
|
117
|
-
description: 'List of product SKUs that the promotional code can be used on.',
|
|
118
|
-
example: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
119
|
-
},
|
|
120
|
-
type: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Type of the promotional code.',
|
|
123
|
-
example: 'credit',
|
|
124
|
-
enum: ['credit', 'discount']
|
|
125
|
-
},
|
|
126
|
-
value: {
|
|
254
|
+
value_total: {
|
|
127
255
|
type: 'number',
|
|
128
256
|
format: 'float',
|
|
129
|
-
description: '
|
|
257
|
+
description: 'Total value of the promotional code.',
|
|
130
258
|
example: 10
|
|
131
259
|
},
|
|
132
|
-
billing_period: {
|
|
133
|
-
type: 'string',
|
|
134
|
-
format: 'date-time',
|
|
135
|
-
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
136
|
-
example: '2023-12-20T13:53:32.000Z'
|
|
137
|
-
},
|
|
138
260
|
value_remaining: {
|
|
139
261
|
type: 'number',
|
|
140
262
|
format: 'float',
|
|
141
|
-
description: '
|
|
142
|
-
example:
|
|
263
|
+
description: 'Remaining value of the promotional code.',
|
|
264
|
+
example: 8
|
|
143
265
|
}
|
|
144
266
|
},
|
|
145
|
-
required: [
|
|
267
|
+
required: [
|
|
268
|
+
'type',
|
|
269
|
+
'date_start',
|
|
270
|
+
'code',
|
|
271
|
+
'value_total'
|
|
272
|
+
],
|
|
146
273
|
additionalProperties: false
|
|
147
274
|
};
|
|
148
275
|
export const ChartCreateInputSchema = {
|
|
@@ -183,7 +310,13 @@ export const ChartCreateInputSchema = {
|
|
|
183
310
|
example: 'postgresql'
|
|
184
311
|
}
|
|
185
312
|
},
|
|
186
|
-
required: [
|
|
313
|
+
required: [
|
|
314
|
+
'values',
|
|
315
|
+
'version_channel',
|
|
316
|
+
'name',
|
|
317
|
+
'namespace',
|
|
318
|
+
'chart'
|
|
319
|
+
],
|
|
187
320
|
additionalProperties: false
|
|
188
321
|
};
|
|
189
322
|
export const ChartSchema = {
|
|
@@ -227,7 +360,22 @@ export const ChartSchema = {
|
|
|
227
360
|
type: 'string',
|
|
228
361
|
description: 'Status of the chart deployment.',
|
|
229
362
|
example: 'active',
|
|
230
|
-
enum: [
|
|
363
|
+
enum: [
|
|
364
|
+
'InstallSucceeded',
|
|
365
|
+
'InstallFailed',
|
|
366
|
+
'UpgradeSucceeded',
|
|
367
|
+
'UpgradeFailed',
|
|
368
|
+
'TestSucceeded',
|
|
369
|
+
'TestFailed',
|
|
370
|
+
'RollbackSucceeded',
|
|
371
|
+
'RollbackFailed',
|
|
372
|
+
'UninstallSucceeded',
|
|
373
|
+
'UninstallFailed',
|
|
374
|
+
'ArtifactFailed',
|
|
375
|
+
'DependencyNotReady',
|
|
376
|
+
'Progressing',
|
|
377
|
+
'SourceNotReady'
|
|
378
|
+
]
|
|
231
379
|
},
|
|
232
380
|
version_current: {
|
|
233
381
|
type: 'string',
|
|
@@ -250,7 +398,18 @@ export const ChartSchema = {
|
|
|
250
398
|
example: true
|
|
251
399
|
}
|
|
252
400
|
},
|
|
253
|
-
required: [
|
|
401
|
+
required: [
|
|
402
|
+
'values',
|
|
403
|
+
'version_channel',
|
|
404
|
+
'name',
|
|
405
|
+
'namespace',
|
|
406
|
+
'chart',
|
|
407
|
+
'status',
|
|
408
|
+
'version_current',
|
|
409
|
+
'created_at',
|
|
410
|
+
'updated_at',
|
|
411
|
+
'ready'
|
|
412
|
+
],
|
|
254
413
|
additionalProperties: false
|
|
255
414
|
};
|
|
256
415
|
export const ChartUpdateInputSchema = {
|
|
@@ -267,7 +426,10 @@ export const ChartUpdateInputSchema = {
|
|
|
267
426
|
example: '2.x.x-cfke.x'
|
|
268
427
|
}
|
|
269
428
|
},
|
|
270
|
-
required: [
|
|
429
|
+
required: [
|
|
430
|
+
'values',
|
|
431
|
+
'version_channel'
|
|
432
|
+
],
|
|
271
433
|
additionalProperties: false
|
|
272
434
|
};
|
|
273
435
|
export const ClusterCreateInputSchema = {
|
|
@@ -281,28 +443,45 @@ export const ClusterCreateInputSchema = {
|
|
|
281
443
|
description: 'Name of the cluster.',
|
|
282
444
|
example: 'production-cluster'
|
|
283
445
|
},
|
|
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
446
|
tier: {
|
|
292
447
|
type: 'string',
|
|
293
448
|
description: 'Tier of the cluster.',
|
|
294
449
|
example: 'pro',
|
|
295
|
-
enum: [
|
|
450
|
+
enum: [
|
|
451
|
+
'basic',
|
|
452
|
+
'pro'
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
region: {
|
|
456
|
+
type: 'string',
|
|
457
|
+
description: 'Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
|
|
458
|
+
default: 'staging-1a',
|
|
459
|
+
example: 'northamerica-central-1a',
|
|
460
|
+
enum: [
|
|
461
|
+
'staging-1a',
|
|
462
|
+
'northamerica-central-1',
|
|
463
|
+
'europe-central-1a',
|
|
464
|
+
'northamerica-central-1a'
|
|
465
|
+
]
|
|
296
466
|
},
|
|
297
467
|
version_channel: {
|
|
298
468
|
type: 'string',
|
|
299
469
|
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-]+)*))?$',
|
|
300
470
|
description: 'Version of the kubernetes cluster.',
|
|
301
471
|
default: '1.x.x-cfke.x',
|
|
302
|
-
example: '1.
|
|
472
|
+
example: '1.x.x-cfke.x',
|
|
473
|
+
enum: [
|
|
474
|
+
'1.x.x-cfke.x',
|
|
475
|
+
'1.31.x-cfke.x',
|
|
476
|
+
'1.32.x-cfke.x',
|
|
477
|
+
'1.33.x-cfke.x'
|
|
478
|
+
]
|
|
303
479
|
}
|
|
304
480
|
},
|
|
305
|
-
required: [
|
|
481
|
+
required: [
|
|
482
|
+
'name',
|
|
483
|
+
'tier'
|
|
484
|
+
],
|
|
306
485
|
additionalProperties: false
|
|
307
486
|
};
|
|
308
487
|
export const ClusterJoinInformationSchema = {
|
|
@@ -311,8 +490,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
311
490
|
certificate_authority: {
|
|
312
491
|
type: 'string',
|
|
313
492
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
314
|
-
example:
|
|
315
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
493
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
316
494
|
},
|
|
317
495
|
endpoint: {
|
|
318
496
|
type: 'string',
|
|
@@ -320,6 +498,11 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
320
498
|
description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
|
|
321
499
|
example: 'https://10.31.64.7:6443'
|
|
322
500
|
},
|
|
501
|
+
cluster_dns: {
|
|
502
|
+
type: 'string',
|
|
503
|
+
description: 'Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.',
|
|
504
|
+
example: '10.96.0.10'
|
|
505
|
+
},
|
|
323
506
|
auth_key: {
|
|
324
507
|
type: 'string',
|
|
325
508
|
description: 'Authentication key for the cluster.',
|
|
@@ -336,7 +519,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
336
519
|
kubernetes: {
|
|
337
520
|
type: 'string',
|
|
338
521
|
description: 'Kubernetes version of the cluster.',
|
|
339
|
-
example: '1.
|
|
522
|
+
example: '1.33.7'
|
|
340
523
|
},
|
|
341
524
|
tailscale: {
|
|
342
525
|
type: 'string',
|
|
@@ -347,9 +530,19 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
347
530
|
type: 'string',
|
|
348
531
|
description: 'Containerd version of the cluster.',
|
|
349
532
|
example: '1.7.19'
|
|
533
|
+
},
|
|
534
|
+
nvidia_driver: {
|
|
535
|
+
type: 'string',
|
|
536
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
537
|
+
example: '565.0.0'
|
|
350
538
|
}
|
|
351
539
|
},
|
|
352
|
-
required: [
|
|
540
|
+
required: [
|
|
541
|
+
'kubernetes',
|
|
542
|
+
'tailscale',
|
|
543
|
+
'containerd',
|
|
544
|
+
'nvidia_driver'
|
|
545
|
+
],
|
|
353
546
|
additionalProperties: false,
|
|
354
547
|
description: 'Versions of the different components of the cluster.'
|
|
355
548
|
},
|
|
@@ -372,12 +565,24 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
372
565
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
373
566
|
}
|
|
374
567
|
},
|
|
375
|
-
required: [
|
|
568
|
+
required: [
|
|
569
|
+
'metadata_url',
|
|
570
|
+
'aws_role_arn',
|
|
571
|
+
'gcp_workload_identity_provider'
|
|
572
|
+
],
|
|
376
573
|
additionalProperties: false,
|
|
377
|
-
description:
|
|
574
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
378
575
|
}
|
|
379
576
|
},
|
|
380
|
-
required: [
|
|
577
|
+
required: [
|
|
578
|
+
'certificate_authority',
|
|
579
|
+
'endpoint',
|
|
580
|
+
'cluster_dns',
|
|
581
|
+
'auth_key',
|
|
582
|
+
'bootstrap_token',
|
|
583
|
+
'versions',
|
|
584
|
+
'third_party_api_access_config'
|
|
585
|
+
],
|
|
381
586
|
additionalProperties: false
|
|
382
587
|
};
|
|
383
588
|
export const ClusterSchema = {
|
|
@@ -391,25 +596,26 @@ export const ClusterSchema = {
|
|
|
391
596
|
description: 'Name of the cluster.',
|
|
392
597
|
example: 'production-cluster'
|
|
393
598
|
},
|
|
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
599
|
tier: {
|
|
402
600
|
type: 'string',
|
|
403
601
|
description: 'Tier of the cluster.',
|
|
404
602
|
example: 'pro',
|
|
405
|
-
enum: [
|
|
603
|
+
enum: [
|
|
604
|
+
'basic',
|
|
605
|
+
'pro'
|
|
606
|
+
]
|
|
406
607
|
},
|
|
407
|
-
|
|
608
|
+
region: {
|
|
408
609
|
type: 'string',
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
610
|
+
description: 'Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
|
|
611
|
+
default: 'staging-1a',
|
|
612
|
+
example: 'northamerica-central-1a',
|
|
613
|
+
enum: [
|
|
614
|
+
'staging-1a',
|
|
615
|
+
'northamerica-central-1',
|
|
616
|
+
'europe-central-1a',
|
|
617
|
+
'northamerica-central-1a'
|
|
618
|
+
]
|
|
413
619
|
},
|
|
414
620
|
id: {
|
|
415
621
|
type: 'string',
|
|
@@ -421,7 +627,15 @@ export const ClusterSchema = {
|
|
|
421
627
|
type: 'string',
|
|
422
628
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
423
629
|
example: 'active',
|
|
424
|
-
enum: [
|
|
630
|
+
enum: [
|
|
631
|
+
'active',
|
|
632
|
+
'disabled',
|
|
633
|
+
'deleted',
|
|
634
|
+
'creating',
|
|
635
|
+
'deployed',
|
|
636
|
+
'failed',
|
|
637
|
+
'updating'
|
|
638
|
+
]
|
|
425
639
|
},
|
|
426
640
|
endpoint: {
|
|
427
641
|
anyOf: [
|
|
@@ -433,20 +647,21 @@ export const ClusterSchema = {
|
|
|
433
647
|
},
|
|
434
648
|
{
|
|
435
649
|
type: 'string',
|
|
436
|
-
enum: [
|
|
650
|
+
enum: [
|
|
651
|
+
''
|
|
652
|
+
]
|
|
437
653
|
}
|
|
438
654
|
]
|
|
439
655
|
},
|
|
440
656
|
certificate_ca: {
|
|
441
657
|
type: 'string',
|
|
442
658
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
443
|
-
example:
|
|
444
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
659
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
445
660
|
},
|
|
446
661
|
version_current: {
|
|
447
662
|
type: 'string',
|
|
448
663
|
description: 'Current version of the cluster.',
|
|
449
|
-
example: '1.
|
|
664
|
+
example: '1.33.7-cfke.264'
|
|
450
665
|
},
|
|
451
666
|
created_at: {
|
|
452
667
|
type: 'string',
|
|
@@ -462,9 +677,20 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
462
677
|
type: 'boolean',
|
|
463
678
|
description: 'Indicates if the cluster is ready to be used.',
|
|
464
679
|
example: true
|
|
680
|
+
},
|
|
681
|
+
version_channel: {
|
|
682
|
+
type: 'string',
|
|
683
|
+
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-]+)*))?$',
|
|
684
|
+
description: 'Version of the kubernetes cluster.',
|
|
685
|
+
example: '1.x.x-cfke.x'
|
|
465
686
|
}
|
|
466
687
|
},
|
|
467
|
-
required: [
|
|
688
|
+
required: [
|
|
689
|
+
'name',
|
|
690
|
+
'tier',
|
|
691
|
+
'id',
|
|
692
|
+
'status'
|
|
693
|
+
],
|
|
468
694
|
additionalProperties: false
|
|
469
695
|
};
|
|
470
696
|
export const ClusterUpdateInputSchema = {
|
|
@@ -478,13 +704,25 @@ export const ClusterUpdateInputSchema = {
|
|
|
478
704
|
description: 'Name of the cluster.',
|
|
479
705
|
example: 'production-cluster'
|
|
480
706
|
},
|
|
707
|
+
tier: {
|
|
708
|
+
type: 'string',
|
|
709
|
+
description: 'Tier of the cluster.',
|
|
710
|
+
example: 'pro',
|
|
711
|
+
enum: [
|
|
712
|
+
'basic',
|
|
713
|
+
'pro'
|
|
714
|
+
]
|
|
715
|
+
},
|
|
481
716
|
version_channel: {
|
|
482
717
|
type: 'string',
|
|
483
718
|
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-]+)*))?$',
|
|
484
719
|
description: 'Version of the kubernetes cluster.',
|
|
485
|
-
example: '1.
|
|
720
|
+
example: '1.x.x-cfke.x'
|
|
486
721
|
}
|
|
487
722
|
},
|
|
723
|
+
required: [
|
|
724
|
+
'tier'
|
|
725
|
+
],
|
|
488
726
|
additionalProperties: false
|
|
489
727
|
};
|
|
490
728
|
export const FleetCreateInputSchema = {
|
|
@@ -500,7 +738,9 @@ export const FleetCreateInputSchema = {
|
|
|
500
738
|
description: 'CPU limit in cores.'
|
|
501
739
|
}
|
|
502
740
|
},
|
|
503
|
-
required: [
|
|
741
|
+
required: [
|
|
742
|
+
'cpu'
|
|
743
|
+
],
|
|
504
744
|
additionalProperties: false,
|
|
505
745
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
506
746
|
},
|
|
@@ -516,38 +756,27 @@ export const FleetCreateInputSchema = {
|
|
|
516
756
|
description: 'Project GCP Project id to deploy instances into'
|
|
517
757
|
}
|
|
518
758
|
},
|
|
519
|
-
required: [
|
|
759
|
+
required: [
|
|
760
|
+
'project'
|
|
761
|
+
],
|
|
520
762
|
additionalProperties: false
|
|
521
763
|
},
|
|
522
764
|
hetzner: {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
type: 'boolean',
|
|
529
|
-
default: true
|
|
530
|
-
},
|
|
531
|
-
apiKey: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
additionalProperties: false
|
|
765
|
+
type: 'object',
|
|
766
|
+
properties: {
|
|
767
|
+
enabled: {
|
|
768
|
+
type: 'boolean',
|
|
769
|
+
default: true
|
|
536
770
|
},
|
|
537
|
-
{
|
|
538
|
-
type: '
|
|
539
|
-
|
|
540
|
-
apiKey: {
|
|
541
|
-
type: 'string'
|
|
542
|
-
},
|
|
543
|
-
enabled: {
|
|
544
|
-
type: 'boolean',
|
|
545
|
-
default: true
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
additionalProperties: false
|
|
771
|
+
apiKey: {
|
|
772
|
+
type: 'string',
|
|
773
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
549
774
|
}
|
|
550
|
-
|
|
775
|
+
},
|
|
776
|
+
required: [
|
|
777
|
+
'apiKey'
|
|
778
|
+
],
|
|
779
|
+
additionalProperties: false
|
|
551
780
|
},
|
|
552
781
|
aws: {
|
|
553
782
|
type: 'object',
|
|
@@ -561,7 +790,9 @@ export const FleetCreateInputSchema = {
|
|
|
561
790
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
562
791
|
}
|
|
563
792
|
},
|
|
564
|
-
required: [
|
|
793
|
+
required: [
|
|
794
|
+
'controllerRoleArn'
|
|
795
|
+
],
|
|
565
796
|
additionalProperties: false
|
|
566
797
|
},
|
|
567
798
|
id: {
|
|
@@ -571,14 +802,11 @@ export const FleetCreateInputSchema = {
|
|
|
571
802
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
572
803
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
573
804
|
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
805
|
}
|
|
580
806
|
},
|
|
581
|
-
required: [
|
|
807
|
+
required: [
|
|
808
|
+
'id'
|
|
809
|
+
],
|
|
582
810
|
additionalProperties: false
|
|
583
811
|
};
|
|
584
812
|
export const FleetSchema = {
|
|
@@ -594,7 +822,9 @@ export const FleetSchema = {
|
|
|
594
822
|
description: 'CPU limit in cores.'
|
|
595
823
|
}
|
|
596
824
|
},
|
|
597
|
-
required: [
|
|
825
|
+
required: [
|
|
826
|
+
'cpu'
|
|
827
|
+
],
|
|
598
828
|
additionalProperties: false,
|
|
599
829
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
600
830
|
},
|
|
@@ -610,38 +840,27 @@ export const FleetSchema = {
|
|
|
610
840
|
description: 'Project GCP Project id to deploy instances into'
|
|
611
841
|
}
|
|
612
842
|
},
|
|
613
|
-
required: [
|
|
843
|
+
required: [
|
|
844
|
+
'project'
|
|
845
|
+
],
|
|
614
846
|
additionalProperties: false
|
|
615
847
|
},
|
|
616
848
|
hetzner: {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
type: 'boolean',
|
|
623
|
-
default: true
|
|
624
|
-
},
|
|
625
|
-
apiKey: {
|
|
626
|
-
type: 'string'
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
additionalProperties: false
|
|
849
|
+
type: 'object',
|
|
850
|
+
properties: {
|
|
851
|
+
enabled: {
|
|
852
|
+
type: 'boolean',
|
|
853
|
+
default: true
|
|
630
854
|
},
|
|
631
|
-
{
|
|
632
|
-
type: '
|
|
633
|
-
|
|
634
|
-
apiKey: {
|
|
635
|
-
type: 'string'
|
|
636
|
-
},
|
|
637
|
-
enabled: {
|
|
638
|
-
type: 'boolean',
|
|
639
|
-
default: true
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
additionalProperties: false
|
|
855
|
+
apiKey: {
|
|
856
|
+
type: 'string',
|
|
857
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
643
858
|
}
|
|
644
|
-
|
|
859
|
+
},
|
|
860
|
+
required: [
|
|
861
|
+
'apiKey'
|
|
862
|
+
],
|
|
863
|
+
additionalProperties: false
|
|
645
864
|
},
|
|
646
865
|
aws: {
|
|
647
866
|
type: 'object',
|
|
@@ -655,7 +874,9 @@ export const FleetSchema = {
|
|
|
655
874
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
656
875
|
}
|
|
657
876
|
},
|
|
658
|
-
required: [
|
|
877
|
+
required: [
|
|
878
|
+
'controllerRoleArn'
|
|
879
|
+
],
|
|
659
880
|
additionalProperties: false
|
|
660
881
|
},
|
|
661
882
|
id: {
|
|
@@ -665,14 +886,11 @@ export const FleetSchema = {
|
|
|
665
886
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
666
887
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
667
888
|
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
889
|
}
|
|
674
890
|
},
|
|
675
|
-
required: [
|
|
891
|
+
required: [
|
|
892
|
+
'id'
|
|
893
|
+
],
|
|
676
894
|
additionalProperties: false
|
|
677
895
|
};
|
|
678
896
|
export const FleetUpdateInputSchema = {
|
|
@@ -688,7 +906,9 @@ export const FleetUpdateInputSchema = {
|
|
|
688
906
|
description: 'CPU limit in cores.'
|
|
689
907
|
}
|
|
690
908
|
},
|
|
691
|
-
required: [
|
|
909
|
+
required: [
|
|
910
|
+
'cpu'
|
|
911
|
+
],
|
|
692
912
|
additionalProperties: false,
|
|
693
913
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
694
914
|
},
|
|
@@ -704,38 +924,27 @@ export const FleetUpdateInputSchema = {
|
|
|
704
924
|
description: 'Project GCP Project id to deploy instances into'
|
|
705
925
|
}
|
|
706
926
|
},
|
|
707
|
-
required: [
|
|
927
|
+
required: [
|
|
928
|
+
'project'
|
|
929
|
+
],
|
|
708
930
|
additionalProperties: false
|
|
709
931
|
},
|
|
710
932
|
hetzner: {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
type: 'boolean',
|
|
717
|
-
default: true
|
|
718
|
-
},
|
|
719
|
-
apiKey: {
|
|
720
|
-
type: 'string'
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
additionalProperties: false
|
|
933
|
+
type: 'object',
|
|
934
|
+
properties: {
|
|
935
|
+
enabled: {
|
|
936
|
+
type: 'boolean',
|
|
937
|
+
default: true
|
|
724
938
|
},
|
|
725
|
-
{
|
|
726
|
-
type: '
|
|
727
|
-
|
|
728
|
-
apiKey: {
|
|
729
|
-
type: 'string'
|
|
730
|
-
},
|
|
731
|
-
enabled: {
|
|
732
|
-
type: 'boolean',
|
|
733
|
-
default: true
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
additionalProperties: false
|
|
939
|
+
apiKey: {
|
|
940
|
+
type: 'string',
|
|
941
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
737
942
|
}
|
|
738
|
-
|
|
943
|
+
},
|
|
944
|
+
required: [
|
|
945
|
+
'apiKey'
|
|
946
|
+
],
|
|
947
|
+
additionalProperties: false
|
|
739
948
|
},
|
|
740
949
|
aws: {
|
|
741
950
|
type: 'object',
|
|
@@ -749,7 +958,9 @@ export const FleetUpdateInputSchema = {
|
|
|
749
958
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
750
959
|
}
|
|
751
960
|
},
|
|
752
|
-
required: [
|
|
961
|
+
required: [
|
|
962
|
+
'controllerRoleArn'
|
|
963
|
+
],
|
|
753
964
|
additionalProperties: false
|
|
754
965
|
}
|
|
755
966
|
},
|
|
@@ -787,7 +998,9 @@ export const InviteSchema = {
|
|
|
787
998
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
788
999
|
}
|
|
789
1000
|
},
|
|
790
|
-
required: [
|
|
1001
|
+
required: [
|
|
1002
|
+
'date_created'
|
|
1003
|
+
],
|
|
791
1004
|
additionalProperties: false
|
|
792
1005
|
};
|
|
793
1006
|
export const InvoiceSchema = {
|
|
@@ -795,23 +1008,18 @@ export const InvoiceSchema = {
|
|
|
795
1008
|
properties: {
|
|
796
1009
|
id: {
|
|
797
1010
|
type: 'string',
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1011
|
+
description: 'Unique identifier of the invoice.',
|
|
1012
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
801
1013
|
},
|
|
802
|
-
|
|
803
|
-
type: 'string'
|
|
804
|
-
format: 'uuid',
|
|
805
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
806
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1014
|
+
number: {
|
|
1015
|
+
type: 'string'
|
|
807
1016
|
},
|
|
808
1017
|
status: {
|
|
809
1018
|
type: 'string',
|
|
810
1019
|
description: 'Status of the invoice',
|
|
811
|
-
example: '
|
|
812
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
1020
|
+
example: 'paid'
|
|
813
1021
|
},
|
|
814
|
-
|
|
1022
|
+
total: {
|
|
815
1023
|
type: 'number',
|
|
816
1024
|
format: 'float',
|
|
817
1025
|
description: 'Total amount of the invoice',
|
|
@@ -820,413 +1028,189 @@ export const InvoiceSchema = {
|
|
|
820
1028
|
currency: {
|
|
821
1029
|
type: 'string',
|
|
822
1030
|
description: 'Currency of the invoice',
|
|
823
|
-
example: '
|
|
824
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
825
|
-
},
|
|
826
|
-
creditAdj: {
|
|
827
|
-
type: 'number',
|
|
828
|
-
format: 'float',
|
|
829
|
-
description: 'Total amount of credit adjustments',
|
|
830
|
-
example: 0
|
|
1031
|
+
example: 'usd'
|
|
831
1032
|
},
|
|
832
|
-
|
|
833
|
-
type: '
|
|
834
|
-
format: '
|
|
835
|
-
description: '
|
|
836
|
-
example:
|
|
1033
|
+
created: {
|
|
1034
|
+
type: 'string',
|
|
1035
|
+
format: 'date-time',
|
|
1036
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
1037
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
837
1038
|
},
|
|
838
|
-
|
|
1039
|
+
period_start: {
|
|
839
1040
|
type: 'string',
|
|
840
|
-
|
|
841
|
-
|
|
1041
|
+
format: 'date-time',
|
|
1042
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1043
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
842
1044
|
},
|
|
843
|
-
|
|
1045
|
+
period_end: {
|
|
844
1046
|
type: 'string',
|
|
845
|
-
|
|
846
|
-
|
|
1047
|
+
format: 'date-time',
|
|
1048
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1049
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
847
1050
|
},
|
|
848
|
-
|
|
1051
|
+
invoice_pdf: {
|
|
1052
|
+
type: 'string'
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
required: [
|
|
1056
|
+
'created',
|
|
1057
|
+
'period_start',
|
|
1058
|
+
'period_end'
|
|
1059
|
+
],
|
|
1060
|
+
additionalProperties: false
|
|
1061
|
+
};
|
|
1062
|
+
export const MarketplaceListingFilesSchema = {
|
|
1063
|
+
type: 'object',
|
|
1064
|
+
properties: {
|
|
1065
|
+
chartYaml: {
|
|
849
1066
|
type: 'string',
|
|
850
|
-
description: '
|
|
851
|
-
example: '
|
|
1067
|
+
description: 'Raw Chart.yaml content from the Helm chart',
|
|
1068
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
852
1069
|
},
|
|
853
|
-
|
|
854
|
-
type: '
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
example: 100
|
|
1070
|
+
valuesYaml: {
|
|
1071
|
+
type: 'string',
|
|
1072
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
1073
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
858
1074
|
},
|
|
859
|
-
|
|
1075
|
+
valuesSchemaJson: {
|
|
1076
|
+
type: 'string',
|
|
1077
|
+
description: 'JSON schema for values.yaml as a string',
|
|
1078
|
+
example: '{"type":"object","properties":{"replicaCount":{"type":"number"}}}'
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
additionalProperties: false
|
|
1082
|
+
};
|
|
1083
|
+
export const MarketplaceListingSchema = {
|
|
1084
|
+
type: 'object',
|
|
1085
|
+
properties: {
|
|
1086
|
+
name: {
|
|
860
1087
|
type: 'string',
|
|
861
|
-
description: '
|
|
862
|
-
example: '
|
|
1088
|
+
description: 'Name of the chart',
|
|
1089
|
+
example: 'nginx-ingress'
|
|
863
1090
|
},
|
|
864
|
-
|
|
1091
|
+
versions: {
|
|
865
1092
|
type: 'array',
|
|
866
1093
|
items: {
|
|
867
|
-
type: '
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
format: 'uuid',
|
|
872
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
873
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
874
|
-
},
|
|
875
|
-
linkedInvoiceItemId: {
|
|
876
|
-
type: 'string',
|
|
877
|
-
format: 'uuid',
|
|
878
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
879
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
880
|
-
},
|
|
881
|
-
productName: {
|
|
882
|
-
type: 'string',
|
|
883
|
-
description: 'Name of the product',
|
|
884
|
-
example: 'Research team'
|
|
885
|
-
},
|
|
886
|
-
planName: {
|
|
887
|
-
type: 'string',
|
|
888
|
-
description: 'Name of the plan',
|
|
889
|
-
example: 'Plan A'
|
|
890
|
-
},
|
|
891
|
-
phaseName: {
|
|
892
|
-
type: 'string',
|
|
893
|
-
description: 'Name of the phase',
|
|
894
|
-
example: 'Phase A'
|
|
895
|
-
},
|
|
896
|
-
usageName: {
|
|
897
|
-
type: 'string',
|
|
898
|
-
description: 'Name of the usage',
|
|
899
|
-
example: 'Usage A'
|
|
900
|
-
},
|
|
901
|
-
prettyProductName: {
|
|
902
|
-
type: 'string',
|
|
903
|
-
description: 'Pretty name of the product',
|
|
904
|
-
example: 'Research team'
|
|
905
|
-
},
|
|
906
|
-
prettyPlanName: {
|
|
907
|
-
type: 'string',
|
|
908
|
-
description: 'Pretty name of the plan',
|
|
909
|
-
example: 'Plan A'
|
|
910
|
-
},
|
|
911
|
-
prettyPhaseName: {
|
|
912
|
-
type: 'string',
|
|
913
|
-
description: 'Pretty name of the phase',
|
|
914
|
-
example: 'Phase A'
|
|
915
|
-
},
|
|
916
|
-
prettyUsageName: {
|
|
917
|
-
type: 'string',
|
|
918
|
-
description: 'Pretty name of the usage',
|
|
919
|
-
example: 'Usage A'
|
|
920
|
-
},
|
|
921
|
-
itemType: {
|
|
922
|
-
type: 'string',
|
|
923
|
-
description: 'Type of the invoice item',
|
|
924
|
-
example: 'EXTERNAL_CHARGE',
|
|
925
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
926
|
-
},
|
|
927
|
-
description: {
|
|
928
|
-
type: 'string',
|
|
929
|
-
description: 'Description of the invoice item',
|
|
930
|
-
example: 'Description of the invoice item'
|
|
931
|
-
},
|
|
932
|
-
startDate: {
|
|
933
|
-
type: 'string',
|
|
934
|
-
description: 'Start date of the invoice item',
|
|
935
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
936
|
-
},
|
|
937
|
-
endDate: {
|
|
938
|
-
type: 'string',
|
|
939
|
-
description: 'End date of the invoice item',
|
|
940
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
941
|
-
},
|
|
942
|
-
amount: {
|
|
943
|
-
type: 'number',
|
|
944
|
-
format: 'float',
|
|
945
|
-
description: 'Amount of the invoice item',
|
|
946
|
-
example: 100
|
|
947
|
-
},
|
|
948
|
-
rate: {
|
|
949
|
-
type: 'number',
|
|
950
|
-
format: 'float',
|
|
951
|
-
description: 'Rate of the invoice item',
|
|
952
|
-
example: 100
|
|
953
|
-
},
|
|
954
|
-
currency: {
|
|
955
|
-
type: 'string',
|
|
956
|
-
description: 'Currency of the invoice item',
|
|
957
|
-
example: 'USD',
|
|
958
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
959
|
-
},
|
|
960
|
-
quantity: {
|
|
961
|
-
type: 'number',
|
|
962
|
-
format: 'float',
|
|
963
|
-
description: 'Quantity of the invoice item',
|
|
964
|
-
example: 1
|
|
965
|
-
},
|
|
966
|
-
itemDetails: {
|
|
967
|
-
type: 'string',
|
|
968
|
-
description: 'Details of the invoice item',
|
|
969
|
-
example: 'Details of the invoice item'
|
|
970
|
-
},
|
|
971
|
-
catalogEffectiveDate: {
|
|
972
|
-
type: 'string',
|
|
973
|
-
description: 'Effective date of the catalog',
|
|
974
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
975
|
-
},
|
|
976
|
-
childItems: {
|
|
977
|
-
type: 'array',
|
|
978
|
-
items: {
|
|
979
|
-
oneOf: [
|
|
980
|
-
{
|
|
981
|
-
type: 'array'
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
type: 'boolean'
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
type: 'number'
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
type: 'object',
|
|
991
|
-
additionalProperties: true
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
type: 'string'
|
|
995
|
-
}
|
|
996
|
-
]
|
|
997
|
-
},
|
|
998
|
-
description: 'Child items of the invoice item'
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
additionalProperties: false
|
|
1094
|
+
type: 'string',
|
|
1095
|
+
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-]+)*))?$',
|
|
1096
|
+
description: 'Specific version of the chart',
|
|
1097
|
+
example: '1.18.2-cfke.45'
|
|
1002
1098
|
},
|
|
1003
|
-
description: '
|
|
1099
|
+
description: 'Available versions of the chart'
|
|
1004
1100
|
},
|
|
1005
|
-
|
|
1101
|
+
version_channels: {
|
|
1006
1102
|
type: 'array',
|
|
1007
1103
|
items: {
|
|
1008
|
-
type: '
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1104
|
+
type: 'string',
|
|
1105
|
+
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-]+)*))?$',
|
|
1106
|
+
description: 'Version channel pattern',
|
|
1107
|
+
example: '1.18.x-cfke.x'
|
|
1108
|
+
},
|
|
1109
|
+
description: 'Version channels for the chart'
|
|
1110
|
+
},
|
|
1111
|
+
latestVersion: {
|
|
1112
|
+
type: 'string',
|
|
1113
|
+
description: 'Latest version of the chart',
|
|
1114
|
+
example: '1.18.2-cfke.45'
|
|
1115
|
+
},
|
|
1116
|
+
metadata: {
|
|
1117
|
+
type: 'object',
|
|
1118
|
+
properties: {
|
|
1119
|
+
name: {
|
|
1120
|
+
type: 'string',
|
|
1121
|
+
description: 'Chart name from metadata',
|
|
1122
|
+
example: 'nginx-ingress'
|
|
1123
|
+
},
|
|
1124
|
+
version: {
|
|
1125
|
+
type: 'string',
|
|
1126
|
+
description: 'Chart version from metadata',
|
|
1127
|
+
example: '1.18.2-cfke.45'
|
|
1128
|
+
},
|
|
1129
|
+
description: {
|
|
1130
|
+
type: 'string',
|
|
1131
|
+
description: 'Chart description',
|
|
1132
|
+
example: 'NGINX Ingress Controller for Kubernetes'
|
|
1133
|
+
},
|
|
1134
|
+
appVersion: {
|
|
1135
|
+
type: 'string',
|
|
1136
|
+
description: 'Application version',
|
|
1137
|
+
example: '1.9.4'
|
|
1138
|
+
},
|
|
1139
|
+
apiVersion: {
|
|
1140
|
+
type: 'string',
|
|
1141
|
+
description: 'Helm API version',
|
|
1142
|
+
example: 'v2'
|
|
1143
|
+
},
|
|
1144
|
+
keywords: {
|
|
1145
|
+
type: 'array',
|
|
1146
|
+
items: {
|
|
1147
|
+
type: 'string'
|
|
1021
1148
|
},
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
type: 'string',
|
|
1029
|
-
description: 'Name of the plan',
|
|
1030
|
-
example: 'Plan A'
|
|
1031
|
-
},
|
|
1032
|
-
phaseName: {
|
|
1033
|
-
type: 'string',
|
|
1034
|
-
description: 'Name of the phase',
|
|
1035
|
-
example: 'Phase A'
|
|
1036
|
-
},
|
|
1037
|
-
usageName: {
|
|
1038
|
-
type: 'string',
|
|
1039
|
-
description: 'Name of the usage',
|
|
1040
|
-
example: 'Usage A'
|
|
1041
|
-
},
|
|
1042
|
-
prettyProductName: {
|
|
1043
|
-
type: 'string',
|
|
1044
|
-
description: 'Pretty name of the product',
|
|
1045
|
-
example: 'Research team'
|
|
1046
|
-
},
|
|
1047
|
-
prettyPlanName: {
|
|
1048
|
-
type: 'string',
|
|
1049
|
-
description: 'Pretty name of the plan',
|
|
1050
|
-
example: 'Plan A'
|
|
1051
|
-
},
|
|
1052
|
-
prettyPhaseName: {
|
|
1053
|
-
type: 'string',
|
|
1054
|
-
description: 'Pretty name of the phase',
|
|
1055
|
-
example: 'Phase A'
|
|
1056
|
-
},
|
|
1057
|
-
prettyUsageName: {
|
|
1058
|
-
type: 'string',
|
|
1059
|
-
description: 'Pretty name of the usage',
|
|
1060
|
-
example: 'Usage A'
|
|
1061
|
-
},
|
|
1062
|
-
itemType: {
|
|
1063
|
-
type: 'string',
|
|
1064
|
-
description: 'Type of the invoice item',
|
|
1065
|
-
example: 'EXTERNAL_CHARGE',
|
|
1066
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1067
|
-
},
|
|
1068
|
-
description: {
|
|
1069
|
-
type: 'string',
|
|
1070
|
-
description: 'Description of the invoice item',
|
|
1071
|
-
example: 'Description of the invoice item'
|
|
1072
|
-
},
|
|
1073
|
-
startDate: {
|
|
1074
|
-
type: 'string',
|
|
1075
|
-
description: 'Start date of the invoice item',
|
|
1076
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1077
|
-
},
|
|
1078
|
-
endDate: {
|
|
1079
|
-
type: 'string',
|
|
1080
|
-
description: 'End date of the invoice item',
|
|
1081
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1082
|
-
},
|
|
1083
|
-
amount: {
|
|
1084
|
-
type: 'number',
|
|
1085
|
-
format: 'float',
|
|
1086
|
-
description: 'Amount of the invoice item',
|
|
1087
|
-
example: 100
|
|
1088
|
-
},
|
|
1089
|
-
rate: {
|
|
1090
|
-
type: 'number',
|
|
1091
|
-
format: 'float',
|
|
1092
|
-
description: 'Rate of the invoice item',
|
|
1093
|
-
example: 100
|
|
1094
|
-
},
|
|
1095
|
-
currency: {
|
|
1096
|
-
type: 'string',
|
|
1097
|
-
description: 'Currency of the invoice item',
|
|
1098
|
-
example: 'USD',
|
|
1099
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
1100
|
-
},
|
|
1101
|
-
quantity: {
|
|
1102
|
-
type: 'number',
|
|
1103
|
-
format: 'float',
|
|
1104
|
-
description: 'Quantity of the invoice item',
|
|
1105
|
-
example: 1
|
|
1106
|
-
},
|
|
1107
|
-
itemDetails: {
|
|
1108
|
-
type: 'string',
|
|
1109
|
-
description: 'Details of the invoice item',
|
|
1110
|
-
example: 'Details of the invoice item'
|
|
1111
|
-
},
|
|
1112
|
-
catalogEffectiveDate: {
|
|
1113
|
-
type: 'string',
|
|
1114
|
-
description: 'Effective date of the catalog',
|
|
1115
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1116
|
-
},
|
|
1117
|
-
childItems: {
|
|
1118
|
-
type: 'array',
|
|
1119
|
-
items: {
|
|
1120
|
-
oneOf: [
|
|
1121
|
-
{
|
|
1122
|
-
type: 'array'
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
type: 'boolean'
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
type: 'number'
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
type: 'object',
|
|
1132
|
-
additionalProperties: true
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
type: 'string'
|
|
1136
|
-
}
|
|
1137
|
-
]
|
|
1138
|
-
},
|
|
1139
|
-
description: 'Child items of the invoice item'
|
|
1140
|
-
}
|
|
1149
|
+
description: 'Chart keywords',
|
|
1150
|
+
example: [
|
|
1151
|
+
'ingress',
|
|
1152
|
+
'nginx',
|
|
1153
|
+
'load-balancer'
|
|
1154
|
+
]
|
|
1141
1155
|
},
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1157
|
-
description: 'Id of the chart listing',
|
|
1158
|
-
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1159
|
-
},
|
|
1160
|
-
name: {
|
|
1161
|
-
type: 'string',
|
|
1162
|
-
description: 'Name of the chart listing',
|
|
1163
|
-
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1164
|
-
},
|
|
1165
|
-
developer: {
|
|
1166
|
-
type: 'string',
|
|
1167
|
-
description: 'Author of the chart listing',
|
|
1168
|
-
example: 'Portworx'
|
|
1169
|
-
},
|
|
1170
|
-
description: {
|
|
1171
|
-
type: 'string',
|
|
1172
|
-
description: 'Short description of the chart listing',
|
|
1173
|
-
example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
|
|
1174
|
-
},
|
|
1175
|
-
logoUrl: {
|
|
1176
|
-
type: 'string',
|
|
1177
|
-
description: 'Logo of the chart listing',
|
|
1178
|
-
example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
|
|
1179
|
-
},
|
|
1180
|
-
longDescription: {
|
|
1181
|
-
type: 'string',
|
|
1182
|
-
description: 'Long description of the chart listing',
|
|
1183
|
-
example: 'Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....'
|
|
1184
|
-
},
|
|
1185
|
-
categories: {
|
|
1186
|
-
type: 'array',
|
|
1187
|
-
items: {
|
|
1188
|
-
type: 'string',
|
|
1189
|
-
example: 'AI & Machine Learning'
|
|
1190
|
-
},
|
|
1191
|
-
description: 'Tags of the chart'
|
|
1192
|
-
},
|
|
1193
|
-
version_channels: {
|
|
1194
|
-
type: 'array',
|
|
1195
|
-
items: {
|
|
1196
|
-
type: 'string',
|
|
1197
|
-
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-]+)*))?$',
|
|
1198
|
-
description: 'Version of the chart.',
|
|
1199
|
-
example: '2.x.x-cfke.x'
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
value_schemas: {
|
|
1203
|
-
type: 'array',
|
|
1204
|
-
items: {
|
|
1205
|
-
type: 'object',
|
|
1206
|
-
properties: {
|
|
1207
|
-
version: {
|
|
1208
|
-
type: 'string',
|
|
1209
|
-
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-]+)*))?$',
|
|
1210
|
-
description: 'Version of the chart.',
|
|
1211
|
-
example: '2.1.1-cfke.123'
|
|
1212
|
-
},
|
|
1213
|
-
schema: {
|
|
1214
|
-
type: 'string',
|
|
1215
|
-
description: 'Schema of the chart values. JSON Schema as string'
|
|
1156
|
+
home: {
|
|
1157
|
+
type: 'string',
|
|
1158
|
+
description: 'Chart home URL',
|
|
1159
|
+
example: 'https://kubernetes.github.io/ingress-nginx/'
|
|
1160
|
+
},
|
|
1161
|
+
icon: {
|
|
1162
|
+
type: 'string',
|
|
1163
|
+
description: 'A URL to an SVG or PNG image to be used as an icon',
|
|
1164
|
+
example: 'https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png'
|
|
1165
|
+
},
|
|
1166
|
+
sources: {
|
|
1167
|
+
type: 'array',
|
|
1168
|
+
items: {
|
|
1169
|
+
type: 'string'
|
|
1216
1170
|
},
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
bar: example`
|
|
1222
|
-
}
|
|
1171
|
+
description: 'Chart source URLs',
|
|
1172
|
+
example: [
|
|
1173
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
1174
|
+
]
|
|
1223
1175
|
},
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1176
|
+
maintainers: {
|
|
1177
|
+
type: 'array',
|
|
1178
|
+
items: {
|
|
1179
|
+
type: 'object',
|
|
1180
|
+
properties: {
|
|
1181
|
+
name: {
|
|
1182
|
+
type: 'string',
|
|
1183
|
+
description: 'Maintainer name',
|
|
1184
|
+
example: 'NGINX Team'
|
|
1185
|
+
},
|
|
1186
|
+
email: {
|
|
1187
|
+
type: 'string',
|
|
1188
|
+
description: 'Maintainer email',
|
|
1189
|
+
example: 'support@nginx.org'
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
required: [
|
|
1193
|
+
'name'
|
|
1194
|
+
],
|
|
1195
|
+
additionalProperties: false
|
|
1196
|
+
},
|
|
1197
|
+
description: 'Chart maintainers'
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
required: [
|
|
1201
|
+
'name',
|
|
1202
|
+
'version'
|
|
1203
|
+
],
|
|
1204
|
+
additionalProperties: false,
|
|
1205
|
+
description: 'Chart metadata'
|
|
1227
1206
|
}
|
|
1228
1207
|
},
|
|
1229
|
-
required: [
|
|
1208
|
+
required: [
|
|
1209
|
+
'name',
|
|
1210
|
+
'versions',
|
|
1211
|
+
'version_channels',
|
|
1212
|
+
'latestVersion'
|
|
1213
|
+
],
|
|
1230
1214
|
additionalProperties: false
|
|
1231
1215
|
};
|
|
1232
1216
|
export const OrganizationCreateInputSchema = {
|
|
@@ -1262,7 +1246,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
1262
1246
|
description: 'Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.'
|
|
1263
1247
|
}
|
|
1264
1248
|
},
|
|
1265
|
-
required: [
|
|
1249
|
+
required: [
|
|
1250
|
+
'email',
|
|
1251
|
+
'first_name',
|
|
1252
|
+
'last_name',
|
|
1253
|
+
'company_name',
|
|
1254
|
+
'password'
|
|
1255
|
+
],
|
|
1266
1256
|
additionalProperties: false
|
|
1267
1257
|
};
|
|
1268
1258
|
export const OrganizationSchema = {
|
|
@@ -1318,12 +1308,6 @@ export const OrganizationSchema = {
|
|
|
1318
1308
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1319
1309
|
example: 999
|
|
1320
1310
|
},
|
|
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
1311
|
cluster_tiers: {
|
|
1328
1312
|
type: 'array',
|
|
1329
1313
|
items: {
|
|
@@ -1350,32 +1334,60 @@ export const OrganizationSchema = {
|
|
|
1350
1334
|
id: {
|
|
1351
1335
|
type: 'string',
|
|
1352
1336
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1353
|
-
example: '1.
|
|
1337
|
+
example: '1.33.x-cfke.x'
|
|
1354
1338
|
},
|
|
1355
1339
|
label: {
|
|
1356
1340
|
type: 'string',
|
|
1357
1341
|
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1358
|
-
example: '1.
|
|
1342
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1359
1343
|
}
|
|
1360
1344
|
},
|
|
1361
|
-
required: [
|
|
1345
|
+
required: [
|
|
1346
|
+
'id',
|
|
1347
|
+
'label'
|
|
1348
|
+
],
|
|
1362
1349
|
additionalProperties: false
|
|
1363
1350
|
},
|
|
1364
1351
|
minItems: 1,
|
|
1365
1352
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1353
|
+
},
|
|
1354
|
+
cfcr_storage_gb: {
|
|
1355
|
+
type: 'integer',
|
|
1356
|
+
minimum: -1,
|
|
1357
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1358
|
+
example: 500
|
|
1366
1359
|
}
|
|
1367
1360
|
},
|
|
1368
|
-
required: [
|
|
1361
|
+
required: [
|
|
1362
|
+
'basic_clusters_max',
|
|
1363
|
+
'basic_clusters_available',
|
|
1364
|
+
'pro_clusters_max',
|
|
1365
|
+
'pro_clusters_available',
|
|
1366
|
+
'fleets_max',
|
|
1367
|
+
'cluster_tiers',
|
|
1368
|
+
'regions',
|
|
1369
|
+
'versions',
|
|
1370
|
+
'cfcr_storage_gb'
|
|
1371
|
+
],
|
|
1369
1372
|
additionalProperties: false,
|
|
1370
1373
|
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
1374
|
},
|
|
1372
1375
|
status: {
|
|
1373
1376
|
type: 'string',
|
|
1374
1377
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1375
|
-
enum: [
|
|
1378
|
+
enum: [
|
|
1379
|
+
'active',
|
|
1380
|
+
'closed',
|
|
1381
|
+
'suspended'
|
|
1382
|
+
]
|
|
1376
1383
|
}
|
|
1377
1384
|
},
|
|
1378
|
-
required: [
|
|
1385
|
+
required: [
|
|
1386
|
+
'id',
|
|
1387
|
+
'date_created',
|
|
1388
|
+
'quota',
|
|
1389
|
+
'status'
|
|
1390
|
+
],
|
|
1379
1391
|
additionalProperties: false
|
|
1380
1392
|
};
|
|
1381
1393
|
export const PaymentMethodSchema = {
|
|
@@ -1397,7 +1409,9 @@ export const PaymentMethodSchema = {
|
|
|
1397
1409
|
nullable: true,
|
|
1398
1410
|
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
1399
1411
|
example: 'card',
|
|
1400
|
-
enum: [
|
|
1412
|
+
enum: [
|
|
1413
|
+
'card'
|
|
1414
|
+
]
|
|
1401
1415
|
},
|
|
1402
1416
|
last4: {
|
|
1403
1417
|
type: 'string',
|
|
@@ -1410,14 +1424,14 @@ export const PaymentMethodSchema = {
|
|
|
1410
1424
|
minimum: 1,
|
|
1411
1425
|
maximum: 12,
|
|
1412
1426
|
nullable: true,
|
|
1413
|
-
description:
|
|
1427
|
+
description: 'Two-digit number representing the card\'s expiration month.',
|
|
1414
1428
|
example: '12'
|
|
1415
1429
|
},
|
|
1416
1430
|
exp_year: {
|
|
1417
1431
|
type: 'integer',
|
|
1418
1432
|
minimum: 2024,
|
|
1419
1433
|
nullable: true,
|
|
1420
|
-
description:
|
|
1434
|
+
description: 'Four-digit number representing the card\'s expiration year.',
|
|
1421
1435
|
example: '2028'
|
|
1422
1436
|
},
|
|
1423
1437
|
brand: {
|
|
@@ -1425,10 +1439,387 @@ export const PaymentMethodSchema = {
|
|
|
1425
1439
|
nullable: true,
|
|
1426
1440
|
description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
|
|
1427
1441
|
example: 'visa',
|
|
1428
|
-
enum: [
|
|
1442
|
+
enum: [
|
|
1443
|
+
'amex',
|
|
1444
|
+
'diners',
|
|
1445
|
+
'discover',
|
|
1446
|
+
'eftpos_au',
|
|
1447
|
+
'jcb',
|
|
1448
|
+
'mastercard',
|
|
1449
|
+
'unionpay',
|
|
1450
|
+
'visa',
|
|
1451
|
+
'unknown'
|
|
1452
|
+
]
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
required: [
|
|
1456
|
+
'id',
|
|
1457
|
+
'setup',
|
|
1458
|
+
'type',
|
|
1459
|
+
'last4',
|
|
1460
|
+
'exp_month',
|
|
1461
|
+
'exp_year',
|
|
1462
|
+
'brand'
|
|
1463
|
+
],
|
|
1464
|
+
additionalProperties: false
|
|
1465
|
+
};
|
|
1466
|
+
export const PlatformQuotaSchema = {
|
|
1467
|
+
type: 'object',
|
|
1468
|
+
properties: {
|
|
1469
|
+
basic_clusters_max: {
|
|
1470
|
+
type: 'integer',
|
|
1471
|
+
minimum: 0,
|
|
1472
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
1473
|
+
example: 999
|
|
1474
|
+
},
|
|
1475
|
+
basic_clusters_available: {
|
|
1476
|
+
type: 'integer',
|
|
1477
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
1478
|
+
example: 999
|
|
1479
|
+
},
|
|
1480
|
+
pro_clusters_max: {
|
|
1481
|
+
type: 'integer',
|
|
1482
|
+
minimum: 0,
|
|
1483
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
1484
|
+
example: 999
|
|
1485
|
+
},
|
|
1486
|
+
pro_clusters_available: {
|
|
1487
|
+
type: 'integer',
|
|
1488
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
1489
|
+
example: 999
|
|
1490
|
+
},
|
|
1491
|
+
fleets_max: {
|
|
1492
|
+
type: 'integer',
|
|
1493
|
+
minimum: 0,
|
|
1494
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1495
|
+
example: 999
|
|
1496
|
+
},
|
|
1497
|
+
cluster_tiers: {
|
|
1498
|
+
type: 'array',
|
|
1499
|
+
items: {
|
|
1500
|
+
type: 'string',
|
|
1501
|
+
example: 'basic'
|
|
1502
|
+
},
|
|
1503
|
+
minItems: 0,
|
|
1504
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1505
|
+
},
|
|
1506
|
+
regions: {
|
|
1507
|
+
type: 'array',
|
|
1508
|
+
items: {
|
|
1509
|
+
type: 'string',
|
|
1510
|
+
example: 'northamerica-central-1'
|
|
1511
|
+
},
|
|
1512
|
+
minItems: 1,
|
|
1513
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
1514
|
+
},
|
|
1515
|
+
versions: {
|
|
1516
|
+
type: 'array',
|
|
1517
|
+
items: {
|
|
1518
|
+
type: 'object',
|
|
1519
|
+
properties: {
|
|
1520
|
+
id: {
|
|
1521
|
+
type: 'string',
|
|
1522
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
1523
|
+
example: '1.33.x-cfke.x'
|
|
1524
|
+
},
|
|
1525
|
+
label: {
|
|
1526
|
+
type: 'string',
|
|
1527
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1528
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
required: [
|
|
1532
|
+
'id',
|
|
1533
|
+
'label'
|
|
1534
|
+
],
|
|
1535
|
+
additionalProperties: false
|
|
1536
|
+
},
|
|
1537
|
+
minItems: 1,
|
|
1538
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
1539
|
+
},
|
|
1540
|
+
cfcr_storage_gb: {
|
|
1541
|
+
type: 'integer',
|
|
1542
|
+
minimum: -1,
|
|
1543
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1544
|
+
example: 500
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
required: [
|
|
1548
|
+
'basic_clusters_max',
|
|
1549
|
+
'basic_clusters_available',
|
|
1550
|
+
'pro_clusters_max',
|
|
1551
|
+
'pro_clusters_available',
|
|
1552
|
+
'fleets_max',
|
|
1553
|
+
'cluster_tiers',
|
|
1554
|
+
'regions',
|
|
1555
|
+
'versions',
|
|
1556
|
+
'cfcr_storage_gb'
|
|
1557
|
+
],
|
|
1558
|
+
additionalProperties: false
|
|
1559
|
+
};
|
|
1560
|
+
export const RegistryRepositorySchema = {
|
|
1561
|
+
type: 'object',
|
|
1562
|
+
properties: {
|
|
1563
|
+
name: {
|
|
1564
|
+
type: 'string',
|
|
1565
|
+
description: 'Repository name.',
|
|
1566
|
+
example: 'my-app'
|
|
1567
|
+
},
|
|
1568
|
+
region: {
|
|
1569
|
+
type: 'string',
|
|
1570
|
+
description: 'Registry region.',
|
|
1571
|
+
example: 'northamerica'
|
|
1572
|
+
},
|
|
1573
|
+
uri: {
|
|
1574
|
+
type: 'string',
|
|
1575
|
+
description: 'Full URI of the repository.',
|
|
1576
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
required: [
|
|
1580
|
+
'name',
|
|
1581
|
+
'region',
|
|
1582
|
+
'uri'
|
|
1583
|
+
],
|
|
1584
|
+
additionalProperties: false
|
|
1585
|
+
};
|
|
1586
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
1587
|
+
type: 'object',
|
|
1588
|
+
properties: {
|
|
1589
|
+
name: {
|
|
1590
|
+
type: 'string',
|
|
1591
|
+
description: 'Repository name.',
|
|
1592
|
+
example: 'my-app'
|
|
1593
|
+
},
|
|
1594
|
+
region: {
|
|
1595
|
+
type: 'string',
|
|
1596
|
+
description: 'Registry region.',
|
|
1597
|
+
example: 'northamerica'
|
|
1598
|
+
},
|
|
1599
|
+
uri: {
|
|
1600
|
+
type: 'string',
|
|
1601
|
+
description: 'Full URI of the repository.',
|
|
1602
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1603
|
+
},
|
|
1604
|
+
tags: {
|
|
1605
|
+
type: 'array',
|
|
1606
|
+
items: {
|
|
1607
|
+
type: 'object',
|
|
1608
|
+
properties: {
|
|
1609
|
+
name: {
|
|
1610
|
+
type: 'string',
|
|
1611
|
+
description: 'Tag name.',
|
|
1612
|
+
example: 'latest'
|
|
1613
|
+
},
|
|
1614
|
+
size: {
|
|
1615
|
+
type: 'number',
|
|
1616
|
+
format: 'float',
|
|
1617
|
+
description: 'Size of the tag in bytes.',
|
|
1618
|
+
example: 123456789
|
|
1619
|
+
},
|
|
1620
|
+
mediaType: {
|
|
1621
|
+
type: 'string',
|
|
1622
|
+
description: 'Media type of the manifest.',
|
|
1623
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1624
|
+
},
|
|
1625
|
+
platforms: {
|
|
1626
|
+
type: 'array',
|
|
1627
|
+
items: {
|
|
1628
|
+
type: 'string'
|
|
1629
|
+
},
|
|
1630
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
1631
|
+
example: [
|
|
1632
|
+
'linux/amd64',
|
|
1633
|
+
'linux/arm64'
|
|
1634
|
+
]
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
required: [
|
|
1638
|
+
'name',
|
|
1639
|
+
'size'
|
|
1640
|
+
],
|
|
1641
|
+
additionalProperties: false
|
|
1642
|
+
},
|
|
1643
|
+
description: 'Array of tags in the repository.'
|
|
1644
|
+
},
|
|
1645
|
+
totalSize: {
|
|
1646
|
+
type: 'number',
|
|
1647
|
+
format: 'float',
|
|
1648
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
1649
|
+
example: 987654321
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
required: [
|
|
1653
|
+
'name',
|
|
1654
|
+
'region',
|
|
1655
|
+
'uri',
|
|
1656
|
+
'tags',
|
|
1657
|
+
'totalSize'
|
|
1658
|
+
],
|
|
1659
|
+
additionalProperties: false
|
|
1660
|
+
};
|
|
1661
|
+
export const RegistryTagSchema = {
|
|
1662
|
+
type: 'object',
|
|
1663
|
+
properties: {
|
|
1664
|
+
name: {
|
|
1665
|
+
type: 'string',
|
|
1666
|
+
description: 'Tag name.',
|
|
1667
|
+
example: 'latest'
|
|
1668
|
+
},
|
|
1669
|
+
digest: {
|
|
1670
|
+
type: 'string',
|
|
1671
|
+
description: 'Manifest digest for pulling by digest.',
|
|
1672
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1673
|
+
},
|
|
1674
|
+
mediaType: {
|
|
1675
|
+
type: 'string',
|
|
1676
|
+
description: 'Media type of the manifest.',
|
|
1677
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1678
|
+
},
|
|
1679
|
+
config: {
|
|
1680
|
+
type: 'object',
|
|
1681
|
+
properties: {
|
|
1682
|
+
size: {
|
|
1683
|
+
type: 'number',
|
|
1684
|
+
format: 'float',
|
|
1685
|
+
description: 'Size of the config in bytes.',
|
|
1686
|
+
example: 1234
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
required: [
|
|
1690
|
+
'size'
|
|
1691
|
+
],
|
|
1692
|
+
additionalProperties: false,
|
|
1693
|
+
description: 'Manifest config metadata.'
|
|
1694
|
+
},
|
|
1695
|
+
layers: {
|
|
1696
|
+
type: 'array',
|
|
1697
|
+
items: {
|
|
1698
|
+
type: 'object',
|
|
1699
|
+
properties: {
|
|
1700
|
+
digest: {
|
|
1701
|
+
type: 'string',
|
|
1702
|
+
description: 'Digest of the layer.',
|
|
1703
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1704
|
+
},
|
|
1705
|
+
size: {
|
|
1706
|
+
type: 'number',
|
|
1707
|
+
format: 'float',
|
|
1708
|
+
description: 'Size of the layer in bytes.',
|
|
1709
|
+
example: 5678
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
required: [
|
|
1713
|
+
'size'
|
|
1714
|
+
],
|
|
1715
|
+
additionalProperties: false
|
|
1716
|
+
},
|
|
1717
|
+
description: 'Array of layer metadata.'
|
|
1718
|
+
},
|
|
1719
|
+
manifests: {
|
|
1720
|
+
type: 'array',
|
|
1721
|
+
items: {
|
|
1722
|
+
type: 'object',
|
|
1723
|
+
properties: {
|
|
1724
|
+
digest: {
|
|
1725
|
+
type: 'string',
|
|
1726
|
+
description: 'Digest of the manifest.',
|
|
1727
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1728
|
+
},
|
|
1729
|
+
platform: {
|
|
1730
|
+
type: 'object',
|
|
1731
|
+
properties: {
|
|
1732
|
+
architecture: {
|
|
1733
|
+
type: 'string',
|
|
1734
|
+
description: 'Architecture of the platform.',
|
|
1735
|
+
example: 'amd64'
|
|
1736
|
+
},
|
|
1737
|
+
os: {
|
|
1738
|
+
type: 'string',
|
|
1739
|
+
description: 'Operating system of the platform.',
|
|
1740
|
+
example: 'linux'
|
|
1741
|
+
},
|
|
1742
|
+
variant: {
|
|
1743
|
+
type: 'string',
|
|
1744
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
1745
|
+
example: 'v8'
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1748
|
+
required: [
|
|
1749
|
+
'architecture',
|
|
1750
|
+
'os'
|
|
1751
|
+
],
|
|
1752
|
+
additionalProperties: false,
|
|
1753
|
+
description: 'Platform information for the manifest.'
|
|
1754
|
+
},
|
|
1755
|
+
layers: {
|
|
1756
|
+
type: 'array',
|
|
1757
|
+
items: {
|
|
1758
|
+
type: 'object',
|
|
1759
|
+
properties: {
|
|
1760
|
+
digest: {
|
|
1761
|
+
type: 'string',
|
|
1762
|
+
description: 'Digest of the layer.',
|
|
1763
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1764
|
+
},
|
|
1765
|
+
size: {
|
|
1766
|
+
type: 'number',
|
|
1767
|
+
format: 'float',
|
|
1768
|
+
description: 'Size of the layer in bytes.',
|
|
1769
|
+
example: 5678
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
required: [
|
|
1773
|
+
'size'
|
|
1774
|
+
],
|
|
1775
|
+
additionalProperties: false
|
|
1776
|
+
},
|
|
1777
|
+
description: 'Layers for this platform.'
|
|
1778
|
+
},
|
|
1779
|
+
size: {
|
|
1780
|
+
type: 'number',
|
|
1781
|
+
format: 'float',
|
|
1782
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
1783
|
+
example: 12345678
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
required: [
|
|
1787
|
+
'digest'
|
|
1788
|
+
],
|
|
1789
|
+
additionalProperties: false
|
|
1790
|
+
},
|
|
1791
|
+
description: 'Array of manifests for multi-arch images.'
|
|
1792
|
+
},
|
|
1793
|
+
size: {
|
|
1794
|
+
type: 'number',
|
|
1795
|
+
format: 'float',
|
|
1796
|
+
description: 'Total size of the tag in bytes.',
|
|
1797
|
+
example: 123456789
|
|
1798
|
+
},
|
|
1799
|
+
region: {
|
|
1800
|
+
type: 'string',
|
|
1801
|
+
description: 'Registry region.',
|
|
1802
|
+
example: 'northamerica'
|
|
1803
|
+
},
|
|
1804
|
+
repository: {
|
|
1805
|
+
type: 'string',
|
|
1806
|
+
description: 'Repository name.',
|
|
1807
|
+
example: 'my-app'
|
|
1808
|
+
},
|
|
1809
|
+
uri: {
|
|
1810
|
+
type: 'string',
|
|
1811
|
+
description: 'Full URI of the tag.',
|
|
1812
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
1429
1813
|
}
|
|
1430
1814
|
},
|
|
1431
|
-
required: [
|
|
1815
|
+
required: [
|
|
1816
|
+
'name',
|
|
1817
|
+
'digest',
|
|
1818
|
+
'size',
|
|
1819
|
+
'region',
|
|
1820
|
+
'repository',
|
|
1821
|
+
'uri'
|
|
1822
|
+
],
|
|
1432
1823
|
additionalProperties: false
|
|
1433
1824
|
};
|
|
1434
1825
|
export const TokenCreateInputSchema = {
|
|
@@ -1446,10 +1837,16 @@ export const TokenCreateInputSchema = {
|
|
|
1446
1837
|
type: 'string',
|
|
1447
1838
|
description: 'Role assumed by the token.',
|
|
1448
1839
|
example: 'User',
|
|
1449
|
-
enum: [
|
|
1840
|
+
enum: [
|
|
1841
|
+
'Administrator',
|
|
1842
|
+
'User'
|
|
1843
|
+
]
|
|
1450
1844
|
}
|
|
1451
1845
|
},
|
|
1452
|
-
required: [
|
|
1846
|
+
required: [
|
|
1847
|
+
'name',
|
|
1848
|
+
'role'
|
|
1849
|
+
],
|
|
1453
1850
|
additionalProperties: false
|
|
1454
1851
|
};
|
|
1455
1852
|
export const TokenSchema = {
|
|
@@ -1467,7 +1864,10 @@ export const TokenSchema = {
|
|
|
1467
1864
|
type: 'string',
|
|
1468
1865
|
description: 'Role assumed by the token.',
|
|
1469
1866
|
example: 'User',
|
|
1470
|
-
enum: [
|
|
1867
|
+
enum: [
|
|
1868
|
+
'Administrator',
|
|
1869
|
+
'User'
|
|
1870
|
+
]
|
|
1471
1871
|
},
|
|
1472
1872
|
id: {
|
|
1473
1873
|
type: 'string',
|
|
@@ -1486,7 +1886,11 @@ export const TokenSchema = {
|
|
|
1486
1886
|
example: '2023-12-20T13:53:32.000Z'
|
|
1487
1887
|
}
|
|
1488
1888
|
},
|
|
1489
|
-
required: [
|
|
1889
|
+
required: [
|
|
1890
|
+
'name',
|
|
1891
|
+
'role',
|
|
1892
|
+
'date_created'
|
|
1893
|
+
],
|
|
1490
1894
|
additionalProperties: false
|
|
1491
1895
|
};
|
|
1492
1896
|
export const TokenUpdateInputSchema = {
|
|
@@ -1504,9 +1908,127 @@ export const TokenUpdateInputSchema = {
|
|
|
1504
1908
|
type: 'string',
|
|
1505
1909
|
description: 'Role assumed by the token.',
|
|
1506
1910
|
example: 'User',
|
|
1507
|
-
enum: [
|
|
1911
|
+
enum: [
|
|
1912
|
+
'Administrator',
|
|
1913
|
+
'User'
|
|
1914
|
+
]
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1917
|
+
additionalProperties: false
|
|
1918
|
+
};
|
|
1919
|
+
export const UsageFacetsSchema = {
|
|
1920
|
+
type: 'object',
|
|
1921
|
+
properties: {
|
|
1922
|
+
cluster_id: {
|
|
1923
|
+
type: 'array',
|
|
1924
|
+
items: {
|
|
1925
|
+
type: 'string'
|
|
1926
|
+
},
|
|
1927
|
+
description: 'List of unique cluster IDs',
|
|
1928
|
+
example: [
|
|
1929
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1930
|
+
]
|
|
1931
|
+
},
|
|
1932
|
+
product: {
|
|
1933
|
+
type: 'array',
|
|
1934
|
+
items: {
|
|
1935
|
+
type: 'string'
|
|
1936
|
+
},
|
|
1937
|
+
description: 'List of unique products',
|
|
1938
|
+
example: [
|
|
1939
|
+
'cfke_controlplane',
|
|
1940
|
+
'cfke_connected_nodes'
|
|
1941
|
+
]
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
additionalProperties: false
|
|
1945
|
+
};
|
|
1946
|
+
export const UsageResponseSchema = {
|
|
1947
|
+
type: 'object',
|
|
1948
|
+
properties: {
|
|
1949
|
+
data: {
|
|
1950
|
+
type: 'array',
|
|
1951
|
+
items: {
|
|
1952
|
+
type: 'object',
|
|
1953
|
+
properties: {
|
|
1954
|
+
hour: {
|
|
1955
|
+
type: 'string',
|
|
1956
|
+
description: 'Hour of the usage',
|
|
1957
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1958
|
+
},
|
|
1959
|
+
cluster_id: {
|
|
1960
|
+
type: 'string',
|
|
1961
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1962
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1963
|
+
},
|
|
1964
|
+
product: {
|
|
1965
|
+
type: 'string',
|
|
1966
|
+
description: 'The product the usage is associated with',
|
|
1967
|
+
example: 'cfke_controlplane'
|
|
1968
|
+
},
|
|
1969
|
+
value: {
|
|
1970
|
+
type: 'number',
|
|
1971
|
+
format: 'float',
|
|
1972
|
+
description: 'Consumption',
|
|
1973
|
+
example: 4
|
|
1974
|
+
},
|
|
1975
|
+
price: {
|
|
1976
|
+
type: 'number',
|
|
1977
|
+
format: 'float',
|
|
1978
|
+
description: 'Price per unit',
|
|
1979
|
+
example: 0.01
|
|
1980
|
+
},
|
|
1981
|
+
total: {
|
|
1982
|
+
type: 'number',
|
|
1983
|
+
format: 'float',
|
|
1984
|
+
description: 'Total cost'
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
required: [
|
|
1988
|
+
'hour',
|
|
1989
|
+
'cluster_id',
|
|
1990
|
+
'product',
|
|
1991
|
+
'value',
|
|
1992
|
+
'price',
|
|
1993
|
+
'total'
|
|
1994
|
+
],
|
|
1995
|
+
additionalProperties: false
|
|
1996
|
+
},
|
|
1997
|
+
description: 'Usage data'
|
|
1998
|
+
},
|
|
1999
|
+
facets: {
|
|
2000
|
+
type: 'object',
|
|
2001
|
+
properties: {
|
|
2002
|
+
cluster_id: {
|
|
2003
|
+
type: 'array',
|
|
2004
|
+
items: {
|
|
2005
|
+
type: 'string'
|
|
2006
|
+
},
|
|
2007
|
+
description: 'List of unique cluster IDs',
|
|
2008
|
+
example: [
|
|
2009
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
2012
|
+
product: {
|
|
2013
|
+
type: 'array',
|
|
2014
|
+
items: {
|
|
2015
|
+
type: 'string'
|
|
2016
|
+
},
|
|
2017
|
+
description: 'List of unique products',
|
|
2018
|
+
example: [
|
|
2019
|
+
'cfke_controlplane',
|
|
2020
|
+
'cfke_connected_nodes'
|
|
2021
|
+
]
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
additionalProperties: false,
|
|
2025
|
+
description: 'Facets for filtering'
|
|
1508
2026
|
}
|
|
1509
2027
|
},
|
|
2028
|
+
required: [
|
|
2029
|
+
'data',
|
|
2030
|
+
'facets'
|
|
2031
|
+
],
|
|
1510
2032
|
additionalProperties: false
|
|
1511
2033
|
};
|
|
1512
2034
|
export const UsageSchema = {
|
|
@@ -1519,90 +2041,40 @@ export const UsageSchema = {
|
|
|
1519
2041
|
},
|
|
1520
2042
|
cluster_id: {
|
|
1521
2043
|
type: 'string',
|
|
1522
|
-
format: 'uuid',
|
|
1523
2044
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1524
2045
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1525
2046
|
},
|
|
1526
|
-
cluster_tier: {
|
|
1527
|
-
type: 'string',
|
|
1528
|
-
description: 'Tier of the cluster.',
|
|
1529
|
-
example: 'pro',
|
|
1530
|
-
enum: ['basic', 'pro', '']
|
|
1531
|
-
},
|
|
1532
2047
|
product: {
|
|
1533
2048
|
type: 'string',
|
|
1534
2049
|
description: 'The product the usage is associated with',
|
|
1535
|
-
example: 'cfke_controlplane'
|
|
1536
|
-
enum: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
1537
|
-
},
|
|
1538
|
-
node_name: {
|
|
1539
|
-
type: 'string',
|
|
1540
|
-
description: 'Name of the Kubernetes node',
|
|
1541
|
-
example: 'flexible-moth-956037384'
|
|
1542
|
-
},
|
|
1543
|
-
sku: {
|
|
1544
|
-
type: 'string',
|
|
1545
|
-
description: 'SKU of the Kubernetes node',
|
|
1546
|
-
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
2050
|
+
example: 'cfke_controlplane'
|
|
1547
2051
|
},
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
description: 'CPU core count of the node',
|
|
1554
|
-
example: 4
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
type: 'string',
|
|
1558
|
-
enum: ['']
|
|
1559
|
-
}
|
|
1560
|
-
]
|
|
2052
|
+
value: {
|
|
2053
|
+
type: 'number',
|
|
2054
|
+
format: 'float',
|
|
2055
|
+
description: 'Consumption',
|
|
2056
|
+
example: 4
|
|
1561
2057
|
},
|
|
1562
2058
|
price: {
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
description: 'Price',
|
|
1568
|
-
example: 4
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
type: 'string',
|
|
1572
|
-
enum: ['']
|
|
1573
|
-
}
|
|
1574
|
-
]
|
|
1575
|
-
},
|
|
1576
|
-
value: {
|
|
1577
|
-
anyOf: [
|
|
1578
|
-
{
|
|
1579
|
-
type: 'number',
|
|
1580
|
-
format: 'float',
|
|
1581
|
-
description: 'Value',
|
|
1582
|
-
example: 4
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
type: 'string',
|
|
1586
|
-
enum: ['']
|
|
1587
|
-
}
|
|
1588
|
-
]
|
|
2059
|
+
type: 'number',
|
|
2060
|
+
format: 'float',
|
|
2061
|
+
description: 'Price per unit',
|
|
2062
|
+
example: 0.01
|
|
1589
2063
|
},
|
|
1590
2064
|
total: {
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
format: 'float',
|
|
1595
|
-
description: 'Total',
|
|
1596
|
-
example: 4
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
type: 'string',
|
|
1600
|
-
enum: ['']
|
|
1601
|
-
}
|
|
1602
|
-
]
|
|
2065
|
+
type: 'number',
|
|
2066
|
+
format: 'float',
|
|
2067
|
+
description: 'Total cost'
|
|
1603
2068
|
}
|
|
1604
2069
|
},
|
|
1605
|
-
required: [
|
|
2070
|
+
required: [
|
|
2071
|
+
'hour',
|
|
2072
|
+
'cluster_id',
|
|
2073
|
+
'product',
|
|
2074
|
+
'value',
|
|
2075
|
+
'price',
|
|
2076
|
+
'total'
|
|
2077
|
+
],
|
|
1606
2078
|
additionalProperties: false
|
|
1607
2079
|
};
|
|
1608
2080
|
export const UserCreateInputSchema = {
|
|
@@ -1643,16 +2115,28 @@ export const UserCreateInputSchema = {
|
|
|
1643
2115
|
type: 'string',
|
|
1644
2116
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1645
2117
|
example: 'active',
|
|
1646
|
-
enum: [
|
|
2118
|
+
enum: [
|
|
2119
|
+
'active',
|
|
2120
|
+
'inactive'
|
|
2121
|
+
]
|
|
1647
2122
|
},
|
|
1648
2123
|
role: {
|
|
1649
2124
|
type: 'string',
|
|
1650
|
-
description:
|
|
2125
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1651
2126
|
example: 'User',
|
|
1652
|
-
enum: [
|
|
2127
|
+
enum: [
|
|
2128
|
+
'Administrator',
|
|
2129
|
+
'User'
|
|
2130
|
+
]
|
|
1653
2131
|
}
|
|
1654
2132
|
},
|
|
1655
|
-
required: [
|
|
2133
|
+
required: [
|
|
2134
|
+
'email',
|
|
2135
|
+
'first_name',
|
|
2136
|
+
'last_name',
|
|
2137
|
+
'code',
|
|
2138
|
+
'password'
|
|
2139
|
+
],
|
|
1656
2140
|
additionalProperties: false
|
|
1657
2141
|
};
|
|
1658
2142
|
export const UserSchema = {
|
|
@@ -1680,15 +2164,21 @@ export const UserSchema = {
|
|
|
1680
2164
|
},
|
|
1681
2165
|
role: {
|
|
1682
2166
|
type: 'string',
|
|
1683
|
-
description:
|
|
2167
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1684
2168
|
example: 'User',
|
|
1685
|
-
enum: [
|
|
2169
|
+
enum: [
|
|
2170
|
+
'Administrator',
|
|
2171
|
+
'User'
|
|
2172
|
+
]
|
|
1686
2173
|
},
|
|
1687
2174
|
status: {
|
|
1688
2175
|
type: 'string',
|
|
1689
2176
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1690
2177
|
example: 'active',
|
|
1691
|
-
enum: [
|
|
2178
|
+
enum: [
|
|
2179
|
+
'active',
|
|
2180
|
+
'inactive'
|
|
2181
|
+
]
|
|
1692
2182
|
},
|
|
1693
2183
|
id: {
|
|
1694
2184
|
type: 'string',
|
|
@@ -1703,7 +2193,15 @@ export const UserSchema = {
|
|
|
1703
2193
|
example: '2023-11-02T16:08:14.338Z'
|
|
1704
2194
|
}
|
|
1705
2195
|
},
|
|
1706
|
-
required: [
|
|
2196
|
+
required: [
|
|
2197
|
+
'email',
|
|
2198
|
+
'first_name',
|
|
2199
|
+
'last_name',
|
|
2200
|
+
'role',
|
|
2201
|
+
'status',
|
|
2202
|
+
'id',
|
|
2203
|
+
'date_created'
|
|
2204
|
+
],
|
|
1707
2205
|
additionalProperties: false
|
|
1708
2206
|
};
|
|
1709
2207
|
export const UserUpdateInputSchema = {
|
|
@@ -1731,15 +2229,21 @@ export const UserUpdateInputSchema = {
|
|
|
1731
2229
|
},
|
|
1732
2230
|
role: {
|
|
1733
2231
|
type: 'string',
|
|
1734
|
-
description:
|
|
2232
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1735
2233
|
example: 'User',
|
|
1736
|
-
enum: [
|
|
2234
|
+
enum: [
|
|
2235
|
+
'Administrator',
|
|
2236
|
+
'User'
|
|
2237
|
+
]
|
|
1737
2238
|
},
|
|
1738
2239
|
status: {
|
|
1739
2240
|
type: 'string',
|
|
1740
2241
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1741
2242
|
example: 'active',
|
|
1742
|
-
enum: [
|
|
2243
|
+
enum: [
|
|
2244
|
+
'active',
|
|
2245
|
+
'inactive'
|
|
2246
|
+
]
|
|
1743
2247
|
}
|
|
1744
2248
|
},
|
|
1745
2249
|
additionalProperties: false
|