Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllPartitions ¶
func GetAllPartitions() (v1.PartitionList, error)
GetAllPartitions returns all partitions in the system for all disks
func GetEfiPartition ¶ added in v2.7.13
GetEfiPartition returns the EFI partition by looking for the partition with the label "COS_GRUB"
func GetPartitionFS ¶
GetPartitionFS gets the FS of a partition given
func GetPartitionViaDM ¶
GetPartitionViaDM tries to get the partition via devicemapper for reset We only need to get all this info due to the fS that we need to use to format the partition Otherwise we could just format with the label ¯\_(ツ)_/¯ TODO: store info about persistent and oem in the state.yaml so we can directly load it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.