Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailOnError ¶
func GetHostName ¶
func GetHostName() string
func RandomString ¶
Types ¶
type Distro ¶
type Distro struct { Family string // Major distribution type currently "debian" or "centos" InitSystem string // The Linux init system used by this operating system Version string // Major version of the distribution // TODO }
func (*Distro) SetInitSystem ¶
Set the init system based on the operating system family
Click to show internal directories.
Click to hide internal directories.