Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RAUC_OFFLINE_PATH = "/DATA/rauc/" RAUC_OFFLINE_PATH = "/var/cache/casaos/offline/" RAUC_OFFLINE_RELEASE_FILENAME = "release.yaml" OFFLINE_RAUC_TEMP_PATH = "/tmp/offline_rauc" )
View Source
const InstallerConfigFilePath = "/etc/casaos/installer.conf"
Variables ¶
View Source
var ( CommonInfo = &CommonModel{ RuntimePath: "/var/run/casaos", } AppInfo = &APPModel{ LogPath: "/var/log/casaos", LogSaveName: common.InstallerServiceName, LogFileExt: "log", } ServerInfo = &ServerModel{ CachePath: "/var/cache/casaos", Mirrors: []string{ "https://raw.githubusercontent.com/IceWhaleTech/zimaos-rauc/main/", "https://casaos.oss-cn-shanghai.aliyuncs.com/IceWhaleTech/zimaos-rauc/", }, } Cfg *ini.File ConfigFilePath string )
View Source
var ( SysRoot = "/" // The file name of the rauc package // the name can be changed by file change RAUC_OFFLINE_RAUC_FILENAME = "rauc.tar" )
Functions ¶
Types ¶
type CommonModel ¶
type CommonModel struct {
RuntimePath string
}
type ServerModel ¶
Click to show internal directories.
Click to hide internal directories.