constants

package
v0.0.0-...-7f39af8 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: AGPL-3.0, AGPL-3.0-or-later, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerOrg = "pacur/"
)

Variables

View Source
var (
	ColorYellow = "\033[33m"
	ColorBlue   = "\033[34m"
	ColorWhite  = "\033[37m"
)
View Source
var (
	Releases = [...]string{
		"archlinux",
		"amazonlinux-1",
		"amazonlinux-2",
		"fedora-32",
		"fedora-33",
		"centos-7",
		"centos-8",
		"debian-jessie",
		"debian-stretch",
		"debian-buster",
		"oraclelinux-7",
		"oraclelinux-8",
		"ubuntu-trusty",
		"ubuntu-xenial",
		"ubuntu-bionic",
		"ubuntu-eoan",
		"ubuntu-focal",
		"ubuntu-groovy",
	}
	ReleasesMatch = map[string]string{
		"archlinux":      "",
		"amazonlinux-1":  ".amzn1.",
		"amazonlinux-2":  ".amzn2.",
		"fedora-32":      ".fc32.",
		"fedora-33":      ".fc33.",
		"centos-7":       ".el7.",
		"centos-8":       ".el8.",
		"debian-jessie":  "jessie",
		"debian-stretch": "stretch",
		"debian-buster":  "buster",
		"oraclelinux-7":  ".ol7.",
		"oraclelinux-8":  ".ol8.",
		"ubuntu-trusty":  "trusty",
		"ubuntu-xenial":  "xenial",
		"ubuntu-bionic":  "bionic",
		"ubuntu-eoan":    "eoan",
		"ubuntu-focal":   "focal",
		"ubuntu-groovy":  "groovy",
	}
	DistroPack = map[string]string{
		"archlinux":   "pacman",
		"amazonlinux": "redhat",
		"fedora":      "redhat",
		"centos":      "redhat",
		"debian":      "debian",
		"oraclelinux": "redhat",
		"ubuntu":      "debian",
	}
	Packagers = [...]string{
		"apt",
		"pacman",
		"yum",
	}

	ReleasesSet    = set.NewSet()
	Distros        = []string{}
	DistrosSet     = set.NewSet()
	DistroPackager = map[string]string{}
	PackagersSet   = set.NewSet()
	CleanPrevious  = false
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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