Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppArmorTestPod ¶
func CreateAppArmorTestPod(nsName string, clientset clientset.Interface, podClient *e2epod.PodClient, unconfined bool, runOnce bool) *v1.Pod
CreateAppArmorTestPod creates a pod that tests apparmor profile enforcement. The pod exits with an error code if the profile is incorrectly enforced. If runOnce is true the pod will exit after a single test, otherwise it will repeat the test every 1 second until failure.
func LoadAppArmorProfiles ¶
LoadAppArmorProfiles creates apparmor-profiles ConfigMap and apparmor-loader ReplicationController.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.