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, metricHandler ControllerHandler) *Controller
NewController returns a new controller for handling external metric types
type ControllerHandler ¶
type ControllerHandler interface {
Process(queueItem namespacedQueueItem) error
}
ControllerHandler is a handler to process resource items
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, metricCache *metriccache.MetricCache) Handler
NewHandler created a new handler
Click to show internal directories.
Click to hide internal directories.