Documentation
¶
Index ¶
- func CheckNodeConditions(ctx context.Context, node *v1.Node, drainConditions config.DrainConditions) bool
- func CordonNode(ctx context.Context, clientset kubernetes.Interface, node *v1.Node) (bool, error)
- func DrainNode(ctx context.Context, clientset kubernetes.Interface, node *v1.Node) (bool, error)
- func UncordonNode(ctx context.Context, clientset kubernetes.Interface, node *v1.Node) error
- func ValidateCordon(ctx context.Context, clientset kubernetes.Interface, node *v1.Node, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNodeConditions ¶ added in v0.2.0
func CordonNode ¶
func UncordonNode ¶
func ValidateCordon ¶ added in v0.2.0
func ValidateCordon(ctx context.Context, clientset kubernetes.Interface, node *v1.Node, recorder record.EventRecorder)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.