Documentation
¶
Overview ¶
Package controllers provides a way to reconcile ROSA resources.
Index ¶
Constants ¶
View Source
const ( // ROSAControlPlaneFinalizer allows the controller to clean up resources on delete. ROSAControlPlaneFinalizer = "rosacontrolplane.controlplane.cluster.x-k8s.io" // ROSAControlPlaneForceDeleteAnnotation annotation can be set to force the deletion of ROSAControlPlane bypassing any deletion validations/errors. ROSAControlPlaneForceDeleteAnnotation = "controlplane.cluster.x-k8s.io/rosacontrolplane-force-delete" // ExternalAuthProviderLastAppliedAnnotation annotation tracks the last applied external auth configuration to inform if an update is required. ExternalAuthProviderLastAppliedAnnotation = "controlplane.cluster.x-k8s.io/rosacontrolplane-last-applied-external-auth-provider" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ROSAControlPlaneReconciler ¶
type ROSAControlPlaneReconciler struct {
client.Client
WatchFilterValue string
WaitInfraPeriod time.Duration
NewStsClient func(cloud.ScopeUsage, cloud.Session, logger.Wrapper, runtime.Object) stsiface.STSClient
NewOCMClient func(ctx context.Context, rosaScope *scope.ROSAControlPlaneScope) (rosa.OCMClient, error)
// contains filtered or unexported fields
}
ROSAControlPlaneReconciler reconciles a ROSAControlPlane object.
func (*ROSAControlPlaneReconciler) Reconcile ¶
func (r *ROSAControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile will reconcile RosaControlPlane Resources.
func (*ROSAControlPlaneReconciler) SetupWithManager ¶
func (r *ROSAControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager is used to setup the controller.
Click to show internal directories.
Click to hide internal directories.