Documentation ¶
Index ¶
Constants ¶
This section is empty.
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( ctx context.Context, mgr ctrl.Manager, syncPeriod time.Duration, downscaleStabilisationWindow time.Duration, tolerance float64, cpuInitializationPeriod, delayOfInitialReadinessStatus time.Duration, ) (*HorizontalController, error)
NewHorizontalController creates a new HorizontalController.
func (*HorizontalController) SetupWithManager ¶
func (a *HorizontalController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NormalizationArg ¶
type NormalizationArg struct { Key string ScaleUpBehavior *autoscalingv2.HPAScalingRules ScaleDownBehavior *autoscalingv2.HPAScalingRules MinReplicas int32 MaxReplicas int32 CurrentReplicas int32 DesiredReplicas int32 }
NormalizationArg is used to pass all needed information between functions as one structure
Click to show internal directories.
Click to hide internal directories.