func init() { … } // CheckAllowPrivilegeEscalation returns a restricted level check // that requires allowPrivilegeEscalation=false in 1.8+ func CheckAllowPrivilegeEscalation() Check { … } func allowPrivilegeEscalation_1_8(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … } func allowPrivilegeEscalation_1_25(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }