Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = hivev1.ClusterVersionControllerName
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ClusterDeployment 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 reconcile.Reconciler, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error
AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, rateLimiter flowcontrol.RateLimiter) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
Types ¶
type ReconcileClusterVersion ¶
ReconcileClusterVersion reconciles a ClusterDeployment object
func (*ReconcileClusterVersion) Reconcile ¶
func (r *ReconcileClusterVersion) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a ClusterDeployment object and syncs the remote ClusterVersion status if the remote cluster is available.
Click to show internal directories.
Click to hide internal directories.