package
2.42.5+incompatible
Repository: https://github.com/ejfinneran/snapd.git
Documentation: pkg.go.dev
# Functions
CheckInterfaces checks whether plugs and slots of snap are allowed for installation.
Connect returns a set of tasks for connecting an interface.
Disconnect returns a set of tasks for disconnecting an interface.
Manager returns a new InterfaceManager.
No description provided by the author
MockSecurityBackends mocks the list of security backends that are used for setting up security.
MockSnapMapper mocks the currently used snap mapper.
RemapSnapFromRequest renames a snap as received from an API request according to the current mapper.
RemapSnapFromState renames a snap when loaded from state according to the current mapper.
RemapSnapToState renames a snap when saving to state according to the current mapper.
SystemSnapName returns actual name of the system snap.
# Constants
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
CoreCoreSystemMapper implements SnapMapper and makes implicit slots appear to be on "core" in the state and in memory but as "system" in the API.
CoreSnapdSystemMapper implements SnapMapper and makes implicit slots appear to be on "core" in the state and on "system" in the API while they are on "snapd" in memory.
ErrAlreadyConnected describes the error that occurs when attempting to connect already connected interface.
No description provided by the author
IdentityMapper implements SnapMapper and performs no transformations at all.
InterfaceManager is responsible for the maintenance of interfaces in the system state.
# Interfaces
SnapMapper offers APIs for re-mapping snap names in interfaces and the configuration system.