package
0.0.0-20240822020607-ba854f2ded86
Repository: https://github.com/aliyuncontainerservice/pouch.git
Documentation: pkg.go.dev

# Functions

GetDevID returns device id via syscall according to the input directory.
GetNodeIP fetches node ip via command hostname.
GetOSName gets data in /etc/os-release and gets OS name.
GetSerialNumber gets serial number or a machine.
GetTotalMem gets total ram of host.
NewCgroupInfo news a CgroupInfo struct.
NewInfo creates a system info about current machine.

# Structs

BlkioCgroupInfo defines blkio cgroup information on current machine.
CgroupInfo defines cgroup information on current machine.
CPUCgroupInfo defines cpu cgroup information on current machine.
Info defines system info on current machine.
MemoryCgroupInfo defines memory cgroup information on current machine.
PidsCgroupInfo defines pid cgroup information on current machine.