Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodResourceType ¶ added in v0.4.1
type PodResourceType string
const ( Guaranteed PodResourceType = "guaranteed" BestEffort PodResourceType = "best-effort" Unknown PodResourceType = "unknown" )
type Reporter ¶ added in v0.4.1
Reporter is used to report resource
func NewHeadroomReporter ¶
func NewHeadroomReporter(emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer, conf *config.Configuration, headroomAdvisor hmadvisor.ResourceAdvisor, ) (Reporter, error)
NewHeadroomReporter returns a wrapper of headroom reporter plugins as headroom reporter
func NewNodeMetricsReporter ¶ added in v0.4.1
func NewNodeMetricsReporter(emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer, metaReader metacache.MetaReader, conf *config.Configuration, ) (Reporter, error)
NewNodeMetricsReporter returns a wrapper of node metrics reporter
Source Files ¶
Click to show internal directories.
Click to hide internal directories.