package apparmor
import "k8s.io/kubernetes/pkg/security/apparmor"
Index ¶
- func GetProfileName(pod *v1.Pod, containerName string) string
- func GetProfileNameFromPodAnnotations(annotations map[string]string, containerName string) string
- type Validator
Functions ¶
func GetProfileName ¶
GetProfileName returns the name of the profile to use with the container.
func GetProfileNameFromPodAnnotations ¶
GetProfileNameFromPodAnnotations gets the name of the profile to use with container from pod annotations
Types ¶
type Validator ¶
Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
func NewValidator ¶
func NewValidator() Validator
NewValidator is in order to find AppArmor FS
Source Files ¶
helpers.go validate.go validate_disabled.go
- Version
- v1.28.6
- Published
- Jan 17, 2024
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 14 seconds ago –
Tools for package owners.