func (s *supportedInfo) controllerSeries() []string {
	var result []string
	for _, namedSeries := range s.namedSeries() {
		version := namedSeries.SeriesVersion
		if version.WorkloadType != ControllerWorkloadType {
			continue
		}

		if version.ESMSupported || version.Supported {
			result = append(result, namedSeries.Name.String())
		}
	}
	return result
}
// controllerSeries returns a slice of series that are supported to run on a
// controller.
controllerSeries returns a slice of series that are supported to run on a
controller.
// controllerSeries returns a slice of series that are supported to run on a // controller .
func (s *supportedInfo) controllerSeries() []string {
	var result []string
	for _, namedSeries := range s.namedSeries() {
		version := namedSeries.SeriesVersion
		if version.WorkloadType != ControllerWorkloadType {
			continue
		}
		if version.ESMSupported || version.Supported {
			result = append(result, namedSeries.Name.String())
		}
	}
	return result
}
func ( s * supportedInfo ) controllerSeries ( ) [ ] string { var result [ ] string for _ , namedSeries := range s . namedSeries ( ) { version := namedSeries . SeriesVersion if version . WorkloadType != ControllerWorkloadType { continue } if version . ESMSupported || version . Supported { result = append ( result , namedSeries . Name . String ( ) ) } } return result }
controllerSeries returns a slice of series that are supported to run on a
controller.
controllerSeries returns a slice of series that are supported to run on a controller .