osutils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FalconInstalled

func FalconInstalled(targetOS string) (bool, error)

FalconInstalled checks if the Falcon Sensor is installed on the target OS.

func PackageManagerLock added in v0.6.0

func PackageManagerLock() (bool, error)

PackageManagerLock checks if a package manager is locked due to another install taking place.

func ReadEtcRelease

func ReadEtcRelease(targetOS string) (osName, osVersion string, err error)

ReadEtcRelease reads the /etc/os-release file on Linux and returns the OS name and version.

func RunningWithPrivileges

func RunningWithPrivileges(targetOS string) (bool, error)

RunningWithPrivileges checks if the program is running with root/admin privileges.

Types

This section is empty.

Jump to

Keyboard shortcuts

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