Documentation ¶
Index ¶
Constants ¶
View Source
const ( HpaCustomMetricsTargetAnnotationName = "alpha/target.custom-metrics.podautoscaler.kubernetes.io" HpaCustomMetricsStatusAnnotationName = "alpha/status.custom-metrics.podautoscaler.kubernetes.io" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HorizontalController ¶
type HorizontalController struct {
// contains filtered or unexported fields
}
func NewHorizontalController ¶
func NewHorizontalController(evtNamespacer unversionedcore.EventsGetter, scaleNamespacer unversionedextensions.ScalesGetter, hpaNamespacer unversionedextensions.HorizontalPodAutoscalersGetter, metricsClient metrics.MetricsClient) *HorizontalController
func (*HorizontalController) Run ¶
func (a *HorizontalController) Run(syncPeriod time.Duration)
Click to show internal directories.
Click to hide internal directories.