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, opts interfaces.ConfinementOptions, ...) error + 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) AddSnippet(snippet string) + func (spec *Specification) ControlsDeviceCgroup() bool + func (spec *Specification) SetControlsDeviceCgroup() + func (spec *Specification) Snippets() (result []string) + func (spec *Specification) TagDevice(snippet string) + func (spec *Specification) TriggerSubsystem(subsystem string) + func (spec *Specification) TriggeredSubsystems() []string