Documentation ¶
Index ¶
Constants ¶
View Source
const FakePartitionSize = uint64(789) * common.MiB
Variables ¶
This section is empty.
Functions ¶
func MakeFakeBtrfsPartitionTable ¶ added in v0.70.0
func MakeFakeBtrfsPartitionTable(mntPoints ...string) *disk.PartitionTable
MakeFakeBtrfsPartitionTable is similar to MakeFakePartitionTable but creates a btrfs-based partition table.
func MakeFakePartitionTable ¶
func MakeFakePartitionTable(mntPoints ...string) *disk.PartitionTable
MakeFakePartitionTable is a helper to create partition table structs for tests. It uses sensible defaults for common scenarios.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.