This commit is contained in:
asteam committed 2025-09-23 14:34:24 +03:00
1 parent b924e85e49
commit f1ffb4c0fd
1108 files changed
+72020

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package vgpu
// IDs gets array of VGPUIDs from ListVGPU struct
func (lvg ListVGPU) IDs() []uint64 {
res := make([]uint64, 0, len(lvg.Data))
for _, s := range lvg.Data {
res = append(res, s.ID)
}
return res
}