distros

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

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"
	DistributionXenial      Distribution = "xenial"
	DistributionBionic      Distribution = "bionic"
	DistributionRhel7       Distribution = "rhel7"
	DistributionCentos7     Distribution = "centos7"
	DistributionCoreOS      Distribution = "coreos"
	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

Jump to

Keyboard shortcuts

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