Copyright | (c) Nickolay Kudasov 2014 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | nickolay.kudasov@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 and https://linuxcontainers.org.
- c'LXC_CLONE_KEEPNAME :: Num a => a
- c'LXC_CLONE_KEEPMACADDR :: Num a => a
- c'LXC_CLONE_SNAPSHOT :: Num a => a
- c'LXC_CLONE_KEEPBDEVTYPE :: Num a => a
- c'LXC_CLONE_MAYBE_SNAPSHOT :: Num a => a
- c'LXC_CLONE_MAXFLAGS :: Num a => a
- c'LXC_CREATE_QUIET :: Num a => a
- c'LXC_CREATE_MAXFLAGS :: Num a => a
- data C'lxc_container = C'lxc_container {
- c'lxc_container'error_string :: CString
- c'lxc_container'error_num :: CInt
- c'lxc_container'daemonize :: CBool
- c'lxc_container'config_path :: CString
- c'lxc_container'is_defined :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'state :: FunPtr (Ptr C'lxc_container -> IO CString)
- c'lxc_container'is_running :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'freeze :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'unfreeze :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'init_pid :: FunPtr (Ptr C'lxc_container -> IO C'pid_t)
- c'lxc_container'load_config :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'start :: FunPtr (Ptr C'lxc_container -> CInt -> Ptr CString -> IO CBool)
- c'lxc_container'stop :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'want_daemonize :: FunPtr (Ptr C'lxc_container -> CBool -> IO CBool)
- c'lxc_container'want_close_all_fds :: FunPtr (Ptr C'lxc_container -> CBool -> IO CBool)
- c'lxc_container'config_file_name :: FunPtr (Ptr C'lxc_container -> IO CString)
- c'lxc_container'wait :: FunPtr (Ptr C'lxc_container -> CString -> CInt -> IO CBool)
- c'lxc_container'set_config_item :: FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)
- c'lxc_container'destroy :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'save_config :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'create :: FunPtr (Ptr C'lxc_container -> CString -> CString -> Ptr C'bdev_specs -> CInt -> Ptr CString -> IO CBool)
- c'lxc_container'rename :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'reboot :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'shutdown :: FunPtr (Ptr C'lxc_container -> CInt -> IO CBool)
- c'lxc_container'clear_config :: FunPtr (Ptr C'lxc_container -> IO ())
- c'lxc_container'clear_config_item :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'get_config_item :: FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)
- c'lxc_container'get_running_config_item :: FunPtr (Ptr C'lxc_container -> CString -> IO CString)
- c'lxc_container'get_keys :: FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)
- c'lxc_container'get_interfaces :: FunPtr (Ptr C'lxc_container -> IO (Ptr CString))
- c'lxc_container'get_ips :: FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO (Ptr CString))
- c'lxc_container'get_cgroup_item :: FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)
- c'lxc_container'set_cgroup_item :: FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)
- c'lxc_container'get_config_path :: FunPtr (Ptr C'lxc_container -> IO CString)
- c'lxc_container'set_config_path :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'clone :: FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> CString -> CString -> C'uint64_t -> Ptr CString -> IO (Ptr C'lxc_container))
- c'lxc_container'console_getfd :: FunPtr (Ptr C'lxc_container -> Ptr CInt -> Ptr CInt -> IO CInt)
- c'lxc_container'console :: FunPtr (Ptr C'lxc_container -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CInt)
- c'lxc_container'attach :: FunPtr (Ptr C'lxc_container -> C_lxc_attach_exec_t -> Ptr () -> Ptr C'lxc_attach_options_t -> Ptr C'pid_t -> IO CInt)
- c'lxc_container'attach_run_wait :: FunPtr (Ptr C'lxc_container -> Ptr C'lxc_attach_options_t -> CString -> Ptr CString -> IO CInt)
- c'lxc_container'snapshot :: FunPtr (Ptr C'lxc_container -> CString -> IO CInt)
- c'lxc_container'snapshot_list :: FunPtr (Ptr C'lxc_container -> Ptr (Ptr C'lxc_snapshot) -> IO CInt)
- c'lxc_container'snapshot_restore :: FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)
- c'lxc_container'snapshot_destroy :: FunPtr (Ptr C'lxc_container -> CString -> IO CBool)
- c'lxc_container'may_control :: FunPtr (Ptr C'lxc_container -> IO CBool)
- c'lxc_container'add_device_node :: FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)
- c'lxc_container'remove_device_node :: FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)
- p'lxc_container'error_string :: Ptr C'lxc_container -> Ptr CString
- p'lxc_container'error_num :: Ptr C'lxc_container -> Ptr CInt
- p'lxc_container'daemonize :: Ptr C'lxc_container -> Ptr CBool
- p'lxc_container'config_path :: Ptr C'lxc_container -> Ptr CString
- data C'lxc_snapshot = C'lxc_snapshot {}
- p'lxc_snapshot'name :: Ptr C'lxc_snapshot -> Ptr CString
- p'lxc_snapshot'comment_pathname :: Ptr C'lxc_snapshot -> Ptr CString
- p'lxc_snapshot'timestamp :: Ptr C'lxc_snapshot -> Ptr CString
- p'lxc_snapshot'lxcpath :: Ptr C'lxc_snapshot -> Ptr CString
- p'lxc_snapshot'free :: Ptr C'lxc_snapshot -> Ptr (FunPtr (Ptr C'lxc_snapshot -> IO ()))
- data C'bdev_specs = C'bdev_specs {}
- p'bdev_specs'fstype :: Ptr C'bdev_specs -> Ptr CString
- p'bdev_specs'fssize :: Ptr C'bdev_specs -> Ptr C'uint64_t
- p'bdev_specs'zfs :: Ptr C'bdev_specs -> Ptr C'zfs_t
- p'bdev_specs'lvm :: Ptr C'bdev_specs -> Ptr C'lvm_t
- p'bdev_specs'dir :: Ptr C'bdev_specs -> Ptr CString
- data C'zfs_t = C'zfs_t {}
- p'zfs_t'zfsroot :: Ptr C'zfs_t -> Ptr CString
- data C'lvm_t = C'lvm_t {}
- p'lvm_t'vg :: Ptr C'lvm_t -> Ptr CString
- p'lvm_t'lv :: Ptr C'lvm_t -> Ptr CString
- p'lvm_t'thinpool :: Ptr C'lvm_t -> Ptr CString
- p'lxc_container'is_defined :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'is_running :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'state :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString))
- p'lxc_container'init_pid :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO C'pid_t))
- p'lxc_container'get_interfaces :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO (Ptr CString)))
- p'lxc_container'get_ips :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO (Ptr CString)))
- p'lxc_container'config_file_name :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString))
- p'lxc_container'get_config_path :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString))
- p'lxc_container'set_config_path :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'load_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'save_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'get_keys :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt))
- p'lxc_container'set_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool))
- p'lxc_container'get_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt))
- p'lxc_container'get_running_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CString))
- p'lxc_container'clear_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO ()))
- p'lxc_container'clear_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'start :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> Ptr CString -> IO CBool))
- p'lxc_container'stop :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'reboot :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'shutdown :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> IO CBool))
- p'lxc_container'freeze :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'unfreeze :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'wait :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CInt -> IO CBool))
- p'lxc_container'create :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> Ptr C'bdev_specs -> CInt -> Ptr CString -> IO CBool))
- p'lxc_container'clone :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> CString -> CString -> C'uint64_t -> Ptr CString -> IO (Ptr C'lxc_container)))
- p'lxc_container'rename :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'destroy :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'console_getfd :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr CInt -> Ptr CInt -> IO CInt))
- p'lxc_container'console :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CInt))
- p'lxc_container'attach :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> C_lxc_attach_exec_t -> Ptr () -> Ptr C'lxc_attach_options_t -> Ptr C'pid_t -> IO CInt))
- p'lxc_container'attach_run_wait :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr C'lxc_attach_options_t -> CString -> Ptr CString -> IO CInt))
- p'lxc_container'snapshot :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CInt))
- p'lxc_container'snapshot_list :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr (Ptr C'lxc_snapshot) -> IO CInt))
- p'lxc_container'snapshot_restore :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool))
- p'lxc_container'snapshot_destroy :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool))
- p'lxc_container'want_daemonize :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CBool -> IO CBool))
- p'lxc_container'want_close_all_fds :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CBool -> IO CBool))
- p'lxc_container'get_cgroup_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt))
- p'lxc_container'set_cgroup_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool))
- p'lxc_container'may_control :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool))
- p'lxc_container'add_device_node :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool))
- p'lxc_container'remove_device_node :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool))
- c'lxc_container_new :: CString -> CString -> IO (Ptr C'lxc_container)
- c'lxc_container_get :: Ptr C'lxc_container -> IO CInt
- c'lxc_container_put :: Ptr C'lxc_container -> IO CInt
- c'list_defined_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt
- c'list_active_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt
- c'list_all_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt
- c'lxc_get_wait_states :: Ptr CString -> IO CInt
- c'lxc_get_global_config_item :: CString -> IO CString
- c'lxc_get_version :: IO CString
- c'lxc_log_close :: IO ()
Flags
Clone flags
c'LXC_CLONE_KEEPNAME :: Num a => a Source
c'LXC_CLONE_KEEPMACADDR :: Num a => a Source
c'LXC_CLONE_SNAPSHOT :: Num a => a Source
c'LXC_CLONE_KEEPBDEVTYPE :: Num a => a Source
c'LXC_CLONE_MAYBE_SNAPSHOT :: Num a => a Source
c'LXC_CLONE_MAXFLAGS :: Num a => a Source
Create flags
c'LXC_CREATE_QUIET :: Num a => a Source
c'LXC_CREATE_MAXFLAGS :: Num a => a Source
Data types and fields
Container
data C'lxc_container Source
Snapshot
p'lxc_snapshot'free :: Ptr C'lxc_snapshot -> Ptr (FunPtr (Ptr C'lxc_snapshot -> IO ())) Source
Back store device specs
Container methods
Query container state
p'lxc_container'is_defined :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'is_running :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'state :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString)) Source
p'lxc_container'init_pid :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO C'pid_t)) Source
p'lxc_container'get_interfaces :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO (Ptr CString))) Source
p'lxc_container'get_ips :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO (Ptr CString))) Source
Container config
p'lxc_container'config_file_name :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString)) Source
p'lxc_container'get_config_path :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CString)) Source
p'lxc_container'set_config_path :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
p'lxc_container'load_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
p'lxc_container'save_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
p'lxc_container'get_keys :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)) Source
p'lxc_container'set_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)) Source
p'lxc_container'get_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)) Source
p'lxc_container'get_running_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CString)) Source
p'lxc_container'clear_config :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO ())) Source
p'lxc_container'clear_config_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
Control container state
p'lxc_container'start :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> Ptr CString -> IO CBool)) Source
p'lxc_container'stop :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'reboot :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'shutdown :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> IO CBool)) Source
p'lxc_container'freeze :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'unfreeze :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'wait :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CInt -> IO CBool)) Source
Manage containers
p'lxc_container'create :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> Ptr C'bdev_specs -> CInt -> Ptr CString -> IO CBool)) Source
p'lxc_container'clone :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> CString -> CString -> C'uint64_t -> Ptr CString -> IO (Ptr C'lxc_container))) Source
p'lxc_container'rename :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
p'lxc_container'destroy :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
Console
p'lxc_container'console_getfd :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr CInt -> Ptr CInt -> IO CInt)) Source
p'lxc_container'console :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CInt -> CInt -> CInt -> CInt -> CInt -> IO CInt)) Source
Attach
p'lxc_container'attach :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> C_lxc_attach_exec_t -> Ptr () -> Ptr C'lxc_attach_options_t -> Ptr C'pid_t -> IO CInt)) Source
p'lxc_container'attach_run_wait :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr C'lxc_attach_options_t -> CString -> Ptr CString -> IO CInt)) Source
Snapshots
p'lxc_container'snapshot :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CInt)) Source
p'lxc_container'snapshot_list :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> Ptr (Ptr C'lxc_snapshot) -> IO CInt)) Source
p'lxc_container'snapshot_restore :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)) Source
p'lxc_container'snapshot_destroy :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> IO CBool)) Source
Misc
p'lxc_container'want_daemonize :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CBool -> IO CBool)) Source
p'lxc_container'want_close_all_fds :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CBool -> IO CBool)) Source
p'lxc_container'get_cgroup_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> CInt -> IO CInt)) Source
p'lxc_container'set_cgroup_item :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)) Source
p'lxc_container'may_control :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> IO CBool)) Source
p'lxc_container'add_device_node :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)) Source
p'lxc_container'remove_device_node :: Ptr C'lxc_container -> Ptr (FunPtr (Ptr C'lxc_container -> CString -> CString -> IO CBool)) Source
Global LXC functions
Allocate and manage containers
c'lxc_container_new :: CString -> CString -> IO (Ptr C'lxc_container) Source
List containers
c'list_defined_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt Source
c'list_active_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt Source
c'list_all_containers :: CString -> Ptr (Ptr CString) -> Ptr (Ptr (Ptr C'lxc_container)) -> IO CInt Source
Misc
c'lxc_log_close :: IO () Source