Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ReconcilerName is the name of the reconciler.
ReconcilerName = "NatssChannels"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( opt reconciler.Options, dispatcherNamespace string, dispatcherDeploymentName string, dispatcherServiceName string, natsschannelInformer messaginginformers.NatssChannelInformer, deploymentInformer appsv1informers.DeploymentInformer, serviceInformer corev1informers.ServiceInformer, endpointsInformer corev1informers.EndpointsInformer, ) *controller.Impl
NewController initializes the controller and is called by the generated code. Registers event handlers to enqueue events.
Types ¶
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler reconciles NATSS Channels.
func (*Reconciler) OnAdd ¶
func (r *Reconciler) OnAdd(obj interface{})
cache.ResourceEventHandler implementation. These 3 functions just cause a Global Resync of the channels, because any changes here should be reflected onto the channels.
func (*Reconciler) OnDelete ¶
func (r *Reconciler) OnDelete(obj interface{})
func (*Reconciler) OnUpdate ¶
func (r *Reconciler) OnUpdate(old, new interface{})
Click to show internal directories.
Click to hide internal directories.