Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrNodeNotAvailable ¶
Types ¶
type Drainer ¶
type Drainer struct { Clientset kubernetes.Interface TaintInit *corev1.Taint TaintShutdown *corev1.Taint Wait bool }
func NewDrainer ¶
func NewDrainer(clientset kubernetes.Interface) *Drainer
type ErrNodeNotAvailable ¶
type ErrNodeNotAvailable string
func (ErrNodeNotAvailable) Error ¶
func (err ErrNodeNotAvailable) Error() string
Click to show internal directories.
Click to hide internal directories.