Documentation ¶
Index ¶
Constants ¶
View Source
const ( NATSFinalizerName = "nats.operator.kyma-project.io/finalizer" ControllerName = "nats-manager" ManagedByLabelKey = "app.kubernetes.io/managed-by" ManagedByLabelValue = ControllerName )
View Source
const ( StreamExistsErrorMsg = "Cannot delete NATS cluster as customer stream exists" ConsumerExistsErrorMsg = "Cannot delete NATS cluster as stream consumer exists" InstanceLabelKey = "app.kubernetes.io/instance" SapStreamName = "sap" )
View Source
const RequeueTimeForStatusCheck = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler reconciles a Nats object.
func NewReconciler ¶
func NewReconciler( client client.Client, kubeClient k8s.Client, chartRenderer chart.Renderer, scheme *runtime.Scheme, logger *zap.SugaredLogger, recorder record.EventRecorder, natsManager manager.Manager, allowedNATSCR *natsv1alpha1.NATS, ) *Reconciler
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.