Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = hivev1.ClusterpoolControllerName
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ClusterPool Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func AddToManager ¶
func AddToManager(mgr manager.Manager, r *ReconcileClusterPool, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error
AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler
Types ¶
type ReconcileClusterPool ¶
ReconcileClusterPool reconciles a ClusterPool object
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, rateLimiter flowcontrol.RateLimiter) *ReconcileClusterPool
NewReconciler returns a new ReconcileClusterPool
func (*ReconcileClusterPool) Reconcile ¶
func (r *ReconcileClusterPool) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads the state of the ClusterPool, checks if we currently have enough ClusterDeployments waiting, and attempts to reach the desired state if not.
Click to show internal directories.
Click to hide internal directories.