This commit is contained in:
asteam
2025-07-15 17:39:18 +03:00
parent 1f8637400f
commit 7dacf35cd6
163 changed files with 4322 additions and 504 deletions

10
pkg/cloudapi/zone/ids.go Normal file
View File

@@ -0,0 +1,10 @@
package zone
// IDs gets array of IDs from ListZones struct
func (le ListZones) IDs() []uint64 {
res := make([]uint64, 0, len(le.Data))
for _, e := range le.Data {
res = append(res, e.ID)
}
return res
}