Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFilterWithList ¶
BuildFilterWithList returns a filesystem filter with the given list of FS types
func DefaultIgnoredTypes ¶
DefaultIgnoredTypes tries to guess a sane list of filesystem types that could be ignored in the running system
Types ¶
type FSStat ¶
type FSStat struct { Directory string `struct:"mount_point,omitempty"` Device string `struct:"device_name,omitempty"` Type string `struct:"type,omitempty"` Options string `struct:"options,omitempty"` Flags opt.Uint `struct:"flags,omitempty"` // metrics Total opt.Uint `struct:"total,omitempty"` Free opt.Uint `struct:"free,omitempty"` Avail opt.Uint `struct:"available,omitempty"` Used UsedVals `struct:"used,omitempty"` Files opt.Uint `struct:"files,omitempty"` FreeFiles opt.Uint `struct:"free_files,omitempty"` }
FSStat carries the metadata for a given filesystem
func GetFilesystems ¶
GetFilesystems returns a filesystem list filtered by the callback function
Click to show internal directories.
Click to hide internal directories.