Documentation ¶ Index ¶ type Service func New(tTLHoursOfMinMaxReplicasRecommendation int, maxReplicasFactor float64, ...) *Service func (s *Service) UpdateRecommendations(ctx context.Context, tortoise *v1beta2.Tortoise, ...) (*v1beta2.Tortoise, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // configurations TTLHourOfMinMaxReplicasRecommendation float64 // contains filtered or unexported fields } func New ¶ func New( tTLHoursOfMinMaxReplicasRecommendation int, maxReplicasFactor float64, minReplicasFactor float64, upperTargetResourceUtilization int, minimumMinReplicas int, preferredReplicaNumUpperLimit int, maxCPUPerContainer string, maxMemoryPerContainer string, ) *Service func (*Service) UpdateRecommendations ¶ func (s *Service) UpdateRecommendations(ctx context.Context, tortoise *v1beta2.Tortoise, hpa *v2.HorizontalPodAutoscaler, deployment *v1.Deployment, now time.Time) (*v1beta2.Tortoise, error) Source Files ¶ View all Source files recommender.go Click to show internal directories. Click to hide internal directories.