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

# Functions

GetMajMinNumOfDevice is used for getting major:minor device number.
GoroutinesFromStack returns the Goroutine by the stack information.
ParseCgroupFile parse cgroup path from cgroup file.
PartialEqual is used for check if string 'obtain' has substring 'expect', return can be used in check.Assert() or somewhere else.
StringSliceTrimSpace delete empty items from string slice.
TmpFileWithContent provide tmp file.
TrimAllSpaceAndNewline is used to strip all empty space and newline from a string.
WaitTimeout wait at most timeout nanoseconds, until the condition become true or timeout reached.

# Structs

Goroutine represents the goroutine from runtime.Stack.