Skip to content

Commit 19fa287

Browse files
authored
Merge branch 'main' into v1.6737.0
2 parents db490e1 + 6292c4a commit 19fa287

File tree

4 files changed

+52
-4
lines changed

4 files changed

+52
-4
lines changed

packages_generated/k8s/src/v1/marshalling.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ export const unmarshalNodeMetadata = (data: unknown): NodeMetadata => {
528528
externalIp: data.external_ip,
529529
hasGpu: data.has_gpu,
530530
id: data.id,
531+
installerTags: data.installer_tags,
531532
kubeletConfig: data.kubelet_config,
532533
name: data.name,
533534
nodeLabels: data.node_labels,
@@ -536,7 +537,12 @@ export const unmarshalNodeMetadata = (data: unknown): NodeMetadata => {
536537
unmarshalNodeMetadataCoreV1Taint,
537538
),
538539
poolVersion: data.pool_version,
540+
providerId: data.provider_id,
539541
repoUri: data.repo_uri,
542+
resolvconfPath: data.resolvconf_path,
543+
updaterBinPath: data.updater_bin_path,
544+
updaterBinUrl: data.updater_bin_url,
545+
updaterBinVersion: data.updater_bin_version,
540546
} as NodeMetadata
541547
}
542548

packages_generated/k8s/src/v1/types.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,9 +1500,15 @@ export interface NodeMetadata {
15001500
kubeletConfig: string
15011501
nodeLabels: Record<string, string>
15021502
nodeTaints: NodeMetadataCoreV1Taint[]
1503+
providerId: string
1504+
resolvconfPath: string
15031505
hasGpu: boolean
15041506
externalIp: string
15051507
repoUri: string
1508+
installerTags: string
1509+
updaterBinUrl: string
1510+
updaterBinVersion: string
1511+
updaterBinPath: string
15061512
}
15071513

15081514
export type RebootNodeRequest = {

packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import type {
1414
PublicCatalogProductPrice,
1515
PublicCatalogProductProperties,
1616
PublicCatalogProductPropertiesAppleSilicon,
17+
PublicCatalogProductPropertiesBlockStorage,
1718
PublicCatalogProductPropertiesDedibox,
1819
PublicCatalogProductPropertiesElasticMetal,
1920
PublicCatalogProductPropertiesHardware,
@@ -163,6 +164,21 @@ const unmarshalPublicCatalogProductPropertiesAppleSilicon = (
163164
} as PublicCatalogProductPropertiesAppleSilicon
164165
}
165166

167+
const unmarshalPublicCatalogProductPropertiesBlockStorage = (
168+
data: unknown,
169+
): PublicCatalogProductPropertiesBlockStorage => {
170+
if (!isJSONObject(data)) {
171+
throw new TypeError(
172+
`Unmarshalling the type 'PublicCatalogProductPropertiesBlockStorage' failed as data isn't a dictionary.`,
173+
)
174+
}
175+
176+
return {
177+
maxVolumeSize: data.max_volume_size,
178+
minVolumeSize: data.min_volume_size,
179+
} as PublicCatalogProductPropertiesBlockStorage
180+
}
181+
166182
const unmarshalPublicCatalogProductPropertiesDedibox = (
167183
data: unknown,
168184
): PublicCatalogProductPropertiesDedibox => {
@@ -296,6 +312,9 @@ const unmarshalPublicCatalogProductProperties = (
296312
appleSilicon: data.apple_silicon
297313
? unmarshalPublicCatalogProductPropertiesAppleSilicon(data.apple_silicon)
298314
: undefined,
315+
blockStorage: data.block_storage
316+
? unmarshalPublicCatalogProductPropertiesBlockStorage(data.block_storage)
317+
: undefined,
299318
dedibox: data.dedibox
300319
? unmarshalPublicCatalogProductPropertiesDedibox(data.dedibox)
301320
: undefined,

packages_generated/product_catalog/src/v2alpha1/types.gen.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,17 @@ export interface PublicCatalogProductPropertiesAppleSilicon {
185185
range: string
186186
}
187187

188+
export interface PublicCatalogProductPropertiesBlockStorage {
189+
/**
190+
* The minimum size of storage volume for this product in bytes.
191+
*/
192+
minVolumeSize: number
193+
/**
194+
* The maximum size of storage volume for this product in bytes.
195+
*/
196+
maxVolumeSize: number
197+
}
198+
188199
export interface PublicCatalogProductPropertiesDedibox {
189200
/**
190201
* The range of the Dedibox server.
@@ -284,27 +295,33 @@ export interface PublicCatalogProductProperties {
284295
/**
285296
* The properties of Dedibox products.
286297
*
287-
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
298+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage' could be set.
288299
*/
289300
dedibox?: PublicCatalogProductPropertiesDedibox
290301
/**
291302
* The properties of Elastic Metal products.
292303
*
293-
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
304+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage' could be set.
294305
*/
295306
elasticMetal?: PublicCatalogProductPropertiesElasticMetal
296307
/**
297308
* The properties of Apple Silicon products.
298309
*
299-
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
310+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage' could be set.
300311
*/
301312
appleSilicon?: PublicCatalogProductPropertiesAppleSilicon
302313
/**
303314
* The properties of Instance products.
304315
*
305-
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
316+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage' could be set.
306317
*/
307318
instance?: PublicCatalogProductPropertiesInstance
319+
/**
320+
* The properties of Block Storage products.
321+
*
322+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage' could be set.
323+
*/
324+
blockStorage?: PublicCatalogProductPropertiesBlockStorage
308325
}
309326

310327
export interface PublicCatalogProductUnitOfMeasure {

0 commit comments

Comments
 (0)