There will be a proper way to do that soonish, via snapctl. It's a new tool
and mechanism that is being developed under the hook support theme, but
that will be generalized after that so that we can have richer interactions
between snaps and their mothership.


On Wed, Aug 24, 2016 at 12:24 PM, Christopher Arges <
[email protected]> wrote:

> From within a snapped program I'd like to check if all my slots/plugs are
> connected properly. This way I can either handle functionality different if
> something is not connected, or inform the user to connect before proceeding.
>
> I'm guessing the snapd-control interface contains this functionality, but
> then that requires that the snapd-control interface is also manually
> connected. In addition I'll need to write client code to connect to snapd
> and query it.
>
> Is there a better way to handle this? It would be great if one could
> introspect connected interfaces for the snap itsself without additional
> connections.
>
> Thanks,
> --chris
>
> --
> Snapcraft mailing list
> [email protected]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
>


-- 
gustavo @ http://niemeyer.net
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to