The highest tagged major version is
v2.
package
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Mar 11, 2021
License: LGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 39
Opens a new window with list of known importers.
README
¶
os
Host OS ans Series abstractions.
Documentation
¶
Package os provides access to operating system related configuration.
const (
Unknown OSType = iota
Ubuntu
Windows
OSX
CentOS
GenericLinux
OpenSUSE
Kubernetes
)
EquivalentTo returns true if the OS type is equivalent to another
OS type.
IsLinux returns true if the OS type is a Linux variant.
Source Files
¶
Directories
¶
series provides helpers for determining the series of a host, and translating from os to series.
|
series provides helpers for determining the series of a host, and translating from os to series. |
Click to show internal directories.
Click to hide internal directories.