Documentation
¶
Overview ¶
package check provides various checks for the operating system that are necessary software to work, e.g. version of the kernel whether aufs is supported, etc
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFS ¶
Return a nil error if the kernel supports a given filesystem (like "aufs" or "overlay")
func CheckUserGroup ¶
CheckUserGroup checks if a user specified with userName has been created. If no user has been created - it will attempt to create one. It will also attempt to create a group specified with groupName.
func IsBtrfsVolume ¶
IsBtrfsVolume determines if dirPath is located on BTRFS filesystem
func KernelVersion ¶
func ParseMountsFile ¶
ParseMountsFile reads and parses /proc/mounts Returns a map "mount point" -> "fs type"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.