# Functions

CallerWithLock is a helper function to call a function with a condition lock.
ContainsIgnoredCase checks if the item of string slice contains the key with case-insensitive.
DiskXMLReader can read the libvirt disk xml file and return a Disk struct.
ForceUmountWithTimeout umounts the specific device with timeout to the specified path.
GetFullDevPath will return full path with `/dev/` prefix.
No description provided by the author
IsFSCorrupted checks if the error is caused by a corrupted filesystem.
IsHostProcMounted checks if host's proc info `/proc` is mounted on `/host/proc`.
IsSupportedFileSystem checks if the filesystem type is supported.
MakeExt4DiskFormatting formats the specified volume device to ext4 with the specified UUID return error if failed.
MatchesIgnoredCase checks if the item of string slice fully match the key with case-insensitive.
MountDisk mounts the specified ext4 volume device to the specified path.
No description provided by the author
No description provided by the author
UmountDisk unmounts the specified volume device to the specified path.
XMLWriter write XML to target file, make sure your xmlData should valid.

# Constants

No description provided by the author
No description provided by the author
DiskRemoveTag indicates a Longhorn is pending to remove.
No description provided by the author
HostProcPath is the convention path where host `/proc` is mounted.
No description provided by the author
ProcPath is a vfs storing process info for Linux.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author