INNER CODE UNIT · Go
options
rabbitmq/cluster-operator · cmd/main.go:242
options = *o
}
}
mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), options)
if err != nil {
log.Error(err, "unable to start manager")
os.Exit(1)
}
clusterConfig := config.GetConfigOrDie()
if err = (&controllers.RabbitmqClusterReconciler{
Client: mgr.GetClient(),
APIReader: mgr.GetAPIReader(),
Scheme: mgr.GetScheme(),
Recorder: mgr.GetEventRecorderFor(controllerName),
Namespace: operatorNamespace,