func SupportedJujuControllerSeries() []string {
	s := ubuntuSeriesSortedByVersion()

	var series []string
	for _, version := range s {
		if !version.SeriesVersion.Supported {
			continue
		}
		series = append(series, version.Name)
	}
	return series
}
// SupportedJujuControllerSeries returns a slice of juju supported series that
// target a controller (bootstrapping).
//
// The series are sorted in release version.
//   - focal (20.04)
//   - bionic (18.04)
//   - xenial (16.04)
//
// Anything not supported is left out.
SupportedJujuControllerSeries returns a slice of juju supported series that
target a controller (bootstrapping).

The series are sorted in release version.

Anything not supported is left out.
// SupportedJujuControllerSeries returns a slice of juju supported series that // target a controller ( bootstrapping ) . // // The series are sorted in release version . // - focal ( 20 . 04 ) // - bionic ( 18 . 04 ) // - xenial ( 16 . 04 ) // // Anything not supported is left out .
func SupportedJujuControllerSeries() []string {
	s := ubuntuSeriesSortedByVersion()
	var series []string
	for _, version := range s {
		if !version.SeriesVersion.Supported {
			continue
		}
		series = append(series, version.Name)
	}
	return series
}
func SupportedJujuControllerSeries ( ) [ ] string { s := ubuntuSeriesSortedByVersion ( ) var series [ ] string for _ , version := range s { if ! version . SeriesVersion . Supported { continue } series = append ( series , version . Name ) } return series }
SupportedJujuControllerSeries returns a slice of juju supported series that
target a controller (bootstrapping).
SupportedJujuControllerSeries returns a slice of juju supported series that target a controller ( bootstrapping ) .