Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrometheusOperatorDeploymentName = "prometheus-operator" PrometheusOperatorCSVNamePrefix = "odf-prometheus-operator" ClusterClaimCrdName = "clusterclaims.cluster.open-cluster-management.io" )
Variables ¶
This section is empty.
Functions ¶
func InitNamespacedName ¶
func InitNamespacedName() types.NamespacedName
InitNamespacedName returns a NamespacedName for the singleton instance that should exist.
Types ¶
type OCSInitializationReconciler ¶
type OCSInitializationReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme SecurityClient secv1client.SecurityV1Interface OperatorNamespace string AvailableCrds map[string]bool // contains filtered or unexported fields }
OCSInitializationReconciler reconciles a OCSInitialization object nolint:revive
func (*OCSInitializationReconciler) Reconcile ¶
func (r *OCSInitializationReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a OCSInitialization object and makes changes based on the state read and what is in the OCSInitialization.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*OCSInitializationReconciler) SetupWithManager ¶
func (r *OCSInitializationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up a controller with a manager
Click to show internal directories.
Click to hide internal directories.