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.
|
package defsecpolicies
|
|
|
|
// IDs gets array of IDs from SecurityPoliciesList struct
|
|
func (spl SecurityPoliciesList) IDs() []string {
|
|
res := make([]string, 0, len(spl.Policies))
|
|
for _, c := range spl.Policies {
|
|
res = append(res, c.ID)
|
|
}
|
|
return res
|
|
}
|