const EvictionKind …
const EvictionSubresource …
const podSkipMsgTemplate …
type Helper …
type waitForDeleteParams …
func CheckEvictionSupport(clientset kubernetes.Interface) (schema.GroupVersion, error) { … }
func (d *Helper) makeDeleteOptions() metav1.DeleteOptions { … }
func (d *Helper) DeletePod(pod corev1.Pod) error { … }
func (d *Helper) EvictPod(pod corev1.Pod, evictionGroupVersion schema.GroupVersion) error { … }
func (d *Helper) GetPodsForDeletion(nodeName string) (*PodDeleteList, []error) { … }
func filterPods(podList *corev1.PodList, filters []PodFilter) *PodDeleteList { … }
func (d *Helper) DeleteOrEvictPods(pods []corev1.Pod) error { … }
func (d *Helper) evictPods(pods []corev1.Pod, evictionGroupVersion schema.GroupVersion, getPodFn func(namespace, name string) (*corev1.Pod, error)) error { … }
func (d *Helper) deletePods(pods []corev1.Pod, getPodFn func(namespace, name string) (*corev1.Pod, error)) error { … }
func waitForDelete(params waitForDeleteParams) ([]corev1.Pod, error) { … }
func (d *Helper) getContext() context.Context { … }