support clean up the notification configure when delete cluster (#5077)

This commit is contained in:
wanjunlei
2022-07-20 19:27:51 +08:00
committed by GitHub
parent 03da05dd91
commit a2059725dd
53 changed files with 3754 additions and 384 deletions

View File

@@ -26,6 +26,8 @@ import (
type Interface interface {
// Configs returns a ConfigInformer.
Configs() ConfigInformer
// NotificationManagers returns a NotificationManagerInformer.
NotificationManagers() NotificationManagerInformer
// Receivers returns a ReceiverInformer.
Receivers() ReceiverInformer
// Routers returns a RouterInformer.
@@ -50,6 +52,11 @@ func (v *version) Configs() ConfigInformer {
return &configInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// NotificationManagers returns a NotificationManagerInformer.
func (v *version) NotificationManagers() NotificationManagerInformer {
return &notificationManagerInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Receivers returns a ReceiverInformer.
func (v *version) Receivers() ReceiverInformer {
return &receiverInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}