# Packages
No description provided by the author
# Functions
No description provided by the author
CheckUnpriUserNS checks if the current host enable unprivileged user namespace.
No description provided by the author
find block device id.
No description provided by the author
No description provided by the author
GetCgroup returns the cgroup info of the process param pid: 0 = self, 1 = container main process.
get cgroup version V1/V2 hybrid mode will not work in container.
GetGateway returns the default gateway for the system.
get kernel version.
No description provided by the author
No description provided by the author
IntContains check string array contains a int number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
fmt.Printf(util.GreenBold.Sprint("\n[Information Gathering - System Info]\n")).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadLines reads a whole file into memory and returns a slice of its lines.
No description provided by the author
No description provided by the author
set all block device accessible.
ShellExec run shell script by bash.
StringContains check string array contains a string.
ref https://docs.docker.com/engine/api/v1.24/.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Colorful Bold use like `GreenBold.Sprint(str)`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Colorful Bold use like `GreenBold.Sprint(str)`.
Colorful Bold use like `GreenBold.Sprint(str)`.
Colorful Bold use like `GreenBold.Sprint(str)`.
# Structs
No description provided by the author
No description provided by the author
MountInfo Sample: 36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue Sample2: 1659 1605 253:1 /var/lib/kubelet/pods/cc76265f-d44d-4624-91c8-6f6812f85c7e/etc-hosts /etc/hosts rw,noatime - ext4 /dev/vda1 rw Sample3: 52 36 0:47 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:26 - cgroup cgroup rw,memory format: mountID parentID major:minor root mountPoint opts - Fstype device SuperBlockOptions.
No description provided by the author
# Type aliases
No description provided by the author