Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultProfile = "crio-default"
DefaultProfile is the default profile name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the global AppArmor configuration type
func (*Config) Apply ¶
Apply returns the trimmed AppArmor profile to be used and reloads if the default profile is specified
func (*Config) IsEnabled ¶
IsEnabled returns true if AppArmor is enabled via the `apparmor` buildtag and globally by the system.
func (*Config) LoadProfile ¶
LoadProfile can be used to load a AppArmor profile from the provided path. This method will not fail if AppArmor is disabled.
Click to show internal directories.
Click to hide internal directories.