Documentation ¶
Index ¶
Constants ¶
const (
HorizontalPortraitControllerName = "horizontal_portrait_controller"
)
const (
IHPAControllerName = "ihpa_controller"
)
const (
ReplicaProfileControllerName = "replica_profile_controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HorizontalPortraitReconciler ¶
type HorizontalPortraitReconciler struct { client.Client Scheme *runtime.Scheme record.EventRecorder EventTrigger chan event.GenericEvent PortraitGenerators map[autoscalingv1alpha1.PortraitType]portraitgenerator.Interface ExternalAlgorithmJobControllers map[autoscalingv1alpha1.PortraitAlgorithmJobType]jobcontroller.Horizontal ExternalAlgorithmJobResultFetchers map[autoscalingv1alpha1.PortraitAlgorithmResultSourceType]resultfetcher.Horizontal // contains filtered or unexported fields }
HorizontalPortraitReconciler reconciles a HorizontalPortrait object.
func (*HorizontalPortraitReconciler) Reconcile ¶
func (r *HorizontalPortraitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*HorizontalPortraitReconciler) SetupWithManager ¶
func (r *HorizontalPortraitReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IntelligentHorizontalPodAutoscalerReconciler ¶
type IntelligentHorizontalPodAutoscalerReconciler struct { client.Client Scheme *runtime.Scheme record.EventRecorder EventTrigger chan event.GenericEvent PortraitProviders map[autoscalingv1alpha1.HorizontalPortraitProviderType]portraitprovider.Horizontal // contains filtered or unexported fields }
IntelligentHorizontalPodAutoscalerReconciler reconciles a IntelligentHorizontalPodAutoscaler object.
func (*IntelligentHorizontalPodAutoscalerReconciler) Reconcile ¶
func (r *IntelligentHorizontalPodAutoscalerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*IntelligentHorizontalPodAutoscalerReconciler) SetupWithManager ¶
func (r *IntelligentHorizontalPodAutoscalerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ReplicaProfileReconciler ¶
type ReplicaProfileReconciler struct { client.Client Scheme *runtime.Scheme record.EventRecorder *pkgscale.Scaler // contains filtered or unexported fields }
ReplicaProfileReconciler reconciles a ReplicaProfile object.
func (*ReplicaProfileReconciler) Reconcile ¶
func (r *ReplicaProfileReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ReplicaProfileReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.