The snap-refresh-observe interface

The snap-refresh-observe interface permits tracking snap refreshes and their inhibition.

It is intended to be used only to mark the existence of a refresh awareness client, such as snapd-desktop-integration snap.

Interface documentation:

See Interface management and Supported interfaces for further details on how interfaces are used.


Developer details

Auto-connect: no
Super-privileged: yes

Code examples

The test code can be found in the snapd repository: snapd/interfaces/builtin/snap_refresh_observe_test.go at master · snapcore/snapd · GitHub

The source code for the interface is in the snapd repository: snapd/interfaces/builtin/snap_refresh_observe.go at master · snapcore/snapd · GitHub

2 Likes