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
Click to show internal directories.
Click to hide internal directories.