Documentation ¶
Overview ¶
Package wrappers is used to generate wrappers and service units and also desktop files for snap applications.
Index ¶
- func AddSnapBinaries(s *snap.Info) error
- func AddSnapDesktopFiles(s *snap.Info) error
- func AddSnapServices(s *snap.Info, inter interacter) error
- func RemoveSnapBinaries(s *snap.Info) error
- func RemoveSnapDesktopFiles(s *snap.Info) error
- func RemoveSnapServices(s *snap.Info, inter interacter) error
- func StartSnapServices(s *snap.Info, inter interacter) error
- func StopSnapServices(s *snap.Info, inter interacter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSnapBinaries ¶
AddSnapBinaries writes the wrapper binaries for the applications from the snap which aren't services.
func AddSnapDesktopFiles ¶
AddSnapDesktopFiles puts in place the desktop files for the applications from the snap.
func AddSnapServices ¶
AddSnapServices adds service units for the applications from the snap which are services.
func RemoveSnapBinaries ¶
RemoveSnapBinaries removes the wrapper binaries for the applications from the snap which aren't services from.
func RemoveSnapDesktopFiles ¶
RemoveSnapDesktopFiles removes the added desktop files for the applications in the snap.
func RemoveSnapServices ¶
RemoveSnapServices disables and removes service units for the applications from the snap which are services.
func StartSnapServices ¶
StartSnapServices starts service units for the applications from the snap which are services.
func StopSnapServices ¶
StopSnapServices stops service units for the applications from the snap which are services.
Types ¶
This section is empty.