Documentation ¶
Index ¶
- func GetFilesystemType(ctx context.Context, executor exec.Interface, device string) (string, error)
- func GetPartitionUUID(ctx context.Context, executor exec.Interface, device string) (string, error)
- func IsBlockDevice(ctx context.Context, executor exec.Interface, device string) (bool, error)
- type BlockDevice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilesystemType ¶
func GetPartitionUUID ¶
Types ¶
type BlockDevice ¶
type BlockDevice struct { Name string `json:"name"` Model string `json:"model"` FSType string `json:"fstype"` PartUUID string `json:"partuuid"` }
func GetBlockDevice ¶
func ListBlockDevices ¶
Click to show internal directories.
Click to hide internal directories.