Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ubuntu = "ubuntu" CentOS = "centos" Windows = "windows" OSX = "osx" OpenSUSE = "opensuse" GenericLinux = "genericlinux" )
Supported OS constant names for Bases. This list should match the ones found in juju/os except for "kubernetes".
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { Name string `json:"name,omitempty"` Channel channel.Channel `json:"channel,omitempty"` }
Base represents an OS/Channel. Bases can also be converted to and from a series string.
func ParseBaseFromSeries ¶
ParseBaseFromSeries matches legacy series like "focal" or parses a base as series string in the form "os/track/risk/branch"
Click to show internal directories.
Click to hide internal directories.