Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppManagementConfigFilePath = filepath.Join(constants.DefaultConfigPath, "app-management.conf") AppManagementGlobalEnvFilePath = filepath.Join(constants.DefaultConfigPath, "env") RemoveRuntimeIfNoNvidiaGPUFlag = false )
View Source
var ( CommonInfo = &model.CommonModel{ RuntimePath: constants.DefaultRuntimePath, } AppInfo = &model.APPModel{ AppStorePath: filepath.Join(constants.DefaultDataPath, "appstore"), AppsPath: filepath.Join(constants.DefaultDataPath, "apps"), LogPath: constants.DefaultLogPath, LogSaveName: common.AppManagementServiceName, LogFileExt: "log", } ServerInfo = &model.ServerModel{ AppStoreList: []string{}, } // Global is a map to inject environment variables to the app. Global = make(map[string]string) DappsterOSGlobalVariables = &model.DappsterOSGlobalVariables{} Cfg *ini.File ConfigFilePath string GlobalEnvFilePath string )
Functions ¶
func InitGlobal ¶
func InitGlobal(config string)
func ReloadConfig ¶
func ReloadConfig()
func SaveGlobal ¶
func SaveGlobal() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.