Start working on web server (#2)

* Start working on web server

* Some restructure

* Serving static works

* Fix linter complaint

* Enable local dev

* Static files served fine

* Tidy
This commit is contained in:
Andrey Pokhilko
2022-08-23 13:46:11 +03:00
committed by GitHub
parent ee89611b81
commit 925cfa77dd
10 changed files with 178 additions and 728 deletions

16
pkg/dashboard/main.go Normal file
View File

@@ -0,0 +1,16 @@
package dashboard
import (
"helm.sh/helm/v3/pkg/release"
)
type DataLayer struct {
}
func (l *DataLayer) CheckConnectivity() {
// TODO: check that we can work with context and subcommands
}
func (l *DataLayer) ListInstalled() []*release.Release {
return nil // TODO
}