series

package
v5.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

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, boostBundle},

	"oneiric": {true, Ubuntu, false, 0},
	"precise": {true, Ubuntu, false, 0},
	"quantal": {true, Ubuntu, false, 0},
	"raring":  {true, Ubuntu, false, 0},
	"saucy":   {true, Ubuntu, false, 0},
	"trusty":  {true, Ubuntu, true, boostLTS4},
	"utopic":  {true, Ubuntu, false, 0},
	"vivid":   {true, Ubuntu, false, 0},
	"wily":    {true, Ubuntu, false, 0},
	"xenial":  {true, Ubuntu, true, boostLTS3},
	"yakkety": {true, Ubuntu, false, 0},
	"zesty":   {true, Ubuntu, false, 0},
	"artful":  {true, Ubuntu, false, 0},
	"bionic":  {true, Ubuntu, true, boostLTS2},
	"cosmic":  {true, Ubuntu, false, 0},
	"disco":   {true, Ubuntu, false, 0},
	"eoan":    {true, Ubuntu, false, 0},
	"focal":   {true, Ubuntu, true, boostLTS1},
	"groovy":  {true, Ubuntu, true, boostS2},
	"hirsute": {true, Ubuntu, true, boostS1},
	"impish":  {true, Ubuntu, true, boostUnreleased},

	"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, 1.1},
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL