Documentation ¶
Overview ¶
Package util provides utility functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistroType ¶
type DistroType string
const ( DistroUnknown DistroType = "unknown" DistroFlatcar DistroType = "flatcar" DistroUbuntu DistroType = "ubuntu" // DistroRocky Rocky os-release ID output has rocky in quotes. DistroRocky DistroType = "\"rocky\"" )
func Distro ¶
func Distro() (DistroType, error)
Click to show internal directories.
Click to hide internal directories.