Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct{}
Rule is a drainability rule on how to handle terminal pods.
func (*Rule) Drainable ¶
func (r *Rule) Drainable(drainCtx *drainability.DrainContext, pod *apiv1.Pod, _ *framework.NodeInfo) drainability.Status
Drainable decides what to do with terminal pods on node drain.
Click to show internal directories.
Click to hide internal directories.