const numOfEvictions …
func TestConcurrentEvictionRequests(t *testing.T) { … }
func TestTerminalPodEviction(t *testing.T) { … }
func TestEvictionVersions(t *testing.T) { … }
func TestEvictionWithFinalizers(t *testing.T) { … }
func TestEvictionWithUnhealthyPodEvictionPolicy(t *testing.T) { … }
func TestEvictionWithPrecondition(t *testing.T) { … }
func newPod(podName string) *v1.Pod { … }
func addPodConditionReady(pod *v1.Pod) { … }
func newPDB() *policyv1.PodDisruptionBudget { … }
func newV1Eviction(ns, evictionName string, deleteOption metav1.DeleteOptions) *policyv1.Eviction { … }
func rmSetup(ctx context.Context, t *testing.T) (kubeapiservertesting.TearDownFunc, *disruption.DisruptionController, informers.SharedInformerFactory, *restclient.Config, clientset.Interface) { … }
func waitToObservePods(t *testing.T, podInformer cache.SharedIndexInformer, podNum int, phase v1.PodPhase) { … }
func waitPDBStable(t *testing.T, clientSet clientset.Interface, ns, pdbName string, podNum int32) { … }
func waitPDB(t *testing.T, clientSet clientset.Interface, ns, pdbName string, condition func(budget *policyv1.PodDisruptionBudget) bool) { … }
func unhealthyPolicyPtr(unhealthyPodEvictionPolicy policyv1.UnhealthyPodEvictionPolicyType) *policyv1.UnhealthyPodEvictionPolicyType { … }
type noRetriesRESTClient …
func (n *noRetriesRESTClient) Post() *restclient.Request { … }