distros

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution string
var (
	DistributionJessie      Distribution = "jessie"
	DistributionDebian9     Distribution = "debian9"
	DistributionDebian10    Distribution = "buster"
	DistributionXenial      Distribution = "xenial"
	DistributionBionic      Distribution = "bionic"
	DistributionRhel7       Distribution = "rhel7"
	DistributionCentos7     Distribution = "centos7"
	DistributionRhel8       Distribution = "rhel8"
	DistributionCentos8     Distribution = "centos8"
	DistributionCoreOS      Distribution = "coreos"
	DistributionFlatcar     Distribution = "flatcar"
	DistributionContainerOS Distribution = "containeros"
)

func FindDistribution

func FindDistribution(rootfs string) (Distribution, error)

FindDistribution identifies the distribution on which we are running We will likely remove this when everything is containerized

func (Distribution) BuildTags

func (d Distribution) BuildTags() []string

func (Distribution) IsDebianFamily

func (d Distribution) IsDebianFamily() bool

func (Distribution) IsRHELFamily

func (d Distribution) IsRHELFamily() bool

func (Distribution) IsSystemd

func (d Distribution) IsSystemd() bool

func (Distribution) IsUbuntu

func (d Distribution) IsUbuntu() bool

Jump to

Keyboard shortcuts

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