v1.6.8
This commit is contained in:
10
pkg/cloudapi/k8ci/ids.go
Normal file
10
pkg/cloudapi/k8ci/ids.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package k8ci
|
||||
|
||||
// IDs gets array of K8CIIDs from ListK8CI struct
|
||||
func (lk ListK8CI) IDs() []uint64 {
|
||||
res := make([]uint64, 0, len(lk.Data))
|
||||
for _, k := range lk.Data {
|
||||
res = append(res, k.ID)
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user