This commit is contained in:
asteam
2026-01-16 16:50:40 +03:00
parent bb90a2d511
commit 365a4991d2
24 changed files with 191 additions and 39 deletions

View File

@@ -58,6 +58,10 @@ type DiskAddRequest struct {
// Desired bus number (hex string, e.g. "0x03")
// Required: false
BusNumber string `url:"bus_number,omitempty" json:"bus_number,omitempty"`
// Disk cache mode
// Required: false
Cache string `url:"cache,omitempty" json:"cache,omitempty"`
}
// DiskAdd creates new disk and attach to compute

View File

@@ -397,6 +397,9 @@ type ItemDisk struct {
// Bus number
BusNumber uint64 `json:"bus_number"`
// Chache
Cache string `json:"cache"`
// Created by
CreatedBy string `json:"createdBy"`
@@ -1173,7 +1176,7 @@ type RecordCompute struct {
ZoneID uint64 `json:"zoneId"`
//todo
_ uint64 `json:"nodeId"`
_ uint64 `json:"nodeId"`
}
type LoaderMetaIso struct {