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

GI.OSTree.Enums

Description

 
Synopsis

Enumerations

DeploymentUnlockedState

data DeploymentUnlockedState Source #

No description available in the introspection data.

Constructors

DeploymentUnlockedStateNone

No description available in the introspection data.

DeploymentUnlockedStateDevelopment

No description available in the introspection data.

DeploymentUnlockedStateHotfix

No description available in the introspection data.

DeploymentUnlockedStateTransient

No description available in the introspection data.

AnotherDeploymentUnlockedState Int

Catch-all for unknown values

Instances

Instances details
Enum DeploymentUnlockedState Source # 
Instance details

Defined in GI.OSTree.Enums

Show DeploymentUnlockedState Source # 
Instance details

Defined in GI.OSTree.Enums

Eq DeploymentUnlockedState Source # 
Instance details

Defined in GI.OSTree.Enums

Ord DeploymentUnlockedState Source # 
Instance details

Defined in GI.OSTree.Enums

GpgError

data GpgError Source #

Errors returned by signature creation and verification operations in OSTree. These may be returned by any API which creates or verifies signatures.

Since: 2017.10

Constructors

GpgErrorNoSignature

A signature was expected, but not found.

GpgErrorInvalidSignature

A signature was malformed.

GpgErrorMissingKey

A signature was found, but was created with a key not in the configured keyrings.

GpgErrorExpiredSignature

A signature was expired. Since: 2020.1.

GpgErrorExpiredKey

A signature was found, but the key used to sign it has expired. Since: 2020.1.

GpgErrorRevokedKey

A signature was found, but the key used to sign it has been revoked. Since: 2020.1.

AnotherGpgError Int

Catch-all for unknown values

Instances

Instances details
Enum GpgError Source # 
Instance details

Defined in GI.OSTree.Enums

Show GpgError Source # 
Instance details

Defined in GI.OSTree.Enums

Eq GpgError Source # 
Instance details

Defined in GI.OSTree.Enums

Ord GpgError Source # 
Instance details

Defined in GI.OSTree.Enums

GErrorClass GpgError Source # 
Instance details

Defined in GI.OSTree.Enums

catchGpgError :: IO a -> (GpgError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type GpgError. This is a specialized version of catchGErrorJustDomain.

handleGpgError :: (GpgError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type GpgError. This is a specialized version of handleGErrorJustDomain.

GpgSignatureAttr

data GpgSignatureAttr Source #

Signature attributes available from an GpgVerifyResult. The attribute's VariantType is shown in brackets.

Constructors

GpgSignatureAttrValid
G_VARIANT_TYPE_BOOLEAN
Is the signature valid?
GpgSignatureAttrSigExpired
G_VARIANT_TYPE_BOOLEAN
Has the signature expired?
GpgSignatureAttrKeyExpired
G_VARIANT_TYPE_BOOLEAN
Has the signing key expired?
GpgSignatureAttrKeyRevoked
G_VARIANT_TYPE_BOOLEAN
Has the signing key been revoked?
GpgSignatureAttrKeyMissing
G_VARIANT_TYPE_BOOLEAN
Is the signing key missing?
GpgSignatureAttrFingerprint
G_VARIANT_TYPE_STRING
Fingerprint of the signing key
GpgSignatureAttrTimestamp
G_VARIANT_TYPE_INT64
Signature creation Unix timestamp
GpgSignatureAttrExpTimestamp
G_VARIANT_TYPE_INT64
Signature expiration Unix timestamp (0 if no expiration)
GpgSignatureAttrPubkeyAlgoName
G_VARIANT_TYPE_STRING
Name of the public key algorithm used to create the signature
GpgSignatureAttrHashAlgoName
G_VARIANT_TYPE_STRING
Name of the hash algorithm used to create the signature
GpgSignatureAttrUserName
G_VARIANT_TYPE_STRING
The name of the signing key's primary user
GpgSignatureAttrUserEmail
G_VARIANT_TYPE_STRING
The email address of the signing key's primary user
GpgSignatureAttrFingerprintPrimary
G_VARIANT_TYPE_STRING
Fingerprint of the signing key's primary key (will be the same as OSTREE_GPG_SIGNATURE_ATTR_FINGERPRINT if the the signature is already from the primary key rather than a subkey, and will be the empty string if the key is missing.)
GpgSignatureAttrKeyExpTimestamp
G_VARIANT_TYPE_INT64
Key expiration Unix timestamp (0 if no expiration or if the key is missing)
GpgSignatureAttrKeyExpTimestampPrimary
G_VARIANT_TYPE_INT64
Key expiration Unix timestamp of the signing key's primary key (will be the same as OSTREE_GPG_SIGNATURE_ATTR_KEY_EXP_TIMESTAMP if the signing key is the primary key and 0 if no expiration or if the key is missing)
AnotherGpgSignatureAttr Int

Catch-all for unknown values

ObjectType

data ObjectType Source #

Enumeration for core object types; ObjectTypeFile is for content, the other types are metadata.

Constructors

ObjectTypeFile

Content; regular file, symbolic link

ObjectTypeDirTree

List of children (trees or files), and metadata

ObjectTypeDirMeta

Directory metadata

ObjectTypeCommit

Toplevel object, refers to tree and dirmeta for root

ObjectTypeTombstoneCommit

Toplevel object, refers to a deleted commit

ObjectTypeCommitMeta

Detached metadata for a commit

ObjectTypePayloadLink

Symlink to a .file given its checksum on the payload only.

AnotherObjectType Int

Catch-all for unknown values

RepoCheckoutFilterResult

data RepoCheckoutFilterResult Source #

No description available in the introspection data.

Since: 2018.2

Constructors

RepoCheckoutFilterResultAllow

Do checkout this object

RepoCheckoutFilterResultSkip

Ignore this object

AnotherRepoCheckoutFilterResult Int

Catch-all for unknown values

Instances

Instances details
Enum RepoCheckoutFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Show RepoCheckoutFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Eq RepoCheckoutFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Ord RepoCheckoutFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

RepoCheckoutMode

data RepoCheckoutMode Source #

No description available in the introspection data.

Constructors

RepoCheckoutModeNone

No special options

RepoCheckoutModeUser

Ignore uid/gid of files

AnotherRepoCheckoutMode Int

Catch-all for unknown values

RepoCheckoutOverwriteMode

data RepoCheckoutOverwriteMode Source #

No description available in the introspection data.

Constructors

RepoCheckoutOverwriteModeNone

No special options

RepoCheckoutOverwriteModeUnionFiles

When layering checkouts, unlink() and replace existing files, but do not modify existing directories (unless whiteouts are enabled, then directories are replaced)

RepoCheckoutOverwriteModeAddFiles

Only add new files/directories

RepoCheckoutOverwriteModeUnionIdentical

Like UNION_FILES, but error if files are not identical (requires hardlink checkouts)

AnotherRepoCheckoutOverwriteMode Int

Catch-all for unknown values

Instances

Instances details
Enum RepoCheckoutOverwriteMode Source # 
Instance details

Defined in GI.OSTree.Enums

Show RepoCheckoutOverwriteMode Source # 
Instance details

Defined in GI.OSTree.Enums

Eq RepoCheckoutOverwriteMode Source # 
Instance details

Defined in GI.OSTree.Enums

Ord RepoCheckoutOverwriteMode Source # 
Instance details

Defined in GI.OSTree.Enums

RepoCommitFilterResult

data RepoCommitFilterResult Source #

No description available in the introspection data.

Constructors

RepoCommitFilterResultAllow

Do commit this object

RepoCommitFilterResultSkip

Ignore this object

AnotherRepoCommitFilterResult Int

Catch-all for unknown values

Instances

Instances details
Enum RepoCommitFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Show RepoCommitFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Eq RepoCommitFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Ord RepoCommitFilterResult Source # 
Instance details

Defined in GI.OSTree.Enums

RepoCommitIterResult

data RepoCommitIterResult Source #

No description available in the introspection data.

Constructors

RepoCommitIterResultError

No description available in the introspection data.

RepoCommitIterResultEnd

No description available in the introspection data.

RepoCommitIterResultFile

No description available in the introspection data.

RepoCommitIterResultDir

No description available in the introspection data.

AnotherRepoCommitIterResult Int

Catch-all for unknown values

Instances

Instances details
Enum RepoCommitIterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Show RepoCommitIterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Eq RepoCommitIterResult Source # 
Instance details

Defined in GI.OSTree.Enums

Ord RepoCommitIterResult Source # 
Instance details

Defined in GI.OSTree.Enums

RepoMode

data RepoMode Source #

See the documentation of Repo for more information about the possible modes.

Constructors

RepoModeBare

Files are stored as themselves; checkouts are hardlinks; can only be written as root

RepoModeArchive

Files are compressed, should be owned by non-root. Can be served via HTTP. Since: 2017.12

RepoModeArchiveZ2

Legacy alias for OSTREE_REPO_MODE_ARCHIVE

RepoModeBareUser

Files are stored as themselves, except ownership; can be written by user. Hardlinks work only in user checkouts.

RepoModeBareUserOnly

Same as BARE_USER, but all metadata is not stored, so it can only be used for user checkouts. Does not need xattrs.

AnotherRepoMode Int

Catch-all for unknown values

RepoRemoteChange

data RepoRemoteChange Source #

The remote change operation.

Constructors

RepoRemoteChangeAdd

Add a remote

RepoRemoteChangeAddIfNotExists

Like above, but do nothing if the remote exists

RepoRemoteChangeDelete

Delete a remote

RepoRemoteChangeDeleteIfExists

Delete a remote, do nothing if the remote does not exist

RepoRemoteChangeReplace

Add or replace a remote (Since: 2019.2)

AnotherRepoRemoteChange Int

Catch-all for unknown values

StaticDeltaGenerateOpt

data StaticDeltaGenerateOpt Source #

Parameters controlling optimization of static deltas.

Constructors

StaticDeltaGenerateOptLowlatency

Optimize for speed of delta creation over space

StaticDeltaGenerateOptMajor

Optimize for delta size (may be very slow)

AnotherStaticDeltaGenerateOpt Int

Catch-all for unknown values

Instances

Instances details
Enum StaticDeltaGenerateOpt Source # 
Instance details

Defined in GI.OSTree.Enums

Show StaticDeltaGenerateOpt Source # 
Instance details

Defined in GI.OSTree.Enums

Eq StaticDeltaGenerateOpt Source # 
Instance details

Defined in GI.OSTree.Enums

Ord StaticDeltaGenerateOpt Source # 
Instance details

Defined in GI.OSTree.Enums

StaticDeltaIndexFlags

data StaticDeltaIndexFlags Source #

Flags controlling static delta index generation.

Constructors

StaticDeltaIndexFlagsStaticDeltaIndexFlagsNone

No special flags

AnotherStaticDeltaIndexFlags Int

Catch-all for unknown values

Instances

Instances details
Enum StaticDeltaIndexFlags Source # 
Instance details

Defined in GI.OSTree.Enums

Show StaticDeltaIndexFlags Source # 
Instance details

Defined in GI.OSTree.Enums

Eq StaticDeltaIndexFlags Source # 
Instance details

Defined in GI.OSTree.Enums

Ord StaticDeltaIndexFlags Source # 
Instance details

Defined in GI.OSTree.Enums