v14.9.0
This commit is contained in:
1 parent
5e5d90e24f
commit
d82ae52951
9 files changed
+239
-85
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package vgpu
|
||||
|
||||
// IDs gets array of VGPU IDs from ListVGPU struct
|
||||
func (l ListVGPU) IDs() []uint64 {
|
||||
res := make([]uint64, 0, len(l.Data))
|
||||
for _, v := range l.Data {
|
||||
res = append(res, v.ID)
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in new issue
Block a user