Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultDownloadDir = "/tmp" DefaultDownloadRateLimit = 1048576 // 1MB/s DefaultExtractDir = "golib-upgrade-svc-tmp" DefaultUpgradeDeployScriptPath = "bin/upgrade_deploy.sh" DefaultUpgradeStartScriptPath = "bin/upgrade_start.sh" DefaultHashAlgo = "xxh3" )
View Source
const DaemonTypeUpd boot.DaemonType = "upd"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cfg ¶
type Cfg struct {
DownloadDir string `` /* 166-byte string literal not displayed */
DownloadRateLimit int `` /* 145-byte string literal not displayed */
ExtractDir string `` /* 284-byte string literal not displayed */
UpgradeDeployScriptPath string `` /* 281-byte string literal not displayed */
UpgradeStartScriptPath string `` /* 302-byte string literal not displayed */
HashAlgo string `` /* 174-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.