Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Evict ¶
func Evict(ctx context.Context, kubernetes kubernetes.Interface, namespace, name string, opts metav1.DeleteOptions) error
Evict Pods using the best available method in Kubernetes.
The available methods are, in order of preference: * v1 eviction API * v1beta1 eviction API * v1 Pod deletion API Note that eviction and deletion are basically the same thing in Kubernetes, but eviction may indicate intent better.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.