Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostFileSystems ¶
GetHostFileSystems returns a slice of strings of filesystems supported by the host. Supported filesytems are restricted to ext3,ext4,xfs,btrfs
Types ¶
type Device ¶
Device is a struct for holding details about a compatible block device
func GetDevice ¶
GetDevice returns a Device struct with info about the given device, or an error if it doesn't exist or is not a block device
func GetDeviceInDir ¶
GetDeviceInDir returns a Device struct with info about the given device, by looking for name in dir.
func ListDevices ¶
ListDevices returns a slice of Device for all valid blockdevices found in the given device directory
Click to show internal directories.
Click to hide internal directories.