Scheduling is decharged of API Call Datacentering + charged of booking

This commit is contained in:
mr
2026-02-25 09:04:48 +01:00
parent c8b8955c4b
commit 29623244c4
10 changed files with 512 additions and 277 deletions

21
conf/config.go Normal file
View File

@@ -0,0 +1,21 @@
package conf
import "sync"
type Config struct {
KubeHost string
KubePort string
KubeCA string
KubeCert string
KubeData string
}
var instance *Config
var once sync.Once
func GetConfig() *Config {
once.Do(func() {
instance = &Config{}
})
return instance
}