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 + func MockSnapSeccompVersionInfo(versionInfo string) (restore func()) + type Backend struct + func (b *Backend) Initialize(*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 Compiler interface + Compile func(in, out string) error + VersionInfo func() (seccomp.VersionInfo, 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) SecurityTags() []string + func (spec *Specification) SnippetForTag(tag string) string + func (spec *Specification) Snippets() map[string][]string