| 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.Enums
Description
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 RepoLockType
- data RepoMode
- data RepoRemoteChange
- data StaticDeltaGenerateOpt
- data StaticDeltaIndexFlags
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
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
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
| 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 Methods 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.
Constructors
| 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.
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. |
| ObjectTypeFileXattrs | Detached xattrs content, for 'bare-split-xattrs' mode. |
| ObjectTypeFileXattrsLink | Hardlink to a .file-xattrs given the checksum of its .file object. |
| AnotherObjectType Int | Catch-all for unknown values |
Instances
| Enum ObjectType Source # | |
Defined in GI.OSTree.Enums Methods succ :: ObjectType -> ObjectType # pred :: ObjectType -> ObjectType # toEnum :: Int -> ObjectType # fromEnum :: ObjectType -> Int # enumFrom :: ObjectType -> [ObjectType] # enumFromThen :: ObjectType -> ObjectType -> [ObjectType] # enumFromTo :: ObjectType -> ObjectType -> [ObjectType] # enumFromThenTo :: ObjectType -> ObjectType -> ObjectType -> [ObjectType] # | |
| Show ObjectType Source # | |
Defined in GI.OSTree.Enums Methods showsPrec :: Int -> ObjectType -> ShowS # show :: ObjectType -> String # showList :: [ObjectType] -> ShowS # | |
| Eq ObjectType Source # | |
Defined in GI.OSTree.Enums | |
| Ord ObjectType Source # | |
Defined in GI.OSTree.Enums Methods compare :: ObjectType -> ObjectType -> Ordering # (<) :: ObjectType -> ObjectType -> Bool # (<=) :: ObjectType -> ObjectType -> Bool # (>) :: ObjectType -> ObjectType -> Bool # (>=) :: ObjectType -> ObjectType -> Bool # max :: ObjectType -> ObjectType -> ObjectType # min :: ObjectType -> ObjectType -> ObjectType # | |
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
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 |
Instances
RepoCheckoutOverwriteMode
data RepoCheckoutOverwriteMode Source #
No description available in the introspection data.
Constructors
| 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.
Constructors
| 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.
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
RepoLockType
data RepoLockType Source #
Flags controlling repository locking.
Since: 2021.3
Constructors
| RepoLockTypeShared | A "read only" lock; multiple readers are allowed. |
| RepoLockTypeExclusive | A writable lock at most one writer can be active, and zero readers. |
| AnotherRepoLockType Int | Catch-all for unknown values |
Instances
RepoMode
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 |
| 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. |
| RepoModeBareSplitXattrs | Same as BARE_USER, but xattrs are stored separately from file content, with dedicated object types. |
| 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.
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 |
Instances
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
StaticDeltaIndexFlags
data StaticDeltaIndexFlags Source #
Flags controlling static delta index generation.
Constructors
| StaticDeltaIndexFlagsStaticDeltaIndexFlagsNone | No special flags |
| AnotherStaticDeltaIndexFlags Int | Catch-all for unknown values |