b9-0.2.1: A build tool and library for virtual machines.

Safe HaskellNone
LanguageHaskell2010

B9.DiskImages

Description

Data types that describe all B9 relevant elements of virtual machine disk images.

Synopsis

Documentation

type Mounted a = (a, MountPoint) Source

imageFileExtension :: ImageType -> String Source

Return the file name extension of an image file with a specific image format.

data SharedImage Source

SharedImage holds all data necessary to identify an image shared.

Instances

Eq SharedImage 
Ord SharedImage

Shared images are orderd by name, build date and build id

Read SharedImage 
Show SharedImage 

siName :: SharedImage -> String Source

Return the name of a shared image.

sharedImageImage :: SharedImage -> Image Source

Return the disk image of an sharedImage

sharedImageFileName :: SharedImage -> FilePath Source

Calculate the path to the text file holding the serialized SharedImage relative to the directory of shared images in a repository.