func AllWorkloadOSTypes(requestedSeries, imageStream string) (set.Strings, error) {
	supported, err := seriesForTypes(UbuntuDistroInfo, time.Now(), requestedSeries, imageStream)
	if err != nil {
		return nil, errors.Trace(err)
	}
	result := set.NewStrings()
	for _, series := range supported.workloadSeries(true) {
		result.Add(DefaultOSTypeNameFromSeries(series))
	}
	return result, nil
}
// AllWorkloadOSTypes returns all the workload os types (supported or not).
AllWorkloadOSTypes returns all the workload os types (supported or not).
// AllWorkloadOSTypes returns all the workload os types ( supported or not ) .
func AllWorkloadOSTypes(requestedSeries, imageStream string) (set.Strings, error) {
	supported, err := seriesForTypes(UbuntuDistroInfo, time.Now(), requestedSeries, imageStream)
	if err != nil {
		return nil, errors.Trace(err)
	}
	result := set.NewStrings()
	for _, series := range supported.workloadSeries(true) {
		result.Add(DefaultOSTypeNameFromSeries(series))
	}
	return result, nil
}
func AllWorkloadOSTypes ( requestedSeries , imageStream string ) ( set . Strings , error ) { supported , err := seriesForTypes ( UbuntuDistroInfo , time . Now ( ) , requestedSeries , imageStream ) if err != nil { return nil , errors . Trace ( err ) } result := set . NewStrings ( ) for _ , series := range supported . workloadSeries ( true ) { result . Add ( DefaultOSTypeNameFromSeries ( series ) ) } return result , nil }
AllWorkloadOSTypes returns all the workload os types (supported or not).
AllWorkloadOSTypes returns all the workload os types ( supported or not ) .