server

package
v0.5.32 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ServiceNamePowerCap also is the unix socket name of the server is listening on
	ServiceNamePowerCap = "node_power_cap"

	// MetadataApplyPreviousReset is the custom information from power cap client to power cap advisor that
	// allows client to catch up with the reset it just missed by specifying x-apply-previous-reset:yes.
	// Typically, the client should not carry this metadata info anymore with the successive GetAdvice calls.
	MetadataApplyPreviousReset = "x-apply-previous-reset"

	MetadataValueYes = "yes"
)

Variables

This section is empty.

Functions

func NewPowerCapPlugin

func NewPowerCapPlugin(conf *config.Configuration, emitter metrics.MetricEmitter) (capper.PowerCapper, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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