gi-ostree-1.0.15: OSTree bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.OSTree.Objects.BootconfigParser

Description

No description available in the introspection data.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf BootconfigParser o) => IsBootconfigParser o Source # 
Instance details

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

clone

bootconfigParserClone Source #

Arguments

:: (HasCallStack, MonadIO m, IsBootconfigParser a) 
=> a

self: Bootconfig to clone

-> m BootconfigParser

Returns: Copy of self

No description available in the introspection data.

get

bootconfigParserGet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> m Text Source #

No description available in the introspection data.

getOverlayInitrds

bootconfigParserGetOverlayInitrds Source #

Arguments

:: (HasCallStack, MonadIO m, IsBootconfigParser a) 
=> a

self: Parser

-> m (Maybe [Text])

Returns: Array of initrds or Nothing if none are set.

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 GError)

No description available in the introspection data.

parseAt

bootconfigParserParseAt Source #

Arguments

:: (HasCallStack, MonadIO m, IsBootconfigParser a, IsCancellable b) 
=> a

self: Parser

-> Int32

dfd: Directory fd

-> Text

path: File path

-> Maybe b

cancellable: Cancellable

-> m ()

(Can throw GError)

Initialize a bootconfig from the given file.

set

bootconfigParserSet :: (HasCallStack, MonadIO m, IsBootconfigParser a) => a -> Text -> Text -> m () Source #

No description available in the introspection data.

setOverlayInitrds

bootconfigParserSetOverlayInitrds Source #

Arguments

:: (HasCallStack, MonadIO m, IsBootconfigParser a) 
=> a

self: Parser

-> Maybe [Text]

initrds: Array of overlay initrds or Nothing to unset.

-> 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 GError)

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 GError)

No description available in the introspection data.