func (c *StashController) initBackupConfigurationWatcher() {
	c.bcInformer = c.stashInformerFactory.Stash().V1beta1().BackupConfigurations().Informer()
	c.bcQueue = queue.New(api_v1beta1.ResourceKindBackupConfiguration, c.MaxNumRequeues, c.NumThreads, c.runBackupConfigurationProcessor)
	c.bcInformer.AddEventHandler(queue.NewReconcilableHandler(c.bcQueue.GetQueue()))
	c.bcLister = c.stashInformerFactory.Stash().V1beta1().BackupConfigurations().Lister()
}
// TODO: Add validator that will reject to create BackupConfiguration if any Restic exist for target workload
Add validator that will reject to create BackupConfiguration if any Restic exist for target workload
// TODO : Add validator that will reject to create BackupConfiguration if any Restic exist for target workload
func (c *StashController) initBackupConfigurationWatcher() {
	c.bcInformer = c.stashInformerFactory.Stash().V1beta1().BackupConfigurations().Informer()
	c.bcQueue = queue.New(api_v1beta1.ResourceKindBackupConfiguration, c.MaxNumRequeues, c.NumThreads, c.runBackupConfigurationProcessor)
	c.bcInformer.AddEventHandler(queue.NewReconcilableHandler(c.bcQueue.GetQueue()))
	c.bcLister = c.stashInformerFactory.Stash().V1beta1().BackupConfigurations().Lister()
}
func ( c * StashController ) initBackupConfigurationWatcher ( ) { c . bcInformer = c . stashInformerFactory . Stash ( ) . V1beta1 ( ) . BackupConfigurations ( ) . Informer ( ) c . bcQueue = queue . New ( api_v1beta1 . ResourceKindBackupConfiguration , c . MaxNumRequeues , c . NumThreads , c . runBackupConfigurationProcessor ) c . bcInformer . AddEventHandler ( queue . NewReconcilableHandler ( c . bcQueue . GetQueue ( ) ) ) c . bcLister = c . stashInformerFactory . Stash ( ) . V1beta1 ( ) . BackupConfigurations ( ) . Lister ( ) }
Add validator that will reject to create BackupConfiguration if any Restic exist for target workload
Add validator that will reject to create BackupConfiguration if any Restic exist for target workload