func init() { … } // CheckHostPorts returns a baseline level check // that forbids any host ports in 1.0+ func CheckHostPorts() Check { … } func hostPorts_1_0(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }
func init() { … } // CheckHostPorts returns a baseline level check // that forbids any host ports in 1.0+ func CheckHostPorts() Check { … } func hostPorts_1_0(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }