Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Backend jetstream.Backend // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(client client.Client, jsBackend jetstream.Backend, logger *logger.Logger, recorder record.EventRecorder, cleaner cleaner.Cleaner, subscriptionValidator validator.SubscriptionValidator, collector *metrics.Collector, ) *Reconciler
func (*Reconciler) HandleNatsConnClose ¶
func (r *Reconciler) HandleNatsConnClose(_ *nats.Conn)
HandleNatsConnClose is called by NATS when the connection to the NATS server is closed. When it is called, the reconnect-attempts have exceeded the defined value. It forces reconciling the subscription to make sure the subscription is marked as not ready, until it is possible to connect to the NATS server again.
func (*Reconciler) SetupUnmanaged ¶
SetupUnmanaged creates a controller under the client control.
Click to show internal directories.
Click to hide internal directories.