This commit is contained in:
dayterr committed 2026-02-06 17:20:56 +03:00
1 parent b3df483fc2
commit 9a34be9d4e
16 files changed
+69 -53

No files matched your search

-4
View File
@@ -37,10 +37,6 @@ type CreateRequest struct {
// Pool name to create disk
// Required: false
Pool string `url:"pool,omitempty" json:"pool,omitempty"`
// Cache mode of disk
// Required: false
Cache string `url:"cache,omitempty" json:"cache,omitempty"`
}
// Create creates a disk
+9 -3
View File
@@ -11,6 +11,9 @@ type ItemDisk struct {
// Account name
AccountName string `json:"accountName"`
// BLK Discard
BLKDiscard bool `json:"blkdiscard"`
// Computes
Computes map[string]string `json:"computes"`
@@ -145,9 +148,6 @@ type ItemDisk struct {
}
type ItemDiskUnattached struct {
// CKey
CKey string `json:"_ckey"`
// Meta
Meta []interface{} `json:"_meta"`
@@ -160,6 +160,9 @@ type ItemDiskUnattached struct {
// Access Control List
ACL map[string]interface{} `json:"acl"`
// BLK Discard
BLKDiscard bool `json:"blkdiscard"`
// Boot Partition
BootPartition uint64 `json:"bootPartition"`
@@ -381,6 +384,9 @@ type RecordDisk struct {
// Account name
AccountName string `json:"accountName"`
// BLK Discard
BLKDiscard bool `json:"blkdiscard"`
// Computes
Computes map[string]string `json:"computes"`