debian-forge-composer/internal/disk
Christian Kellner ed4e0a94a4 disk: honour the fact that some containers have metadata
Re-introduce the VolumeContainer interface but with a different
meaning: it is supposed to be implemented by all container that
contain volumes and as a result have themselves a size, like eg
LVM2, LUKS2 and PartitionTable (the latter is not yet included).
The sole method on the interface for now is MetadataSize, which
should return the metadata for the container itself.
Use that new `VolumeContainer.MetadataSize` method when we up-
date the sizes of elements in `resizeEntitybranch`.
2022-02-28 17:09:30 +01:00
..
btrfs.go disk: rename Create{Volume → Mountpoint} 2022-02-28 17:09:30 +01:00
disk.go disk: honour the fact that some containers have metadata 2022-02-28 17:09:30 +01:00
disk_test.go disk: NewPartitionTable can wrap plain partitions in LVM 2022-02-28 17:09:30 +01:00
filesystem.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
luks.go disk: honour the fact that some containers have metadata 2022-02-28 17:09:30 +01:00
lvm.go disk: honour the fact that some containers have metadata 2022-02-28 17:09:30 +01:00
lvm_test.go disk: rename Create{Volume → Mountpoint} 2022-02-28 17:09:30 +01:00
partition.go disk: add partition type helpers 2022-02-27 22:03:36 +01:00
partition_table.go disk: honour the fact that some containers have metadata 2022-02-28 17:09:30 +01:00