layer1: add namespace summary active helper

This commit is contained in:
Naeel
2026-04-26 11:46:47 +03:00
parent 2c5b5cee5e
commit 6417fd6476
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