Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DeploymentUnlockedState
- data GpgError
- catchGpgError :: IO a -> (GpgError -> GErrorMessage -> IO a) -> IO a
- handleGpgError :: (GpgError -> GErrorMessage -> IO a) -> IO a -> IO a
- data GpgSignatureAttr
- = GpgSignatureAttrValid
- | GpgSignatureAttrSigExpired
- | GpgSignatureAttrKeyExpired
- | GpgSignatureAttrKeyRevoked
- | GpgSignatureAttrKeyMissing
- | GpgSignatureAttrFingerprint
- | GpgSignatureAttrTimestamp
- | GpgSignatureAttrExpTimestamp
- | GpgSignatureAttrPubkeyAlgoName
- | GpgSignatureAttrHashAlgoName
- | GpgSignatureAttrUserName
- | GpgSignatureAttrUserEmail
- | GpgSignatureAttrFingerprintPrimary
- | GpgSignatureAttrKeyExpTimestamp
- | GpgSignatureAttrKeyExpTimestampPrimary
- | AnotherGpgSignatureAttr Int
- data ObjectType
- data RepoCheckoutFilterResult
- data RepoCheckoutMode
- data RepoCheckoutOverwriteMode
- data RepoCommitFilterResult
- data RepoCommitIterResult
- data RepoMode
- data RepoRemoteChange
- data StaticDeltaGenerateOpt
- data StaticDeltaIndexFlags
Enumerations
DeploymentUnlockedState
data DeploymentUnlockedState Source #
No description available in the introspection data.
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
GpgError
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
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
Enum GpgError Source # | |
Show GpgError Source # | |
Eq GpgError Source # | |
Ord GpgError Source # | |
Defined in GI.OSTree.Enums | |
GErrorClass GpgError Source # | |
Defined in GI.OSTree.Enums gerrorClassDomain :: GpgError -> Text |
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.
GpgSignatureAttrValid |
|
GpgSignatureAttrSigExpired |
|
GpgSignatureAttrKeyExpired |
|
GpgSignatureAttrKeyRevoked |
|
GpgSignatureAttrKeyMissing |
|
GpgSignatureAttrFingerprint |
|
GpgSignatureAttrTimestamp |
|
GpgSignatureAttrExpTimestamp |
|
GpgSignatureAttrPubkeyAlgoName |
|
GpgSignatureAttrHashAlgoName |
|
GpgSignatureAttrUserName |
|
GpgSignatureAttrUserEmail |
|
GpgSignatureAttrFingerprintPrimary |
|
GpgSignatureAttrKeyExpTimestamp |
|
GpgSignatureAttrKeyExpTimestampPrimary |
|
AnotherGpgSignatureAttr Int | Catch-all for unknown values |
Instances
ObjectType
data ObjectType Source #
Enumeration for core object types; ObjectTypeFile
is for
content, the other types are metadata.
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 |
Instances
RepoCheckoutFilterResult
data RepoCheckoutFilterResult Source #
No description available in the introspection data.
Since: 2018.2
RepoCheckoutFilterResultAllow | Do checkout this object |
RepoCheckoutFilterResultSkip | Ignore this object |
AnotherRepoCheckoutFilterResult Int | Catch-all for unknown values |
Instances
RepoCheckoutMode
data RepoCheckoutMode Source #
No description available in the introspection data.
RepoCheckoutModeNone | No special options |
RepoCheckoutModeUser | Ignore uid/gid of files |
AnotherRepoCheckoutMode Int | Catch-all for unknown values |
Instances
RepoCheckoutOverwriteMode
data RepoCheckoutOverwriteMode Source #
No description available in the introspection data.
RepoCheckoutOverwriteModeNone | No special options |
RepoCheckoutOverwriteModeUnionFiles | When layering checkouts, |
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
RepoCommitFilterResult
data RepoCommitFilterResult Source #
No description available in the introspection data.
RepoCommitFilterResultAllow | Do commit this object |
RepoCommitFilterResultSkip | Ignore this object |
AnotherRepoCommitFilterResult Int | Catch-all for unknown values |
Instances
RepoCommitIterResult
data RepoCommitIterResult Source #
No description available in the introspection data.
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
RepoMode
See the documentation of Repo
for more information about the
possible modes.
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 |
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 |
Instances
Enum RepoMode Source # | |
Show RepoMode Source # | |
Eq RepoMode Source # | |
Ord RepoMode Source # | |
Defined in GI.OSTree.Enums |
RepoRemoteChange
data RepoRemoteChange Source #
The remote change operation.
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 |
Instances
StaticDeltaGenerateOpt
data StaticDeltaGenerateOpt Source #
Parameters controlling optimization of static deltas.
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
StaticDeltaIndexFlags
data StaticDeltaIndexFlags Source #
Flags controlling static delta index generation.
StaticDeltaIndexFlagsStaticDeltaIndexFlagsNone | No special flags |
AnotherStaticDeltaIndexFlags Int | Catch-all for unknown values |