Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SyncMap sync.Map
Functions ¶
func SetDeploymentScale ¶
func SetDeploymentScale(rioServices riov1controller.ServiceController, ssr *autoscalev1.ServiceScaleRecommendation) error
Types ¶
type SSRHandler ¶
type SSRHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(ctx context.Context, metrics autoscaling.KPAMetrics, rioServiceClient riov1controller.ServiceController, serviceClientCache corev1controller.ServiceCache, podClientCache corev1controller.PodCache) *SSRHandler
func (*SSRHandler) OnChange ¶
func (s *SSRHandler) OnChange(key string, ssr *autoscalev1.ServiceScaleRecommendation) (*autoscalev1.ServiceScaleRecommendation, error)
func (*SSRHandler) OnRemove ¶
func (s *SSRHandler) OnRemove(key string, ssr *autoscalev1.ServiceScaleRecommendation) (*autoscalev1.ServiceScaleRecommendation, error)
Click to show internal directories.
Click to hide internal directories.