config

package
v0.4.2-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppManagementConfigFilePath = "/etc/casaos/app-management.conf"
)

Variables

View Source
var (
	CommonInfo = &model.CommonModel{
		RuntimePath: "/var/run/casaos",
	}

	AppInfo = &model.APPModel{
		DBPath:       "/var/lib/casaos",
		AppStorePath: "/var/lib/casaos/appstore",
		AppsPath:     "/var/lib/casaos/apps",
		LogPath:      "/var/log/casaos",
		LogSaveName:  common.AppManagementServiceName,
		LogFileExt:   "log",
	}

	ServerInfo = &model.ServerModel{
		ServerAPI:    "https://api.casaos.io/casaos-api",
		AppStoreList: []string{"https://github.com/IceWhaleTech/CasaOS-AppStore.git"},
	}

	CasaOSGlobalVariables = &model.CasaOSGlobalVariables{}

	Cfg            *ini.File
	ConfigFilePath string
)

Functions

func InitSetup

func InitSetup(config string)

func SaveSetup

func SaveSetup(config string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL