Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerAwareAdvisor ¶
type PowerAwareAdvisor interface { // Run depicts the whole process taking in power related inputs, generating action plans, and delegating the executions Run(ctx context.Context) // Init initializes components Init() error }
PowerAwareAdvisor is the interface that runs the whole power advisory process
func NewAdvisor ¶
func NewAdvisor(dryRun bool, annotationKeyPrefix string, podEvictor evictor.PodEvictor, emitter metrics.MetricEmitter, nodeFetcher node.NodeFetcher, qosConfig *generic.QoSConfiguration, podFetcher pod.PodFetcher, reader reader.PowerReader, capper capper.PowerCapper, ) PowerAwareAdvisor
Click to show internal directories.
Click to hide internal directories.