const MaxDisruptedPodSize …
var EvictionsRetry …
func newEvictionStorage(store rest.StandardStorage, podDisruptionBudgetClient policyclient.PodDisruptionBudgetsGetter) *EvictionREST { … }
type EvictionREST …
var _ …
var _ …
var _ …
var v1Eviction …
func (r *EvictionREST) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind { … }
func (r *EvictionREST) AcceptsGroupVersion(gv schema.GroupVersion) bool { … }
func (r *EvictionREST) New() runtime.Object { … }
func (r *EvictionREST) Destroy() { … }
func propagateDryRun(eviction *policy.Eviction, options *metav1.CreateOptions) (*metav1.DeleteOptions, error) { … }
func (r *EvictionREST) Create(ctx context.Context, name string, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error) { … }
func addConditionAndDeletePod(r *EvictionREST, ctx context.Context, name string, validation rest.ValidateObjectFunc, options *metav1.DeleteOptions) error { … }
func getPod(r *EvictionREST, ctx context.Context, name string) (*api.Pod, error) { … }
func setPreconditionsResourceVersion(deleteOptions *metav1.DeleteOptions, resourceVersion *string) { … }
func canIgnorePDB(pod *api.Pod) bool { … }
func shouldEnforceResourceVersion(pod *api.Pod) bool { … }
func resourceVersionIsUnset(options *metav1.DeleteOptions) bool { … }
func createTooManyRequestsError(name string) error { … }
func (r *EvictionREST) checkAndDecrement(namespace string, podName string, pdb policyv1.PodDisruptionBudget, dryRun bool) error { … }
func (r *EvictionREST) getPodDisruptionBudgets(ctx context.Context, pod *api.Pod) ([]policyv1.PodDisruptionBudget, error) { … }