You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decort-golang-sdk/pkg/cloudbroker/k8ci/ids.go

10 lines
220 B

package k8ci
// IDs gets array of K8CIIDs from ListK8CI struct
func (lk8ci ListK8CI) IDs() []uint64 {
res := make([]uint64, 0, len(lk8ci.Data))
for _, i := range lk8ci.Data {
res = append(res, i.ID)
}
return res
}