packages feed

lxc 0.3 → 0.3.1

raw patch · 5 files changed

+13/−7 lines, 5 files

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+0.3.1+---+* added `snapshotDestroy` to `System.LXC.Container`+* minor documentation improvements+ 0.3 --- * introduced `LXC` monad
lxc.cabal view
@@ -1,5 +1,5 @@ name:                lxc-version:             0.3+version:             0.3.1 synopsis:            High level Haskell bindings to LXC (Linux containers). description:         The library provides Haskell LXC API, wrapping <http://hackage.haskell.org/package/bindings-lxc bindings-lxc package>. homepage:            https://github.com/fizruk/lxc
src/System/LXC.hs view
@@ -7,7 +7,7 @@ -- Maintainer  :  nickolay.kudasov@gmail.com -- -- Create, control and manage LXC containers through Haskell API.--- You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html>.+-- You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html> and <https://linuxcontainers.org>. -- -- Most of container-related functions (e.g. 'start', 'attach', 'destroy') perform in 'System.LXC.Container.LXC' monad. -- To run @'System.LXC.Container.LXC' a@ computation you need to specify a container using 'withContainer' function.
src/System/LXC/AttachOptions.hs view
@@ -7,7 +7,7 @@ -- Maintainer  :  nickolay.kudasov@gmail.com -- -- Options and structures to run commands inside LXC containers.--- You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html>.+-- You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html> and <https://linuxcontainers.org>. -- -- Normally you should import @System.LXC@ module only. --
src/System/LXC/Container.hs view
@@ -7,7 +7,8 @@ -- Maintainer  :  nickolay.kudasov@gmail.com -- -- This module provides a set of functions to create, control and manage--- LXC containers. You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html>.+-- LXC containers.+-- You can get more info about LXC at <https://help.ubuntu.com/lts/serverguide/lxc.html> and <https://linuxcontainers.org>. -- -- Normally you should import @System.LXC@ module only. --@@ -51,14 +52,13 @@   getRunningConfigItem,   clearConfig,   clearConfigItem,-  -- ** Freeze/unfreeze-  freeze,-  unfreeze,   -- ** Control container state   start,   stop,   reboot,   shutdown,+  freeze,+  unfreeze,   wait,   -- ** Manage containers   create,@@ -75,6 +75,7 @@   snapshot,   snapshotList,   snapshotRestore,+  snapshotDestroy,   -- ** Misc   wantDaemonize,   wantCloseAllFDs,