l.s.i.w.ISnap(ISnapView, ISnapEdit, ISnapEditableAttributes, ISnapAdminAttributes, IPrivacy) : interface documentation

Part of lp.snappy.interfaces.webservice View In Hierarchy

A buildable snap package.

Inherited from ISnapView:

Int id Undocumented
Attribute source The source branch for this snap package (VCS-agnostic).
Attribute available_processors The architectures that are available to be enabled or disabled for this snap package.
Method setProcessors Set the architectures for which the snap package should be built.
Method getAllowedArchitectures Return all distroarchseries that this package can build for.
Method requestBuild Request that the snap package be built.
Method requestBuilds Request that the snap package be built for relevant architectures.
Method requestBuildsFromJob Synchronous part of Snap.requestBuilds.
Method getBuildRequest Get an asynchronous build request by ID.
Method getBuildSummariesForSnapBuildIds Return a dictionary containing a summary of the build statuses.
Method getBuildSummaries Return a dictionary containing a summary of build information.

Inherited from ISnapEdit:

Method requestAutoBuilds Create and return automatic builds for this snap package.
Method beginAuthorization Begin authorizing uploads of this snap package to the store.
Method completeAuthorization Complete authorizing uploads of this snap package to the store.
Method destroySelf Delete this snap package, provided that it has no builds.

Inherited from IWebhookTarget (via ISnapEdit):

List valid_webhook_event_types Valid event types for this object type.
List default_webhook_event_types Default event types for new webhooks attached to this object type.
Method newWebhook Create a new webhook.

Inherited from ISnapEditableAttributes:

TextLine git_path The path of the Git branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level.
Bool is_stale Undocumented
List store_secrets Serialized secrets issued by the store and the login service to authorize uploads of this snap package.

Inherited from IHasOwner (via ISnapEditableAttributes):

Attribute owner The object's owner, which is an IPerson.

Inherited from IPrivacy:

Bool private Private objects are visible to members or subscribers.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.