Documentation
¶
Overview ¶
Package update provides the update functionality for the server.
Index ¶
- Constants
- Variables
- func DisableGPUdSystemdUnit() error
- func EnableGPUdSystemdUnit() error
- func PackageUpdate(targetPackage, ver, baseUrl, dataDir string) error
- func RestartGPUdSystemdUnit() error
- func StopSystemdUnit() error
- func UpdateExecutable(targetVersion string, url string, requireRoot bool) error
- func UpdateTargetVersion(versionFile string, autoExitCode int) error
Constants ¶
View Source
const DefaultUpdateURL = "https://pkg.gpud.dev/"
Variables ¶
View Source
var DefaultVersionFile = config.VersionFilePath(config.DefaultDataDir)
Functions ¶
func DisableGPUdSystemdUnit ¶ added in v0.4.5
func DisableGPUdSystemdUnit() error
func EnableGPUdSystemdUnit ¶ added in v0.4.5
func EnableGPUdSystemdUnit() error
func PackageUpdate ¶ added in v0.4.4
func RestartGPUdSystemdUnit ¶ added in v0.4.5
func RestartGPUdSystemdUnit() error
func StopSystemdUnit ¶
func StopSystemdUnit() error
func UpdateExecutable ¶ added in v0.6.0
UpdateExecutable updates the GPUd binary executable itself.
func UpdateTargetVersion ¶ added in v0.7.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.