Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- libVirtLXCConfigToCPDocument :: LibVirtLXCConfig -> CPDocument -> Either CPError CPDocument
- defaultLibVirtLXCConfig :: LibVirtLXCConfig
- parseLibVirtLXCConfig :: CPDocument -> Either CPError LibVirtLXCConfig
- data LibVirtLXCConfig = LibVirtLXCConfig {}
- networkId :: Lens' LibVirtLXCConfig (Maybe String)
- data LXCGuestCapability
- = CAP_MKNOD
- | CAP_AUDIT_CONTROL
- | CAP_AUDIT_READ
- | CAP_AUDIT_WRITE
- | CAP_BLOCK_SUSPEND
- | CAP_CHOWN
- | CAP_DAC_OVERRIDE
- | CAP_DAC_READ_SEARCH
- | CAP_FOWNER
- | CAP_FSETID
- | CAP_IPC_LOCK
- | CAP_IPC_OWNER
- | CAP_KILL
- | CAP_LEASE
- | CAP_LINUX_IMMUTABLE
- | CAP_MAC_ADMIN
- | CAP_MAC_OVERRIDE
- | CAP_NET_ADMIN
- | CAP_NET_BIND_SERVICE
- | CAP_NET_BROADCAST
- | CAP_NET_RAW
- | CAP_SETGID
- | CAP_SETFCAP
- | CAP_SETPCAP
- | CAP_SETUID
- | CAP_SYS_ADMIN
- | CAP_SYS_BOOT
- | CAP_SYS_CHROOT
- | CAP_SYS_MODULE
- | CAP_SYS_NICE
- | CAP_SYS_PACCT
- | CAP_SYS_PTRACE
- | CAP_SYS_RAWIO
- | CAP_SYS_RESOURCE
- | CAP_SYS_TIME
- | CAP_SYS_TTY_CONFIG
- | CAP_SYSLOG
- | CAP_WAKE_ALARM
- getEmulatorPath :: MonadIO m => LibVirtLXCConfig -> m FilePath
Documentation
libVirtLXCConfigToCPDocument :: LibVirtLXCConfig -> CPDocument -> Either CPError CPDocument Source #
data LibVirtLXCConfig Source #
LibVirtLXCConfig | |
|
Instances
Eq LibVirtLXCConfig Source # | |
Defined in B9.B9Config.LibVirtLXC (==) :: LibVirtLXCConfig -> LibVirtLXCConfig -> Bool # (/=) :: LibVirtLXCConfig -> LibVirtLXCConfig -> Bool # | |
Read LibVirtLXCConfig Source # | |
Defined in B9.B9Config.LibVirtLXC | |
Show LibVirtLXCConfig Source # | |
Defined in B9.B9Config.LibVirtLXC showsPrec :: Int -> LibVirtLXCConfig -> ShowS # show :: LibVirtLXCConfig -> String # showList :: [LibVirtLXCConfig] -> ShowS # |
data LXCGuestCapability Source #
Available linux capabilities for lxc containers. This maps directly to the capabilities defined in 'man 7 capabilities'.
Instances
Eq LXCGuestCapability Source # | |
Defined in B9.B9Config.LibVirtLXC (==) :: LXCGuestCapability -> LXCGuestCapability -> Bool # (/=) :: LXCGuestCapability -> LXCGuestCapability -> Bool # | |
Read LXCGuestCapability Source # | |
Defined in B9.B9Config.LibVirtLXC | |
Show LXCGuestCapability Source # | |
Defined in B9.B9Config.LibVirtLXC showsPrec :: Int -> LXCGuestCapability -> ShowS # show :: LXCGuestCapability -> String # showList :: [LXCGuestCapability] -> ShowS # |
getEmulatorPath :: MonadIO m => LibVirtLXCConfig -> m FilePath Source #
Return the path to usrliblibvirtlibexec/libvirt_lxc
the emulatorK
field from the config file, or set the path
in the environment variable named like the value in emulatorEnvVar
dictates.
Since: 0.5.66