debian-forge-composer/internal/disk
Christian Kellner b0899c5c59 disk: new interface UniqueEntity for Entities with UUID
This is for all entities that have a uniquely identifiable via a UUID.
Currently the interface only contains a single function, GenUUID(),
that should generate a new UUID via a random source (`rand.Rand`).
NB: Partitions are uniquely identifiable if and only if the layout is
GPT.

Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net>
2022-02-22 19:23:41 +00:00
..
btrfs.go disk: new interface UniqueEntity for Entities with UUID 2022-02-22 19:23:41 +00:00
disk.go disk: new interface UniqueEntity for Entities with UUID 2022-02-22 19:23:41 +00:00
disk_test.go disk: implement VolumeContainer interface for PartitionTable 2022-02-22 19:23:41 +00:00
filesystem.go disk: new interface UniqueEntity for Entities with UUID 2022-02-22 19:23:41 +00:00
luks.go disk: new interface UniqueEntity for Entities with UUID 2022-02-22 19:23:41 +00:00
lvm.go disk: Entity types must implement Clone() 2022-02-22 19:23:41 +00:00
partition.go disk: move stage option generation functions to osbuild1,2 2022-02-22 19:23:41 +00:00
partition_table.go disk: new interface UniqueEntity for Entities with UUID 2022-02-22 19:23:41 +00:00