Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionID ¶ added in v0.0.4
type DistributionID string
const ( UnknownLinux DistributionID = "linux" // default Ubuntu DistributionID = "ubuntu" Debian DistributionID = "debian" Arch DistributionID = "arch" RHEL DistributionID = "rhel" Fedora DistributionID = "fedora" CentOS DistributionID = "centos" Kali DistributionID = "kali" Parrot DistributionID = "parrot" Alpine DistributionID = "alpine" OpenSUSE DistributionID = "opensuse" )
type State ¶
type State struct { HasPassword bool SudoEntries Sudoers Hostname string DistroID DistributionID DistroVersion string }
func (*State) IsDebianLike ¶ added in v0.0.4
func (*State) IsPackageInstalled ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.