This commit is contained in:
2026-07-02 14:30:23 +03:00
parent db594a9d81
commit 55fe76d12e
9 changed files with 58 additions and 52 deletions

View File

@@ -100,6 +100,12 @@ type RecordGrid struct {
// Network modes
NetworkModes []string `json:"network_modes"`
// Reserved CPU
ReservedCPU uint64 `json:"reserved_cpu"`
// Reserved RAM
ReservedRAM uint64 `json:"reserved_ram"`
// SDN support
SDNSupport bool `json:"sdn_support"`
@@ -139,6 +145,12 @@ type ItemGridList struct {
// Network modes
NetworkModes []string `json:"network_modes"`
// Reserved CPU
ReservedCPU uint64 `json:"reserved_cpu"`
// Reserved RAM
ReservedRAM uint64 `json:"reserved_ram"`
// SDN support
SDNSupport bool `json:"sdn_support"`
@@ -175,15 +187,6 @@ type RecordSettingsGrid struct {
//Cleanup retention period
CleanupRetentionPeriod uint64 `json:"cleanupRetentionPeriod"`
// CPU allocation ratio
CPUAllocationRatio uint64 `json:"cpu_allocation_ratio"`
// CPU allocation ratio for VMs
CPUAllocationRatioVM uint64 `json:"cpu_allocation_ratio_vm"`
// Custom backup path
CustomBackupPath []string `json:"custom_backup_path"`
//Docker registry
DockerRegistry DockerRegistry `json:"docker_registry"`
@@ -214,9 +217,6 @@ type RecordSettingsGrid struct {
//Net QOS
NetQOS NetQOS `json:"net_qos"`
//Networks
Networks string `json:"networks"`
// Node self stop timer uptime monitor
NodeSelfStopTimerUptimeMonitor uint64 `json:"nodeSelfStopTimerUptimeMonitor"`