Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultApparmorProfile is the name of default apparmor profile name. DefaultApparmorProfile = "ocid-default" // ContainerAnnotationKeyPrefix is the prefix to an annotation key specifying a container profile. ContainerAnnotationKeyPrefix = "container.apparmor.security.beta.kubernetes.io/" // ProfileRuntimeDefault is he profile specifying the runtime default. ProfileRuntimeDefault = "runtime/default" // ProfileNamePrefix is the prefix for specifying profiles loaded on the node. ProfileNamePrefix = "localhost/" )
Variables ¶
This section is empty.
Functions ¶
func EnsureDefaultApparmorProfile ¶
func EnsureDefaultApparmorProfile() error
EnsureDefaultApparmorProfile dose nothing, when build without apparmor build tag.
func GetProfileNameFromPodAnnotations ¶
GetProfileNameFromPodAnnotations dose nothing, when build without apparmor build tag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.