Versions in this module Expand all Collapse all v1 v1.1.1 Mar 11, 2021 Changes in this version + func LocalSeriesVersionInfo() (jujuos.OSType, map[string]SeriesVersionInfo, error) + type SeriesVersionInfo struct + CreatedByLocalDistroInfo bool + ESMSupported bool + LTS bool + Supported bool + Version string + WarningInfo []string v1.1.0 Nov 20, 2020 Changes in this version + var HostSeries func() (string, error) = hostSeries + var MustHostSeries = mustHostSeries + var UbuntuDistroInfo = "/usr/share/distro-info/ubuntu.csv" + func CentOSVersionSeries(version string) (string, error) + func DefaultSupportedLTS() string + func ESMSupportedJujuSeries() []string + func GetOSFromSeries(series string) (os.OSType, error) + func IsUnknownOSForSeriesError(err error) bool + func IsUnknownSeriesVersionError(err error) bool + func IsUnknownVersionSeriesError(err error) bool + func IsWindowsNano(series string) bool + func LatestLts() string + func MustOSFromSeries(series string) os.OSType + func OSSupportedSeries(os os.OSType) []string + func OverwrittenWindowsVersions() []string + func ReleaseVersion() string + func SeriesVersion(series string) (string, error) + func SetLatestLtsForTesting(series string) string + func SupportedJujuControllerSeries() []string + func SupportedJujuSeries() []string + func SupportedJujuWorkloadSeries() []string + func SupportedLts() []string + func SupportedSeries() []string + func UbuntuSeriesVersion(series string) (string, error) + func UpdateSeriesVersions() error + func VersionSeries(version string) (string, error) + func WindowsVersionSeries(version string) (string, error) + func WindowsVersions() map[string]string + type DistroInfo struct + func NewDistroInfo(path string) *DistroInfo + func (d *DistroInfo) Refresh() error + func (d *DistroInfo) SeriesInfo(seriesName string) (DistroInfoSerie, bool) + type DistroInfoSerie struct + CodeName string + Created time.Time + EOL time.Time + Released time.Time + Series string + Version string + func (d *DistroInfoSerie) LTS() bool + func (d *DistroInfoSerie) Supported(now time.Time) bool + type FileSystem interface + Exists func(string) bool + Open func(string) (*os.File, error) Other modules containing this package github.com/juju/os/v2