Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllowedKind ¶
Types ¶
type Handler ¶
type Handler struct { InterruptionEventStore *interruptioneventstore.Store Node node.Node NthConfig config.Config Metrics observability.Metrics Recorder observability.K8sEventRecorder }
func (*Handler) GetNodeName ¶
func (h *Handler) GetNodeName(drainEvent *monitor.InterruptionEvent) (string, error)
func (*Handler) RunPostDrainTask ¶
func (h *Handler) RunPostDrainTask(nodeName string, drainEvent *monitor.InterruptionEvent)
func (*Handler) RunPreDrainTask ¶
func (h *Handler) RunPreDrainTask(nodeName string, drainEvent *monitor.InterruptionEvent)
Click to show internal directories.
Click to hide internal directories.