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.
Click to show internal directories.
Click to hide internal directories.