Documentation
¶
Index ¶
- Constants
- Variables
- func GetInfo(withName string) (bool, error)
- func GetSpecOptions(securityOpt string) (oci.SpecOpts, error)
- func Inspect(asName string) (string, error)
- func List() ([]*apparmor.Profile, error)
- func ListNames() ([]string, error)
- func Load(asName string) error
- func Unload(profileName string) error
Constants ¶
View Source
const ( Empty = "" Unconfined = "unconfined" )
Variables ¶
View Source
var ( ErrServiceAppArmor = errors.New("apparmor service error") ErrUnsupported = errors.New("it does not seem like apparmor is enabled on the host") ErrCannotLoadOrUnload = errors.New("not enough permissions to load or unload profiles") ErrCannotApply = errors.New("requested profile cannot be applied (you should check if it is loaded)") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.