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 + type Backend struct + func (b *Backend) Initialize(opts *interfaces.SecurityBackendOptions) error + func (b *Backend) Name() interfaces.SecuritySystem + func (b *Backend) NewSpecification() interfaces.Specification + func (b *Backend) Remove(snapName string) error + func (b *Backend) SandboxFeatures() []string + func (b *Backend) Setup(snapInfo *snap.Info, confinement interfaces.ConfinementOptions, ...) error + type Service struct + Description string + ExecStart string + ExecStop string + RemainAfterExit bool + Type string + func (s *Service) String() string + type Specification struct + func (spec *Specification) AddConnectedPlug(iface interfaces.Interface, plug *interfaces.ConnectedPlug, ...) error + func (spec *Specification) AddConnectedSlot(iface interfaces.Interface, plug *interfaces.ConnectedPlug, ...) error + func (spec *Specification) AddPermanentPlug(iface interfaces.Interface, plug *snap.PlugInfo) error + func (spec *Specification) AddPermanentSlot(iface interfaces.Interface, slot *snap.SlotInfo) error + func (spec *Specification) AddService(distinctServiceSuffix string, s *Service) error + func (spec *Specification) Services() map[string]*Service