feature: add registry watcherStatus endpoint (#913) (#915)

Co-authored-by: Kent Dong <ch3cho@qq.com>
This commit is contained in:
韩贤涛
2024-04-24 10:39:41 +08:00
committed by GitHub
parent e68b5c86c4
commit a787088c0e
6 changed files with 78 additions and 4 deletions

View File

@@ -162,3 +162,7 @@ func (w *watcher) generateServiceEntry(host string) *v1alpha3.ServiceEntry {
}
return se
}
func (w *watcher) GetRegistryType() string {
return w.RegistryConfig.Type
}