Documentation ¶
Index ¶
- type Launcher
- func (s *Launcher) Interface() string
- func (s *Launcher) IntrospectionData() string
- func (s *Launcher) ObjectPath() dbus.ObjectPath
- func (s *Launcher) OpenFile(parentWindow string, clientFd dbus.UnixFD, sender dbus.Sender) *dbus.Error
- func (s *Launcher) OpenURL(addr string, sender dbus.Sender) *dbus.Error
- type Settings
- func (s *Settings) Check(setting string, check string, sender dbus.Sender) (string, *dbus.Error)
- func (s *Settings) CheckSub(setting string, subproperty string, check string, sender dbus.Sender) (string, *dbus.Error)
- func (s *Settings) Get(setting string, sender dbus.Sender) (string, *dbus.Error)
- func (s *Settings) GetSub(setting string, subproperty string, sender dbus.Sender) (string, *dbus.Error)
- func (s *Settings) Interface() string
- func (s *Settings) IntrospectionData() string
- func (s *Settings) ObjectPath() dbus.ObjectPath
- func (s *Settings) Set(setting string, new string, sender dbus.Sender) *dbus.Error
- func (s *Settings) SetSub(setting string, subproperty string, new string, sender dbus.Sender) *dbus.Error
- type Userd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher implements the 'io.snapcraft.Launcher' DBus interface.
func (*Launcher) IntrospectionData ¶
IntrospectionData gives the XML formatted introspection description of the DBus service.
func (*Launcher) ObjectPath ¶
func (s *Launcher) ObjectPath() dbus.ObjectPath
ObjectPath returns the path that the object is exported as
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Settings implements the 'io.snapcraft.Settings' DBus interface.
func (*Settings) Check ¶
Check implements the 'Check' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.Check string:'default-web-browser' string:'firefox.desktop'
func (*Settings) CheckSub ¶
func (s *Settings) CheckSub(setting string, subproperty string, check string, sender dbus.Sender) (string, *dbus.Error)
CheckSub implements the 'CheckSub' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.CheckSub string:'default-url-scheme-handler' string:'irc' string:'ircclient.desktop'
func (*Settings) Get ¶
Get implements the 'Get' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.Get string:'default-web-browser'
func (*Settings) GetSub ¶
func (s *Settings) GetSub(setting string, subproperty string, sender dbus.Sender) (string, *dbus.Error)
GetSub implements the 'GetSub' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.GetSub string:'default-url-scheme-handler' string:'irc'
func (*Settings) IntrospectionData ¶
IntrospectionData gives the XML formatted introspection description of the DBus service.
func (*Settings) ObjectPath ¶
func (s *Settings) ObjectPath() dbus.ObjectPath
ObjectPath returns the path that the object is exported as
func (*Settings) Set ¶
Set implements the 'Set' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.Set string:'default-web-browser' string:'chromium-browser.desktop'
func (*Settings) SetSub ¶
func (s *Settings) SetSub(setting string, subproperty string, new string, sender dbus.Sender) *dbus.Error
SetSub implements the 'SetSub' method of the 'io.snapcraft.Settings' DBus interface.
Example usage: dbus-send --session --dest=io.snapcraft.Settings --type=method_call --print-reply /io/snapcraft/Settings io.snapcraft.Settings.SetSub string:'default-url-scheme-handler' string:'irc' string:'ircclient.desktop'