Documentation ¶
Overview ¶
Package linux implements the HostProvider and ProcessProvider interfaces for providing information about Linux.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Architecture ¶
func IsContainerized ¶
IsContainerized returns true if this process is containerized.
func KernelVersion ¶
func MachineIDHostfs ¶ added in v1.14.1
func NativeArchitecture ¶ added in v1.13.0
func OperatingSystem ¶
OperatingSystem returns OS info. This does not take an alternate hostfs. to get OS info from an alternate root path, use reader.os()
Types ¶
type SeccompMode ¶
type SeccompMode uint8
const ( SeccompModeDisabled SeccompMode = iota SeccompModeStrict SeccompModeFilter )
func (SeccompMode) String ¶
func (m SeccompMode) String() string
Click to show internal directories.
Click to hide internal directories.