Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + func NewDefaultHPARateLimiter(interval time.Duration) workqueue.RateLimiter + func NewFixedItemIntervalRateLimiter(interval time.Duration) workqueue.RateLimiter + type FixedItemIntervalRateLimiter struct + func (r *FixedItemIntervalRateLimiter) Forget(item interface{}) + func (r *FixedItemIntervalRateLimiter) NumRequeues(item interface{}) int + func (r *FixedItemIntervalRateLimiter) When(item interface{}) time.Duration + type HorizontalController struct + func NewHorizontalController(evtNamespacer v1core.EventsGetter, scaleNamespacer scaleclient.ScalesGetter, ...) *HorizontalController + func (a *HorizontalController) Run(stopCh <-chan struct{}) + type ReplicaCalculator struct + func NewReplicaCalculator(metricsClient metricsclient.MetricsClient, podLister corelisters.PodLister, ...) *ReplicaCalculator + func (c *ReplicaCalculator) GetExternalMetricReplicas(currentReplicas int32, targetUtilization int64, metricName, namespace string, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetExternalPerPodMetricReplicas(statusReplicas int32, targetUtilizationPerPod int64, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetMetricReplicas(currentReplicas int32, targetUtilization int64, metricName string, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetObjectMetricReplicas(currentReplicas int32, targetUtilization int64, metricName string, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetObjectPerPodMetricReplicas(statusReplicas int32, targetAverageUtilization int64, metricName string, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetRawResourceReplicas(currentReplicas int32, targetUtilization int64, resource v1.ResourceName, ...) (replicaCount int32, utilization int64, timestamp time.Time, err error) + func (c *ReplicaCalculator) GetResourceReplicas(currentReplicas int32, targetUtilization int32, resource v1.ResourceName, ...) (replicaCount int32, utilization int32, rawUtilization int64, ...)