Documentation ¶
Index ¶
Constants ¶
View Source
const RebalanceRecommendationMonitorKind = "REBALANCE_RECOMMENDATION_MONITOR"
RebalanceRecommentadionMonitorKind is a const to define this monitor kind
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RebalanceRecommendationMonitor ¶
type RebalanceRecommendationMonitor struct { IMDS *ec2metadata.Service InterruptionChan chan<- monitor.InterruptionEvent NodeName string }
RebalanceRecommendationMonitor is a struct definition which facilitates monitoring of rebalance recommendations from IMDS
func NewRebalanceRecommendationMonitor ¶
func NewRebalanceRecommendationMonitor(imds *ec2metadata.Service, interruptionChan chan<- monitor.InterruptionEvent, nodeName string) RebalanceRecommendationMonitor
NewRebalanceRecommendationMonitor creates an instance of a rebalance recoomendation IMDS monitor
func (RebalanceRecommendationMonitor) Kind ¶
func (m RebalanceRecommendationMonitor) Kind() string
Kind denotes the kind of monitor
func (RebalanceRecommendationMonitor) Monitor ¶
func (m RebalanceRecommendationMonitor) Monitor() error
Monitor continuously monitors metadata for rebalance recommendations and sends interruption events to the passed in channel
Click to show internal directories.
Click to hide internal directories.