Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateSnapshot ¶
ActivateSnapshot sets up the snapshot with devicemapper so that it is active and can be used. It returns the path of the bootable snapshot device.
func AllocateAndPopulateOverlay ¶
AllocateAndPopulateOverlay creates the overlay.dm file on top of an image, and configures the snapshot in all ways needed. It also copies in contents from the host as needed, and configures networking.
func CreateImageFilesystem ¶
CreateImageFilesystem creates an ext4 filesystem in a file, containing the files from the source
func DeactivateSnapshot ¶ added in v0.8.0
DeactivateSnapshot deactivates the snapshot by removing it with dmsetup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.