Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + const SnapdToolingMountUnit + func AddSnapBinaries(s *snap.Info) (err error) + func AddSnapDBusActivationFiles(s *snap.Info) error + func AddSnapDesktopFiles(s *snap.Info) (err error) + func AddSnapIcons(s *snap.Info) error + func AddSnapServices(s *snap.Info, opts *AddSnapServicesOptions, inter Interacter) error + func AddSnapdSnapServices(s *snap.Info, opts *AddSnapdSnapServicesOptions, inter Interacter) error + func DeriveSnapdDBusConfig(s *snap.Info) (sessionContent, systemContent map[string]osutil.FileState, err error) + func EnsureSnapServices(snaps map[*snap.Info]*SnapServiceOptions, opts *EnsureSnapServicesOptions, ...) (err error) + func QueryDisabledServices(info *snap.Info, pb progress.Meter) ([]string, error) + func RemoveQuotaGroup(grp *quota.Group, inter Interacter) error + func RemoveSnapBinaries(s *snap.Info) error + func RemoveSnapDBusActivationFiles(s *snap.Info) error + func RemoveSnapDesktopFiles(s *snap.Info) error + func RemoveSnapIcons(s *snap.Info) error + func RemoveSnapServices(s *snap.Info, inter Interacter) error + func RemoveSnapdSnapServicesOnCore(s *snap.Info, inter Interacter) error + func RestartServices(svcs []*snap.AppInfo, explicitServices []string, flags *RestartServicesFlags, ...) error + func ServicesEnableState(s *snap.Info, inter Interacter) (map[string]bool, error) + func StartServices(apps []*snap.AppInfo, disabledSvcs []string, flags *StartServicesFlags, ...) (err error) + func StopServices(apps []*snap.AppInfo, flags *StopServicesFlags, reason snap.ServiceStopReason, ...) error + type AddSnapServicesOptions struct + Preseeding bool + QuotaGroup *quota.Group + RequireMountedSnapdSnap bool + VitalityRank int + type AddSnapdSnapServicesOptions struct + Preseeding bool + type EnsureSnapServicesOptions struct + Preseeding bool + RequireMountedSnapdSnap bool + type Interacter interface + Notify func(status string) + type ObserveChangeCallback func(app *snap.AppInfo, grp *quota.Group, unitType string, name, old, new string) + type RestartServicesFlags struct + Reload bool + type SnapServiceOptions struct + QuotaGroup *quota.Group + VitalityRank int + type StartServicesFlags struct + Enable bool + type StopServicesFlags struct + Disable bool