Enums¶
Details¶
- class Snapd.AliasStatus(value)¶
Bases:
GObject.GEnum
Status of an alias.
New in version 1.8.
- UNKNOWN = 0¶
the alias status is unknown.
- DEFAULT = 1¶
deprecated, do not use.
- ENABLED = 2¶
deprecated, do not use.
- DISABLED = 3¶
the alias is disabled.
- AUTO = 4¶
the alias is automatically enabled.
- MANUAL = 5¶
the alias is manually enabled.
- class Snapd.ChangeFilter(value)¶
Bases:
GObject.GEnum
Filter to apply to changes.
New in version 1.29.
- ALL = 0¶
Return all changes.
- IN_PROGRESS = 1¶
Return only changes that are in-progress.
- READY = 2¶
Return only changes that are ready.
- class Snapd.Confinement(value)¶
Bases:
GObject.GEnum
Confinement used by a snap.
New in version 1.0.
- UNKNOWN = 0¶
the confinement of the snap is unknown.
- STRICT = 1¶
the snap is using confinement.
- DEVMODE = 2¶
the snap is in dev mode (i.e. unconfined).
- CLASSIC = 3¶
the snap is using classic confinement.
- class Snapd.DaemonType(value)¶
Bases:
GObject.GEnum
Type of daemon.
New in version 1.9.
- NONE = 0¶
Not a daemon
- UNKNOWN = 1¶
Unknown daemon type
- SIMPLE = 2¶
Simple daemon
- FORKING = 3¶
Forking daemon
- ONESHOT = 4¶
One-shot daemon
- DBUS = 5¶
D-Bus daemon
- NOTIFY = 6¶
Notify daemon
- class Snapd.Error(value)¶
Bases:
GObject.GEnum
Error codes returned by snapd operations.
New in version 1.0.
- classmethod quark()¶
- Returns:
a #GQuark.
- Return type:
Gets the Snapd Error Quark.
New in version 1.0.
- CONNECTION_FAILED = 0¶
not able to connect to snapd.
- WRITE_FAILED = 1¶
an error occurred while writing to snapd.
- FAILED = 10¶
an unspecified error occurred while communicating with snapd.
- TERMS_NOT_ACCEPTED = 11¶
this user has not accepted the store’s terms of service.
- PAYMENT_NOT_SETUP = 12¶
this user has not configured a payment method.
- PAYMENT_DECLINED = 13¶
this user has had their payment method declined by the payment provider.
- ALREADY_INSTALLED = 14¶
the requested snap is already installed.
- NOT_INSTALLED = 15¶
the requested snap is not installed.
- NO_UPDATE_AVAILABLE = 16¶
no update is available for this snap.
- PASSWORD_POLICY_ERROR = 17¶
provided password is not valid.
- NEEDS_DEVMODE = 18¶
this snap needs to be installed using devmode.
- NEEDS_CLASSIC = 19¶
this snap needs to be installed using classic mode.
- READ_FAILED = 2¶
an error occurred while reading from snapd.
- NEEDS_CLASSIC_SYSTEM = 20¶
a classic system is required to install this snap.
- BAD_QUERY = 21¶
a bad query was provided.
- NETWORK_TIMEOUT = 22¶
A timeout occurred during the request.
- NOT_FOUND = 23¶
the requested snap couldn’t be found.
- NOT_IN_STORE = 24¶
the requested snap is not in the store.
- AUTH_CANCELLED = 25¶
authentication was cancelled by the user.
- NOT_CLASSIC = 26¶
snap not compatible with classic mode.
- REVISION_NOT_AVAILABLE = 27¶
requested snap revision not available.
- CHANNEL_NOT_AVAILABLE = 28¶
requested snap channel not available.
- NOT_A_SNAP = 29¶
the given snap or directory does not look like a snap.
- BAD_REQUEST = 3¶
snapd did not understand the request that was sent.
- DNS_FAILURE = 30¶
A hostname failed to resolve during the request.
- OPTION_NOT_FOUND = 31¶
A requested configuration option is not set.
- UNSUCCESSFUL = 32¶
A snapctl command was unsuccessful.
- APP_NOT_FOUND = 33¶
The requested app coundn’t be found.
- ARCHITECTURE_NOT_AVAILABLE = 34¶
No snap revision on specified architecture.
- CHANGE_CONFLICT = 35¶
The requested operation would conflict with currently ongoing change.
- INTERFACES_UNCHANGED = 36¶
The requested interfaces’ operation would have no effect.
- BAD_RESPONSE = 4¶
the response received from snapd was not understood.
- AUTH_DATA_REQUIRED = 5¶
the requested operation requires authorization data.
- AUTH_DATA_INVALID = 6¶
the provided authorization data is invalid.
- TWO_FACTOR_REQUIRED = 7¶
login requires a two factor code.
- TWO_FACTOR_INVALID = 8¶
the two factor code provided at login is invalid.
- PERMISSION_DENIED = 9¶
this user account is not permitted to perform the requested operation.
- class Snapd.MaintenanceKind(value)¶
Bases:
GObject.GEnum
Type of snap.
New in version 1.45.
- UNKNOWN = 0¶
an unknown maintenance kind is occurring.
- DAEMON_RESTART = 1¶
the daemon is restarting.
- SYSTEM_RESTART = 2¶
the system is restarting.
- class Snapd.MarkdownNodeType(value)¶
Bases:
GObject.GEnum
Type of markdown node.
New in version 1.48.
- TEXT = 0¶
a piece of text.
- PARAGRAPH = 1¶
a paragraph.
- UNORDERED_LIST = 2¶
an unordered list.
- LIST_ITEM = 3¶
a list item.
- CODE_BLOCK = 4¶
a code block.
- CODE_SPAN = 5¶
a code span.
- EMPHASIS = 6¶
emphasised text.
- STRONG_EMPHASIS = 7¶
strongly emphasised text.
- URL = 8¶
a URL.
- class Snapd.MarkdownVersion(value)¶
Bases:
GObject.GEnum
Version of markdown to parse. Picking a version will ensure only nodes of the expected type are decoded.
New in version 1.48.
- 0 = 0¶
- _0 = 0¶
the initial version of Snap markdown.
- class Snapd.PublisherValidation(value)¶
Bases:
GObject.GEnum
State of validation for a publisher.
New in version 1.42.
- UNKNOWN = 0¶
the validation state of the publisher is unknown.
- UNPROVEN = 1¶
the publisher has not proven their identity.
- VERIFIED = 2¶
the publisher is a star developer.
- STARRED = 3¶
the publisher has had their identity verified.
- class Snapd.SnapStatus(value)¶
Bases:
GObject.GEnum
The current state of a snap.
New in version 1.0.
- UNKNOWN = 0¶
the snap state is unknown.
- AVAILABLE = 1¶
the snap is available for installation.
- PRICED = 2¶
the snap is available for purchase.
- INSTALLED = 3¶
the snap is installed but not active.
- ACTIVE = 4¶
the snap is installed and active.
- class Snapd.SnapType(value)¶
Bases:
GObject.GEnum
Type of snap.
New in version 1.0.
- UNKNOWN = 0¶
the type of snap is unknown.
- APP = 1¶
the snap is an application.
- KERNEL = 2¶
the snap is a kernel.
- GADGET = 3¶
the snapd is a gadget.
- OS = 4¶
the snap is an operating system.
- CORE = 5¶
the snap is a core snap.
- BASE = 6¶
the snap is a base snap.
- SNAPD = 7¶
the snap is the snap daemon.
- class Snapd.SystemConfinement(value)¶
Bases:
GObject.GEnum
Confinement used by a snap.
New in version 1.15.
- UNKNOWN = 0¶
the confinement of the system is unknown.
- STRICT = 1¶
the system supports strict confinement.
- PARTIAL = 2¶
the system supports partial confinement.
- class Snapd.ThemeStatus(value)¶
Bases:
GObject.GEnum
The status of a snap-packaged desktop theme.
New in version 1.60.
- INSTALLED = 1¶
the theme is installed.
- AVAILABLE = 2¶
the theme is not installed but a package is available.
- UNAVAILABLE = 3¶
the theme is not available.