Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller will do the work of syncing the external metrics the metric adapter knows about.
func NewController ¶
func NewController(externalMetricInformer informers.ExternalMetricInformer, customMetricInformer informers.CustomMetricInformer, metricHandler ControllerHandler) *Controller
NewController returns a new controller for handling external and custom metric types
type ControllerHandler ¶ added in v0.6.0
type ControllerHandler interface {
Process(queueItem namespacedQueueItem) error
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler processes the events from the controler for external metrics
func NewHandler ¶
func NewHandler(externalmetricLister listers.ExternalMetricLister, customMetricLister listers.CustomMetricLister, metricCache *metriccache.MetricCache) Handler
NewHandler created a new handler
Click to show internal directories.
Click to hide internal directories.