Documentation
¶
Overview ¶
Package update provides the update functionality for the server.
Index ¶
- Constants
- func DisableGPUdSystemdUnit() error
- func EnableGPUdSystemdUnit() error
- func PackageUpdate(targetPackage, ver, baseUrl string) error
- func RequireRoot() error
- func RestartGPUdSystemdUnit() error
- func StopSystemdUnit() error
- func Update(ver, url string) error
- func UpdateOnlyBinary(ver, url string) error
Constants ¶
View Source
const (
DefaultUpdateURL = "https://pkg.gpud.dev/"
)
Variables ¶
This section is empty.
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 RequireRoot ¶
func RequireRoot() error
func RestartGPUdSystemdUnit ¶ added in v0.4.5
func RestartGPUdSystemdUnit() error
func StopSystemdUnit ¶
func StopSystemdUnit() error
func UpdateOnlyBinary ¶ added in v0.4.4
Updates the gpud binary by only downloading the tarball and unpacking it, without restarting the service or requiring root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.