linux

package
v0.0.0-...-6f5b59b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

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 Architecture() (string, error)

func IsContainerized

func IsContainerized() (bool, error)

IsContainerized returns true if this process is containerized.

func KernelVersion

func KernelVersion() (string, error)

func MachineID

func MachineID() (string, error)

func OperatingSystem

func OperatingSystem() (*types.OSInfo, error)

Types

type SeccompMode

type SeccompMode uint8
const (
	SeccompModeDisabled SeccompMode = iota
	SeccompModeStrict
	SeccompModeFilter
)

func (SeccompMode) String

func (m SeccompMode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL