 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Index ¶
- func GetProfileName(pod *v1.Pod, containerName string) string
- func GetProfileNameFromPodAnnotations(annotations map[string]string, containerName string) string
- func SetProfileName(pod *v1.Pod, containerName, profileName string) error
- func SetProfileNameFromPodAnnotations(annotations map[string]string, containerName, profileName string) error
- func ValidateProfileFormat(profile string) error
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProfileName ¶
GetProfileName returns the name of the profile to use with the container.
func GetProfileNameFromPodAnnotations ¶ added in v1.5.0
GetProfileNameFromPodAnnotations gets the name of the profile to use with container from pod annotations
func SetProfileName ¶
SetProfileName sets the name of the profile to use with the container.
func SetProfileNameFromPodAnnotations ¶ added in v1.6.0
func SetProfileNameFromPodAnnotations(annotations map[string]string, containerName, profileName string) error
SetProfileNameFromPodAnnotations sets the name of the profile to use with the container.
func ValidateProfileFormat ¶
ValidateProfileFormat checks the format of the profile.
Types ¶
type Validator ¶
Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
func NewValidator ¶
NewValidator is in order to find AppArmor FS
 Click to show internal directories. 
   Click to hide internal directories.