Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterruptionEvent ¶
type InterruptionEvent struct { EventID string Kind string Description string State string NodeName string InstanceID string StartTime time.Time EndTime time.Time Drained bool PreDrainTask DrainTask `json:"-"` PostDrainTask DrainTask `json:"-"` }
InterruptionEvent gives more context of the interruption event
func (*InterruptionEvent) IsRebalanceRecommendation ¶ added in v1.10.0
func (e *InterruptionEvent) IsRebalanceRecommendation() bool
IsRebalanceRecommendation returns true if the interruption event is a rebalance recommendation
func (*InterruptionEvent) TimeUntilEvent ¶
func (e *InterruptionEvent) TimeUntilEvent() time.Duration
TimeUntilEvent returns the duration until the event start time
Click to show internal directories.
Click to hide internal directories.