dmlegacy

package
v0.6.0-157-0a4f9e43518406 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateSnapshot

func ActivateSnapshot(vm *api.VM) error

ActivateSnapshot sets up the snapshot with devicemapper so that it is active and can be used

func AllocateAndPopulateOverlay

func AllocateAndPopulateOverlay(vm *api.VM) error

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

func CreateImageFilesystem(img *api.Image, src source.Source) error

CreateImageFilesystem creates an ext4 filesystem in a file, containing the files from the source

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL