rebalancerecommendation

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RebalanceRecommendationKind is a const to define a Rebalance Recommendation kind of event
	RebalanceRecommendationKind = "REBALANCE_RECOMMENDATION"
)

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 event that is processed

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