func TestDeletePods(t *testing.T) { … }
func createPods(ifCreateNewPods bool) (map[string]corev1.Pod, []corev1.Pod) { … }
func addCoreNonEvictionSupport(t *testing.T, k *fake.Clientset) { … }
func addEvictionSupport(t *testing.T, k *fake.Clientset, version string) { … }
func TestCheckEvictionSupport(t *testing.T) { … }
func TestDeleteOrEvict(t *testing.T) { … }
func mockFilterSkip(_ corev1.Pod) PodDeleteStatus { … }
func mockFilterOkay(_ corev1.Pod) PodDeleteStatus { … }
func TestFilterPods(t *testing.T) { … }