# Functions
CheckIfDeviceAvailable checks if a device is available for consumption.
No description provided by the author
GetDeviceFilesystems get the file systems available.
GetDevicePartitions gets partitions on a given device.
GetDeviceProperties gets device properties.
GetDevicePropertiesFromPath gets a device property from a path.
No description provided by the author
GetDiskUUID look up the UUID for a disk.
GetLVName returns the LV name of the device in the form of "VG/LV".
GetUdevInfo gets udev information.
grep finds the *first* line that matches, rather than multiple lines.
No description provided by the author
IsLV returns if a device is owned by LVM, is a logical volume.
ListDevices list all devices available on a machine.
ListDevicesChild list all child available on a device.
No description provided by the author
# Constants
CephLVPrefix is the prefix of a LV owned by ceph-volume.
CryptType is an encrypted type.
DeviceMapperPrefix is the prefix of a LV from the device mapper interface.
DiskType is a disk type.
LinearType is a linear type.
LVMType is an LVM type.
MultiPath is for multipath devices.
PartType is a partition type.
SSDType is an sdd type.
# Structs
CephVolumeInventory represents the output of the ceph-volume inventory command.
LocalDisk contains information about an unformatted block device.
Partition represents a partition metadata.
# Type aliases
CephVolumeLVMList represents the output of the ceph-volume lvm list command.