layer1: add namespace summary active helper

This commit is contained in:
Naeel
2026-04-26 11:46:47 +03:00
parent 9f0e911b9d
commit fed69da335
3 changed files with 29 additions and 0 deletions
+4
View File
@@ -81,6 +81,10 @@ type NamespaceManagerSummary struct {
Subscribers []string
}
func (summary NamespaceManagerSummary) HasActiveNamespaces() bool {
return summary.LiveNamespaces > 0
}
type ManagedNamespaceWatcherConfig struct {
Component string
Namespaces []string