Copyright | (c) 2017 Red Hat Inc. |
---|---|
License | LGPL |
Maintainer | https://github.com/weldr |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
BDCS.Export.Qcow2
Description
Functions for exporting objects from the BDCS into a qcow2 image.
- qcow2Sink :: (MonadBaseControl IO m, MonadError String m, MonadLoggerIO m, MonadResource m) => FilePath -> Consumer (Files, Object) m ()
Documentation
qcow2Sink :: (MonadBaseControl IO m, MonadError String m, MonadLoggerIO m, MonadResource m) => FilePath -> Consumer (Files, Object) m () Source #
A Consumer
that writes objects into a temporary directory, and then converts that directory into
a qcow2 image with virt-make-fs.