func init() { … } // CheckRestrictedVolumes returns a restricted level check // that limits usage of specific volume types in 1.0+ func CheckRestrictedVolumes() Check { … } func restrictedVolumes_1_0(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }