Display forced namespace in UI

This commit is contained in:
Andrei Pohilko
2022-11-06 16:16:36 +00:00
parent 671fa949df
commit f897c0f197
5 changed files with 21 additions and 15 deletions

View File

@@ -26,14 +26,15 @@ type DataLayer struct {
Helm string
Kubectl string
Scanners []Scanner
VersionInfo *VersionInfo
StatusInfo *StatusInfo
Namespace string
}
type VersionInfo struct {
CurVer string
LatestVer string
Analytics bool
type StatusInfo struct {
CurVer string
LatestVer string
Analytics bool
LimitedToNamespace string
}
func (d *DataLayer) runCommand(cmd ...string) (string, error) {