This commit is contained in:
asteam
2025-08-29 12:51:25 +03:00
parent e10ee7f801
commit 825b1a0a00
177 changed files with 4821 additions and 349 deletions

View File

@@ -133,6 +133,9 @@ type ResourceLimits struct {
// GPUUnits
GPUUnits float64 `json:"gpu_units"`
// Storage policies
StoragePolicies []StoragePolicy `json:"storage_policy"`
}
// Main information about account
@@ -200,6 +203,9 @@ type InfoAccount struct {
// Status
Status string `json:"status"`
// Storage policy ids
StoragePolicyIDs []uint64 `json:"storage_policy_ids"`
// UniqPools
UniqPools []string `json:"uniqPools"`
@@ -234,7 +240,7 @@ type RecordAccount struct {
ACL []ACLWithEmails `json:"acl"`
// Zones IDs
ZoneIDs []ZoneID
ZoneIDs []ZoneID `json:"zoneIds"`
}
// More information about account
@@ -249,7 +255,7 @@ type ItemAccount struct {
InfoAccount
// Zones
ZoneIDs []uint64
ZoneIDs []uint64 `json:"zoneIds"`
}
// List of accounts