rebalancerecommendation

package
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Kind denotes the kind of monitor

func (RebalanceRecommendationMonitor) Monitor

Monitor continuously monitors metadata for rebalance recommendations and sends interruption events to the passed in channel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL