Flags

Details

class Snapd.CreateUserFlags(value)

Bases: GObject.GFlags

Flag to control when a user accounts is created.

New in version 1.3.

NONE = 0

No flags, default behaviour.

SUDO = 1

Gives sudo access to created user.

KNOWN = 2

Use the local system-user assertions to create the user.

class Snapd.FindFlags(value)

Bases: GObject.GFlags

Flag to change how a find is performed.

New in version 1.0.

NONE = 0

No flags, default behaviour.

MATCH_NAME = 1

Search for snaps whose name matches the given string. The match is exact unless the string ends in *.

MATCH_COMMON_ID = 16

Search for snaps whose common ID matches the given string.

SELECT_PRIVATE = 2

Search private snaps.

SELECT_REFRESH = 4

Deprecated, do not use.

SCOPE_WIDE = 8

Search for snaps from any architecture or branch.

class Snapd.GetAppsFlags(value)

Bases: GObject.GFlags

Flag to change which apps are returned.

New in version 1.25.

NONE = 0

No flags, default behaviour.

SELECT_SERVICES = 1

Select services only.

class Snapd.GetConnectionsFlags(value)

Bases: GObject.GFlags

Flag to change how connections are returned.

New in version 1.49.

NONE = 0

No flags, default behaviour.

SELECT_ALL = 1

Select all connections, not just connected ones.

class Snapd.GetInterfacesFlags(value)

Bases: GObject.GFlags

Flags to control how interface information is returned.

New in version 1.48.

NONE = 0

No flags, default behaviour.

INCLUDE_DOCS = 1

Include interface documentation.

INCLUDE_PLUGS = 2

Include associated plugs.

INCLUDE_SLOTS = 4

Include associated slots.

ONLY_CONNECTED = 8

Only return connected interfaces.

class Snapd.GetSnapsFlags(value)

Bases: GObject.GFlags

Flag to change which snaps are returned.

New in version 1.42.

NONE = 0

No flags, default behaviour.

INCLUDE_INACTIVE = 1

Return snaps that are installed but not active.

class Snapd.InstallFlags(value)

Bases: GObject.GFlags

Flags to control install options.

New in version 1.12.

NONE = 0

No flags, default behaviour.

CLASSIC = 1

Put snap in classic mode and disable security confinement.

DANGEROUS = 2

Install the given snap file even if there are no pre-acknowledged signatures for it, meaning it was not verified and could be dangerous (implied by Snapd.InstallFlags.DEVMODE).

DEVMODE = 4

Put snap in development mode and disable security confinement.

JAILMODE = 8

Put snap in enforced confinement mode.

class Snapd.RemoveFlags(value)

Bases: GObject.GFlags

Flags to control remove options.

New in version 1.50.

NONE = 0

No flags, default behaviour.

PURGE = 1

Don’t save a snapshot the snap’s data when removing.