Documentation
¶
Overview ¶
Package mvp contains a bunch of code which is a minimum viable product. We either call out to other
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDevice ¶
type BlockDevice struct {
Name string `json:"name"`
MajMin string `json:"maj:min"`
RM string `json:"rm"`
Size string `json:"size"`
RO string `json:"ro"`
Type string `json:"type"`
MountPoint string `json:"mountpoint"`
Children []BlockDevice `json:"children,omitempty"`
}
BlockDevice returns the blockdevice information about the
func GetLsBlk ¶
func GetLsBlk() []BlockDevice
GetLsBlk gets the output of lsblk and returns that as an object.
Click to show internal directories.
Click to hide internal directories.