func (s SubnetInfos) SpaceIDs() set.Strings {
	spaceIDs := set.NewStrings()
	for _, sub := range s {
		spaceIDs.Add(sub.SpaceID)
	}
	return spaceIDs
}
// SpaceIDs returns the set of space IDs that these subnets are in.
SpaceIDs returns the set of space IDs that these subnets are in.
// SpaceIDs returns the set of space IDs that these subnets are in .
func (s SubnetInfos) SpaceIDs() set.Strings {
	spaceIDs := set.NewStrings()
	for _, sub := range s {
		spaceIDs.Add(sub.SpaceID)
	}
	return spaceIDs
}
func ( s SubnetInfos ) SpaceIDs ( ) set . Strings { spaceIDs := set . NewStrings ( ) for _ , sub := range s { spaceIDs . Add ( sub . SpaceID ) } return spaceIDs }
SpaceIDs returns the set of space IDs that these subnets are in.
SpaceIDs returns the set of space IDs that these subnets are in .