Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.OSTree.Objects.BootconfigParser
Description
No description available in the introspection data.
Synopsis
- newtype BootconfigParser = BootconfigParser (ManagedPtr BootconfigParser)
- class (GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o
- toBootconfigParser :: (MonadIO m, IsBootconfigParser o) => o -> m BootconfigParser
- bootconfigParserClone :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> m BootconfigParser
- bootconfigParserGet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> m (Maybe Text)
- bootconfigParserGetOverlayInitrds :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> m (Maybe [Text])
- bootconfigParserNew :: (HasCallStack, MonadIO m) => m BootconfigParser
- bootconfigParserParse :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) => a -> b -> Maybe c -> m ()
- bootconfigParserParseAt :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) => a -> Int32 -> Text -> Maybe b -> m ()
- bootconfigParserSet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> Text -> m ()
- bootconfigParserSetOverlayInitrds :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Maybe [Text] -> m ()
- bootconfigParserWrite :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) => a -> b -> Maybe c -> m ()
- bootconfigParserWriteAt :: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) => a -> Int32 -> Text -> Maybe b -> m ()
Exported types
newtype BootconfigParser Source #
Memory-managed wrapper type.
Constructors
BootconfigParser (ManagedPtr BootconfigParser) |
Instances
class (GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o Source #
Type class for types which can be safely cast to BootconfigParser
, for instance with toBootconfigParser
.
Instances
(GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o Source # | |
Defined in GI.OSTree.Objects.BootconfigParser |
toBootconfigParser :: (MonadIO m, IsBootconfigParser o) => o -> m BootconfigParser Source #
Cast to BootconfigParser
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, clone, forceFloating, freezeNotify, get, getv, isFloating, notify, notifyByPspec, parse, parseAt, ref, refSink, runDispose, set, stealData, stealQdata, thawNotify, unref, watchClosure, write, writeAt.
Getters
getData, getOverlayInitrds, getProperty, getQdata.
Setters
clone
bootconfigParserClone Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> m BootconfigParser | Returns: Copy of |
No description available in the introspection data.
get
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> Text |
|
-> m (Maybe Text) | Returns: The corresponding value, or |
Get the value corresponding to key
from the boot configuration dictionary.
getOverlayInitrds
bootconfigParserGetOverlayInitrds Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> m (Maybe [Text]) | Returns: Array of initrds or |
No description available in the introspection data.
Since: 2020.7
new
bootconfigParserNew :: (HasCallStack, MonadIO m) => m BootconfigParser Source #
No description available in the introspection data.
parse
bootconfigParserParse Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) | |
=> a | |
-> b | |
-> Maybe c | |
-> m () | (Can throw |
No description available in the introspection data.
parseAt
bootconfigParserParseAt Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) | |
=> a |
|
-> Int32 |
|
-> Text |
|
-> Maybe b |
|
-> m () | (Can throw |
Initialize a bootconfig from the given file.
set
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m () |
Set the key
/value
pair to the boot configuration dictionary.
setOverlayInitrds
bootconfigParserSetOverlayInitrds Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a) | |
=> a |
|
-> Maybe [Text] |
|
-> m () |
These are rendered as additional initrd
keys in the final bootloader configs. The
base initrd is part of the primary keys.
Since: 2020.7
write
bootconfigParserWrite Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsFile b, IsCancellable c) | |
=> a | |
-> b | |
-> Maybe c | |
-> m () | (Can throw |
No description available in the introspection data.
writeAt
bootconfigParserWriteAt Source #
Arguments
:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) | |
=> a | |
-> Int32 | |
-> Text | |
-> Maybe b | |
-> m () | (Can throw |
No description available in the introspection data.