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 |
No description available in the introspection data.
Synopsis
- newtype SysrootUpgrader = SysrootUpgrader (ManagedPtr SysrootUpgrader)
- class (GObject o, IsDescendantOf SysrootUpgrader o) => IsSysrootUpgrader o
- toSysrootUpgrader :: (MonadIO m, IsSysrootUpgrader o) => o -> m SysrootUpgrader
- sysrootUpgraderCheckTimestamps :: (HasCallStack, MonadIO m, IsRepo a) => a -> Text -> Text -> m ()
- sysrootUpgraderDeploy :: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsCancellable b) => a -> Maybe b -> m ()
- sysrootUpgraderDupOrigin :: (HasCallStack, MonadIO m, IsSysrootUpgrader a) => a -> m (Maybe KeyFile)
- sysrootUpgraderGetOrigin :: (HasCallStack, MonadIO m, IsSysrootUpgrader a) => a -> m (Maybe KeyFile)
- sysrootUpgraderGetOriginDescription :: (HasCallStack, MonadIO m, IsSysrootUpgrader a) => a -> m (Maybe Text)
- sysrootUpgraderNew :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe b -> m SysrootUpgrader
- sysrootUpgraderNewForOs :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe Text -> Maybe b -> m SysrootUpgrader
- sysrootUpgraderNewForOsWithFlags :: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) => a -> Maybe Text -> [SysrootUpgraderFlags] -> Maybe b -> m SysrootUpgrader
- sysrootUpgraderPull :: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsAsyncProgress b, IsCancellable c) => a -> [RepoPullFlags] -> [SysrootUpgraderPullFlags] -> Maybe b -> Maybe c -> m Bool
- sysrootUpgraderPullOneDir :: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsAsyncProgress b, IsCancellable c) => a -> Text -> [RepoPullFlags] -> [SysrootUpgraderPullFlags] -> Maybe b -> Maybe c -> m Bool
- sysrootUpgraderSetOrigin :: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsCancellable b) => a -> Maybe KeyFile -> Maybe b -> m ()
- constructSysrootUpgraderFlags :: (IsSysrootUpgrader o, MonadIO m) => [SysrootUpgraderFlags] -> m (GValueConstruct o)
- getSysrootUpgraderFlags :: (MonadIO m, IsSysrootUpgrader o) => o -> m [SysrootUpgraderFlags]
- constructSysrootUpgraderOsname :: (IsSysrootUpgrader o, MonadIO m) => Text -> m (GValueConstruct o)
- getSysrootUpgraderOsname :: (MonadIO m, IsSysrootUpgrader o) => o -> m (Maybe Text)
- constructSysrootUpgraderSysroot :: (IsSysrootUpgrader o, MonadIO m, IsSysroot a) => a -> m (GValueConstruct o)
- getSysrootUpgraderSysroot :: (MonadIO m, IsSysrootUpgrader o) => o -> m (Maybe Sysroot)
Exported types
newtype SysrootUpgrader Source #
Memory-managed wrapper type.
SysrootUpgrader (ManagedPtr SysrootUpgrader) |
Instances
class (GObject o, IsDescendantOf SysrootUpgrader o) => IsSysrootUpgrader o Source #
Type class for types which can be safely cast to SysrootUpgrader
, for instance with toSysrootUpgrader
.
Instances
(GObject o, IsDescendantOf SysrootUpgrader o) => IsSysrootUpgrader o Source # | |
Defined in GI.OSTree.Objects.SysrootUpgrader |
toSysrootUpgrader :: (MonadIO m, IsSysrootUpgrader o) => o -> m SysrootUpgrader Source #
Cast to SysrootUpgrader
, 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, deploy, dupOrigin, forceFloating, freezeNotify, getv, init, isFloating, notify, notifyByPspec, pull, pullOneDir, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getOrigin, getOriginDescription, getProperty, getQdata.
Setters
checkTimestamps
sysrootUpgraderCheckTimestamps Source #
:: (HasCallStack, MonadIO m, IsRepo a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m () | (Can throw |
Check that the timestamp on toRev
is equal to or newer than
fromRev
. This protects systems against man-in-the-middle
attackers which provide a client with an older commit.
deploy
sysrootUpgraderDeploy Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m () | (Can throw |
Write the new deployment to disk, perform a configuration merge with /etc, and update the bootloader configuration.
dupOrigin
sysrootUpgraderDupOrigin Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a) | |
=> a |
|
-> m (Maybe KeyFile) | Returns: A copy of the origin file, or |
No description available in the introspection data.
getOrigin
sysrootUpgraderGetOrigin Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a) | |
=> a |
|
-> m (Maybe KeyFile) | Returns: The origin file, or |
No description available in the introspection data.
getOriginDescription
sysrootUpgraderGetOriginDescription Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a) | |
=> a |
|
-> m (Maybe Text) | Returns: A one-line descriptive summary of the origin, or |
No description available in the introspection data.
new
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe b |
|
-> m SysrootUpgrader | Returns: An upgrader (Can throw |
No description available in the introspection data.
newForOs
sysrootUpgraderNewForOs Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe Text |
|
-> Maybe b |
|
-> m SysrootUpgrader | Returns: An upgrader (Can throw |
No description available in the introspection data.
newForOsWithFlags
sysrootUpgraderNewForOsWithFlags Source #
:: (HasCallStack, MonadIO m, IsSysroot a, IsCancellable b) | |
=> a |
|
-> Maybe Text |
|
-> [SysrootUpgraderFlags] |
|
-> Maybe b |
|
-> m SysrootUpgrader | Returns: An upgrader (Can throw |
No description available in the introspection data.
pull
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsAsyncProgress b, IsCancellable c) | |
=> a |
|
-> [RepoPullFlags] |
|
-> [SysrootUpgraderPullFlags] |
|
-> Maybe b |
|
-> Maybe c |
|
-> m Bool | (Can throw |
pullOneDir
sysrootUpgraderPullOneDir Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsAsyncProgress b, IsCancellable c) | |
=> a |
|
-> Text |
|
-> [RepoPullFlags] |
|
-> [SysrootUpgraderPullFlags] |
|
-> Maybe b |
|
-> Maybe c |
|
-> m Bool | (Can throw |
Like sysrootUpgraderPull
, but allows retrieving just a
subpath of the tree. This can be used to download metadata files
from inside the tree such as package databases.
setOrigin
sysrootUpgraderSetOrigin Source #
:: (HasCallStack, MonadIO m, IsSysrootUpgrader a, IsCancellable b) | |
=> a |
|
-> Maybe KeyFile |
|
-> Maybe b |
|
-> m () | (Can throw |
Replace the origin with origin
.
Properties
flags
No description available in the introspection data.
constructSysrootUpgraderFlags :: (IsSysrootUpgrader o, MonadIO m) => [SysrootUpgraderFlags] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “flags
” property. This is rarely needed directly, but it is used by new
.
getSysrootUpgraderFlags :: (MonadIO m, IsSysrootUpgrader o) => o -> m [SysrootUpgraderFlags] Source #
Get the value of the “flags
” property.
When overloading is enabled, this is equivalent to
get
sysrootUpgrader #flags
osname
No description available in the introspection data.
constructSysrootUpgraderOsname :: (IsSysrootUpgrader o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “osname
” property. This is rarely needed directly, but it is used by new
.
getSysrootUpgraderOsname :: (MonadIO m, IsSysrootUpgrader o) => o -> m (Maybe Text) Source #
Get the value of the “osname
” property.
When overloading is enabled, this is equivalent to
get
sysrootUpgrader #osname
sysroot
No description available in the introspection data.
constructSysrootUpgraderSysroot :: (IsSysrootUpgrader o, MonadIO m, IsSysroot a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “sysroot
” property. This is rarely needed directly, but it is used by new
.
getSysrootUpgraderSysroot :: (MonadIO m, IsSysrootUpgrader o) => o -> m (Maybe Sysroot) Source #
Get the value of the “sysroot
” property.
When overloading is enabled, this is equivalent to
get
sysrootUpgrader #sysroot