- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RemoveAllBucketTargets (0.2 sec)
-
cmd/event-notification.go
func (evnot *EventNotifier) RemoveNotification(bucketName string) { evnot.Lock() defer evnot.Unlock() delete(evnot.bucketRulesMap, bucketName) } // RemoveAllBucketTargets - closes and removes all notification targets. func (evnot *EventNotifier) RemoveAllBucketTargets() { evnot.Lock() defer evnot.Unlock() targetIDSet := event.NewTargetIDSet() for k := range evnot.targetList.TargetMap() { targetIDSet[k] = struct{}{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/signals.go
if globalBrowserEnabled { if srv := newConsoleServerFn(); srv != nil { shutdownLogIf(context.Background(), srv.Shutdown()) } } if globalEventNotifier != nil { globalEventNotifier.RemoveAllBucketTargets() } return true } for { select { case err := <-globalHTTPServerErrorCh: shutdownLogIf(context.Background(), err) exit(stopProcess()) case osSignal := <-globalOSSignalCh:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0)