Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodReconciler ¶
type PodReconciler struct {
client.Client
Scheme *runtime.Scheme
ScaleAdjuster *scale_adjuster.ScaleAdjuster
NodeScaleNamespace string
SchedulerName string
}
PodReconciler reconciles a Pod object
func (*PodReconciler) Reconcile ¶
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 (*PodReconciler) SetupWithManager ¶
func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TypedPredicate ¶
type TypedPredicate[object any] interface { // Create returns true if the Create event should be processed Create(event.TypedCreateEvent[object]) bool // Delete returns true if the Delete event should be processed Delete(event.TypedDeleteEvent[object]) bool // Update returns true if the Update event should be processed Update(event.TypedUpdateEvent[object]) bool // Generic returns true if the Generic event should be processed Generic(event.TypedGenericEvent[object]) bool }
TypedPredicate filters events before enqueuing the keys.
Click to show internal directories.
Click to hide internal directories.