Documentation ¶
Overview ¶
Package series holds information about series supported in the charmstore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Series = map[string]SeriesInfo{ "bundle": {false, "", true, 1.1380}, "oneiric": {true, Ubuntu, false, 0}, "precise": {true, Ubuntu, true, 1.1125}, "quantal": {true, Ubuntu, false, 0}, "raring": {true, Ubuntu, false, 0}, "saucy": {true, Ubuntu, false, 0}, "trusty": {true, Ubuntu, true, 1.125}, "utopic": {true, Ubuntu, false, 0}, "vivid": {true, Ubuntu, false, 0}, "wily": {true, Ubuntu, false, 1.102}, "xenial": {true, Ubuntu, true, 1.1375}, "yakkety": {true, Ubuntu, false, 0}, "zesty": {true, Ubuntu, false, 0}, "artful": {true, Ubuntu, true, 1.105}, "bionic": {true, Ubuntu, true, 1.15}, "cosmic": {true, Ubuntu, true, 0}, "win2012hvr2": {true, Windows, true, 1.1}, "win2012hv": {true, Windows, true, 1.1}, "win2012r2": {true, Windows, true, 1.1}, "win2012": {true, Windows, true, 1.1}, "win7": {true, Windows, true, 1.1}, "win8": {true, Windows, true, 1.1}, "win81": {true, Windows, true, 1.1}, "win10": {true, Windows, true, 1.1}, "win2016": {true, Windows, true, 1.1}, "win2016hv": {true, Windows, true, 1.1}, "win2016nano": {true, Windows, true, 1.1}, "centos7": {true, CentOS, true, 1.1}, "kubernetes": {true, Kubernetes, true, 0}, }
Series contains the data charmstore knows about series names
Functions ¶
This section is empty.
Types ¶
type Distribution ¶
type Distribution string
Distribution represents a distribution supported by the charmstore. Every series will belong to a distribution.
const ( Ubuntu Distribution = "ubuntu" CentOS Distribution = "centos" Windows Distribution = "windows" Kubernetes Distribution = "kubernetes" )
type SeriesInfo ¶
type SeriesInfo struct { // CharmSeries holds whether this series name is for charms. CharmSeries bool // Distribution holds the Distribution this series belongs to. Distribution Distribution // SearchIndex holds whether charms in this series should be added // to the search index. SearchIndex bool // SearchBoost contains the relative boost given to charms in // this series when searching. SearchBoost float64 }
SeriesInfo contains the information the charmstore knows about a series name.
Click to show internal directories.
Click to hide internal directories.